packages in python

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 57

  • @jamesferguson5233
    @jamesferguson5233 2 года назад +3

    Straightforward, clear, and so very helpful...72 year old hobbyist appreciates this video!

  • @Divyaakula-j5l
    @Divyaakula-j5l 4 месяца назад

    Practically clear explanation sir. Thank you so much sir

  • @codenameRicc
    @codenameRicc Год назад +1

    Thats why INDIAN are the Greatest.

  • @viswanadhapallapothu2342
    @viswanadhapallapothu2342 4 года назад +1

    So nice bro your explanation is too good

  • @mindset873
    @mindset873 5 лет назад +3

    many thanks for giving fully understand of it.
    I highly appreciate to someone'need.

  • @mjkh1523
    @mjkh1523 3 года назад +1

    thanks bhai Its really helpful to me

  • @Ashok.buddhya
    @Ashok.buddhya 4 года назад +2

    Thank you bro it's really very help full

  • @flyingdutchman773
    @flyingdutchman773 4 года назад +5

    I am curious about that file at 8:42......'What Happens When You Try To Steal A R......."

  • @b_95_ankitaroy18
    @b_95_ankitaroy18 4 года назад +12

    3:12 . The Function na is tuan_second() but while you call it at 4:50 when you call tuna.second() . It should throw an error right? Tuna_Second() function does not exist.

    • @albratossk7030
      @albratossk7030 3 года назад

      Ya same question i have!! When did you go and fix that spelling error of tuan for tuna?

    • @GIT_Somya
      @GIT_Somya 3 года назад

      @@albratossk7030 yes yes I noticed the same too

    • @jabringmann
      @jabringmann 3 года назад +3

      @@GIT_Somya Watch the runtime. it skips forward 1 or 2 minutes

  • @kishor-jena
    @kishor-jena 4 года назад +2

    Thank you so much bro.. Finally, i fully understood.

  • @dasaritejaswaroop5755
    @dasaritejaswaroop5755 3 года назад +1

    Good explanation Bro

  • @vipinsharma9595
    @vipinsharma9595 6 лет назад +3

    Very well explained. One can also define list of sub modules to import in __init__.py file.

  • @maziarghorbani
    @maziarghorbani 6 лет назад +1

    Great video and explanation. Thanks

  • @swakal8868
    @swakal8868 4 года назад +2

    Why did you stopped making videos boy??
    you explain awesome. Make videos at least in this quarantine time.

  • @pournimajangle8071
    @pournimajangle8071 3 года назад

    easy to understand. very nice video

  • @anilpillai9180
    @anilpillai9180 5 лет назад +1

    Very good Explanation

  • @sumitsonar5683
    @sumitsonar5683 3 года назад

    Thank you u explained in the easiest way🤗😍

  • @RTXzenith
    @RTXzenith 5 лет назад +2

    Thanks a lot bud🥰

  • @arekuti
    @arekuti 2 года назад

    well explained

  • @PradeepSingh-zc6qp
    @PradeepSingh-zc6qp 3 года назад +1

    Thank you very much sir

  • @program_gowtham
    @program_gowtham 5 лет назад

    really great super...

  • @ranjeet659
    @ranjeet659 4 года назад

    Very informative

  • @MANPREETKAUR-ue7pl
    @MANPREETKAUR-ue7pl Год назад

    Thank you soooooooooo much bro

  • @palakeetivikas2569
    @palakeetivikas2569 4 года назад

    why cant we just call just file name like first or second just (import first - will it display )

  • @trinhhuynhuc8962
    @trinhhuynhuc8962 4 года назад

    The video is good

  • @abullaisbasheer9982
    @abullaisbasheer9982 4 года назад

    Thanks , video is easy for understanding, Where i can get ready made package download

  • @pavankumargurrala7216
    @pavankumargurrala7216 5 лет назад

    You are Amazing.

  • @RushikaP
    @RushikaP 4 года назад

    Thanks sir 😊

  • @dhirajkumarsahu999
    @dhirajkumarsahu999 5 лет назад +1

    Thank you!

  • @palakeetivikas2569
    @palakeetivikas2569 4 года назад

    how can we remeber if there are many packages and callinf all them (first.tuna.......)

  • @rishikarreddy3546
    @rishikarreddy3546 4 года назад

    If we try to import python_package from python shell it doesn't work
    Why

  • @BoxerDogs
    @BoxerDogs 4 года назад +2

    What is the exact difference between a library and a package? Some people say they are the same. Others say they are basically the same. Basically the same implies that there are still some differences.
    So what is the difference between a library and a package? What do they contain?

    • @easycoding591
      @easycoding591  4 года назад +2

      A module is a set of functions, types, classes, ... put together in a common namespace.
      A library is a set of modules which makes sense to be together and that can be used in a program or another library.
      A package is a unit of distribution that can contain a library or an executable or both. It's a way to share your code with the community.

  • @shanmugapriyanm3424
    @shanmugapriyanm3424 5 лет назад +1

    Thank you

  • @Mycomoda
    @Mycomoda 4 года назад

    thank you for your video it was so clear and helpful

  • @scienceblossom6197
    @scienceblossom6197 5 лет назад

    great! thank you.

  • @maheshkr2161
    @maheshkr2161 4 года назад +2

    how to import modules from different modules which are in different package all together, one way I know is executing at main root directory, is there any best way? thank you.

    • @easycoding591
      @easycoding591  4 года назад

      Add a file __init__.py (can be blank) to folders files, folder1 and folder2. Then you got a package files with sub-packages folder1 and folder2. After this you can import from the main.py like this
      from files.folder1 import *

  • @yuvrajsinghyadav1608
    @yuvrajsinghyadav1608 4 года назад

    How to import all the module ,can we use import *

  • @TheProblemSolvers38
    @TheProblemSolvers38 4 года назад

    Bro even though I kept .py extension it is still a text document...can anyone help me

  • @prathamgupta7323
    @prathamgupta7323 5 лет назад

    What was the use of init file?

  • @radhadevi3878
    @radhadevi3878 5 лет назад

    I am executing without __init__ also the output was coming for me ???

    • @easycoding591
      @easycoding591  5 лет назад +1

      When you do import X and python finds a folder called X in a folder on your sys.path then it will look in that folder for an __init__.py to be considered the top level module.
      (Note that if the package is not on your sys.path then you would need to appendit's location to be able to import it.)
      If that is not present it will look for a __init__.pyc version possibly in the __pycache__ folder, if that is also missing then that folder X is not considered a loadable python package. If no other options for foo are found then an ImportError is raised.

  • @shiv_-_-_-_-_-
    @shiv_-_-_-_-_- 4 года назад

    Mera save nahi ho raha

  • @khachaturghalmukhyan4943
    @khachaturghalmukhyan4943 4 года назад

    Thank you

  • @virajpasare5535
    @virajpasare5535 2 года назад

    Thank you