How Import Works In Python? | Python Tutorials For Absolute Beginners In Hindi #45

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

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

  • @darshann812
    @darshann812 4 года назад +95

    I want to meet you once in a life for thanking you ❤️ for teaching us free and in best way ever 🙏🙌

    • @ShivamKumar-vv2op
      @ShivamKumar-vv2op 3 года назад +8

      Aaja bhai Rampur (Uttar Pradesh). Wahi rehte hn Harry Bhai.

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

      Mee too

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

      @@ShivamKumar-vv2op rampur kis jgah ???
      Mai bhi Rampur ka hi rehne wala hu

    • @umar7182
      @umar7182 2 года назад +2

      I NEED HELP.
      when i write "import from file2" and then "file2.a"
      a value is 10 but after calling file2.a, the program runs everything inside file2.
      for example if i have written some print function in file2 then after calling file2.a, the program will also run that print function even when i didnt call it.
      Anyone know why it happens?

    • @thoropyt9955
      @thoropyt9955 Год назад

      @@ShivamKumar-vv2op lol mara ghar sa bass 5 hour duur :D

  • @yashrajtavrech8228
    @yashrajtavrech8228 4 года назад +47

    Kush Raho Abaad Raho Chaahe Delhi Raho Yaa Hydrabad Raho

  • @vijitkumawat2874
    @vijitkumawat2874 3 года назад +19

    the way you teach dude...... is fab......even the paid teachers can not compete with you 😂😂

  • @yasirali714
    @yasirali714 2 года назад +12

    In 2022 still this playlist working for me ,,,,thankU Brother

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

    Best teacher ever ❤

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

    You are very honest and hard-working sir ji

  • @sahilkumar-xn9yy
    @sahilkumar-xn9yy 5 лет назад +5

    sr ji u r the rajnikant of python ....

  • @RahulRoychand
    @RahulRoychand 5 лет назад +6

    Thank Harry bhai Great job👍👍

  • @harshitachaurasia1246
    @harshitachaurasia1246 4 года назад +25

    Thank you so much for this tut
    It is very helpful :)

    • @RK-oe4vt
      @RK-oe4vt 4 года назад

      ruclips.net/video/DnvDB8-QsBw/видео.html

  • @poojadangi8030
    @poojadangi8030 2 года назад +1

    best teacher forever
    I am child form 10 year and I am in between

  • @priyanshupurohit5431
    @priyanshupurohit5431 Год назад

    I am on revision round really enjoying

  • @HariomSingh-ei4fb
    @HariomSingh-ei4fb 3 года назад +1

    This video tutorial is very very helpful😎

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

    Aap jaisa mahaan koi nahi

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

    Waah Waah ka shayari hai!

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

    Thanks very wonderful python tutorial

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

    Thank you brother, this video really helped me!

  • @khadimhusen
    @khadimhusen 6 лет назад +7

    Thank you for this tutorial

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

    Best explanation ever.

  • @Abhishek-iq1es
    @Abhishek-iq1es 3 года назад +1

    Informative,Thank You

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

    I want to thank you for teaching us python for free

  • @deepaktiwari-ry9yo
    @deepaktiwari-ry9yo 6 лет назад +1

    Bahut badhiya...

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

    GOOD Morning harry bhai

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

    11:25 wah kya plan he sir lol....

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

    super ho sir ap bhut ache video h sir apke

  • @mahmudulhussain5401
    @mahmudulhussain5401 6 лет назад +4

    Cong for 4k sub bhai

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

    Great tutorial thanks bhai

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

    Harry bhai you are awesome

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

    bhai hum hi woo insan hai jo aapki saari baato ko sun lete hai
    aur apply karte hai

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

    Harry bhai love you

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

    Harry bhai op!

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

    Bestest explanation 👍🏻👍🏻

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

    thanku bhaiya for this video....

    • @RK-oe4vt
      @RK-oe4vt 4 года назад

      ruclips.net/video/DnvDB8-QsBw/видео.html

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

    Plse make video on roadmap of how to become a python developer

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

    Thankyou so much sir❤️

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

    big fan of you!!!!!

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

    Sir, How to use newline or endl in f-string????

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

    harry bhi love from pakistan

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

    Thank you so much

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

    Can u use black theme for editor 🙏

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

    time module makes so much sense now sheeeeeeeeeeesh

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

    Bhai plzz stockmarket ki algo banane ki series bana do🙏🙏🙏

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

    bhai bht shandar

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

    Thankyou ❣️✨

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

    Sir muje module not found ka error deta ha if I import file2 krre ha to

  • @cdexzswzaqME
    @cdexzswzaqME Год назад

    when do we use :
    import something as something
    plz explain what is the deal of using 'as' there

  • @simrankukreja6660
    @simrankukreja6660 2 года назад +2

    Love the way you teach..could you suggest a nice website to practise coding?

  • @nizami96
    @nizami96 Год назад

    my window power shell recomend scikit-learn instead of sklearn and when i install scikit-learn it show me sklearn packg in pycham but its not showing the same results .specially this RandomForestClassifier() function output and also not importing file2 as well..
    please need help to understand !!!

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

    Thanks bhai

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

    6:27 Look at the pic of the video of time module 🤣🤣🤣🤣

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

    when i run at 4:43 it is giving out put as: RandomForestClassifier() wat might be the wrong here?

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

      Me too! Same output!

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

      @@deepagusain8944 wat might be the reason?

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

      aapne quotes ke ander daala hoga RandomForestClassifier() ko

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

      @@shwetazade1493 same problem muje bi ho rahi h sklearn install nahi ho rahi h or erro show ho raha j

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

    god bless you!

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

      anaconda me work ni krega yeh?

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

    Haris bhai kitna tagra background hai aapka bhai iitian hai or 4 countries return like usa and uk.. Waah bhai waah... Facebook pe friend request send kari hai 'Sanoj Prasad' ke naam se accept kar lena bhai ok..

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

    Java me python module import kar kaise likhe and Android app banana hai sir please

  • @akshat..6660
    @akshat..6660 2 года назад

    thanks🎈

  • @himanshusharma-es4mw
    @himanshusharma-es4mw 3 года назад

    0:30 what is the name of the intro music

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

    bhai end mein shayari ne dil jeet liya 😂👌

  • @PrinceKumar-kr5ig
    @PrinceKumar-kr5ig 5 лет назад +1

    Awesome

  • @muhammadusmanakram406
    @muhammadusmanakram406 6 лет назад +5

    module or package m kiya difference h???

    • @RK-oe4vt
      @RK-oe4vt 4 года назад

      Subscribe my channel RK1470 diff between module and package. ruclips.net/video/DnvDB8-QsBw/видео.html

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

      A module is a single file (or files) that are imported under one import and used. ... A package is a collection of modules in directories that give a package hierarchy.

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

    file1: from temp import a
    print(a)
    file2(temp.py): a = 7
    print("Hello")
    output of file1 why this--?
    Hello
    7

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

      Check his next video.
      He explained this in the next video.

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

      me also having same problem. even when i just call file2.a it runs everything written on file2

  • @RohanDasRD
    @RohanDasRD 6 лет назад +17

    Kush Raho Abaad Raho Chaahe Delhi Raho Yaa Hydrabad Raho! Hahaha Bhai!

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

      ab bhaiyya kashmir wale kya karinge?????????

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

      @@kazimali9727 sab khush rahenge bhai 💖

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

      @@kazimali9727 convert

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

    Thnxx bhai

  • @v4389
    @v4389 4 года назад +4

    Hi Harry, are you planning to post any videos on data processing with Python, connecting to Database? Thanks, V

    • @ShivamKumar-vv2op
      @ShivamKumar-vv2op 3 года назад

      have you got any resource upon data processing with Python, connecting to Database? Please share if you get it.

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

    Harry buy can u tell me that only we can import python files or we can import text files

  • @Breath_taking
    @Breath_taking 6 лет назад +5

    Me reh gia pechy sir😖

  • @AmirKhan-tk4zl
    @AmirKhan-tk4zl 3 года назад

    Tell me this libaray.
    From main import PSOxbackpro
    When I import this ... It gives error.

  • @aryangrover7216
    @aryangrover7216 5 лет назад +4

    Sir error derha wo when I write import sklearn as sk print(sk.__version__) It is showing the error in line 75 and some more too but when I go to Window Power Shell Admin then I write pip install sklearn but then it is shows Requirement already satisfied. Harry Bhai plz solve the problem.

    • @38_gauravkondhalkar26
      @38_gauravkondhalkar26 3 года назад +1

      bhai pycharm me niche terminal likha hai waha pe pip install karo

    • @sankalpnaik877
      @sankalpnaik877 2 года назад +1

      @@38_gauravkondhalkar26 how can u plzz tell

    • @38_gauravkondhalkar26
      @38_gauravkondhalkar26 2 года назад

      @@sankalpnaik877 wait

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

      @@sankalpnaik877 there is terminal option at the bottom of paycharm.
      write pip install "package name" there

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

      @@38_gauravkondhalkar26 bhai uska version 0.0 dekha raha

  • @AjayKumar-ix3rj
    @AjayKumar-ix3rj 5 лет назад +2

    Simply
    from file2 import a as f2
    from file3 import a as f3

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

    sir jab powershell se module install krte hai to use python m kse import kse kre kyu ki sklearn ya pandas install krte hai to ye successfully download ho jata hai par error dikhata hai jab import krte hai to please help kre.

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

    harry bhai python main chess library install or import kaise krte hai
    us par ek video bna do

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

    I NEED HELP.
    when i write "import from file2" and then "file2.a"
    a value is 10 but after calling file2.a, the program runs everything inside file2.
    for example if i have written some print function in file2 then after calling file2.a, the program will also run that print function even when i didnt call it.
    Anyone know why it happens?

  • @ict.nitesh24
    @ict.nitesh24 3 года назад

    OP shayari 😂💥

  • @deepaksandhu4915
    @deepaksandhu4915 4 года назад +4

    sir, jab from file2 likha h to file3 ka a kese import ho sakta h

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

    harry bhi sklearn install kiya ha magar import nhi ho raha error kar raha ha ky karo
    ap ka videos dakhna start kiya hai aur python start kiya ha abi

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

    @CodeWithHarry
    bro, when I copy my existing python files to a new project in Vscode & when I try to import them it does not work. I tried searching online but couldnt get through.
    Could you please help!

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

    I was laughing 😂😀 whole video

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

    Harry bhai please also serialize video provide me and Rest API Video

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

    thanks

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

    SIR is pycharm heaver than the vscode because of pycharm my computer has bluescreenerror/it was bumpying

  • @AnshulYadav-tz6jp
    @AnshulYadav-tz6jp 4 года назад

    wo sab to thik hai Harry bhai, but i am not able to install sklearn, it is showing a huge list of error in red text. Although i have installed psndas, matplotlib, flask successfully. please help me on it

  • @4ELEMENTS-Videos
    @4ELEMENTS-Videos 4 года назад +1

    Harry Bhai only .py file we can import or .txt file also?

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

      I have the same doubt! If anyone knows please comment down below

  • @pushpeshpant6603
    @pushpeshpant6603 Год назад

    how to import file 1 (including space)?

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

    I want to meet you once in my lifetime😊😊😍😍

  • @MohitKumar-yd5zp
    @MohitKumar-yd5zp 5 лет назад

    import function- sirf Primery function ko he import krta h uske secondry function ko nhi ,iske lia kya kre

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

    sir its good to make any person fool using module name for file

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

    Harry brother, please give me one solution, jab python me ham module install kar lete hai to usko har time program likhte vakt import kyu karna padta hi??????

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

      Module kuch nhi bas ek tara ka python code hota hai jo kisi aur na likha hai. Tum python ko bata ta ho ki tum us code ko apna code ma use kar rahe ho. Python sare module jo tumara computer ma install ha, ko nhi lata jab tak tum 'import' nhi karoga usa. Agar voh sare module ko ek code ma use karega toh tumara code ko load hona ma bhot time laga ga.

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

      @@prashasthnair9198 bhai ye%2 function kya hota hai Zara batao ge

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

      @@college6531 The % (modulo) operator yields the remainder from the division of the first argument by the second. The numeric arguments are first converted to a common type. A zero right argument raises the ZeroDivisionError exception. The arguments may be floating point numbers, e.g., 3.14%0.7 equals 0.34 (since 3.14 equals 4*0.7 + 0.34.) The modulo operator always yields a result with the same sign as its second operand (or zero); the absolute value of the result is strictly smaller than the absolute value of the second operand [2].

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

      @@prashasthnair9198 Thank you SO much

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

      @@college6531 No problem :)

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

    Sir, I am having error while running sklearn, i m unable to print the version as well as ensemble function

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

      install it first
      when you run the program there's tab named terminal go there and type
      pip install sklearn

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

      @@sewp032 Sir, I installed sklearn but then also, i am unable to print the sklearn version as well as ensemble function, can there be another problem?

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

      @@swayamagarwal6201 have u installed with pip or in ubuntu terminal like 'sudo apt install sklearn'
      If you've done the latter I'd insist you to use pip
      And do not forget to import the module

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

      @@sewp032 sir, I installed using pip, then I also imported the module

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

      Try resetting Pycharm default settings.
      File>Manage IDE settings>Restore default settings
      If it doesn't work then try reinstalling Pycharm and python. Make sure to save all of your files before reinstalling

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

    what is difference between package and module in python ?

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

      A module is a single file (or files) that are imported under one import and used. ... A package is a collection of modules in directories that give a package hierarchy.

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

    Write:
    import this
    In python to see a surprise

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

    Please someone help me updating version of module in powershell pip install sklearn==21.0.1 is showing error

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

    Hello Harry bhai
    Bhai ek error aa rha h bhai mene module install kr liya but fir bhi pycharm me vo module import nhi ho rha red underline aa rhi h

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

      you have to install in your pycharm too. so first go to pycharm and click on terminal and there write pip install sklearn

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

      @@aashmahumagain7400 ho gya solve error

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

      @@aashmahumagain7400 app ek baar python ko uninstall kr lo uske baad dubara install krna ho jaega solve error

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

    Can you tell how to install sklear?? The program you told in this video throws error.

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

    Bhai agar mai kuch or file import karta hu toh error ah raha hai srif directory hi import kar pa rhaa hu

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

    i am waching from bigning

  • @akashkumar-eh4bf
    @akashkumar-eh4bf 4 года назад

    yah sai hai comfort zone s bahar nikal raha hu aap bhe bahar nikal kar sunye ....Hhhaha :P

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

    Fourth issue baari subhah utke video dekhta Raha hu

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

    we can also do from file2 import *

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

    Bhai mera attribute error show ho raha h jab mai function ko import kar raha hu

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

    when typing import word, it does not show

  • @MohitKumar-yd5zp
    @MohitKumar-yd5zp 5 лет назад

    Sr mena ek function ko inport kia to vo to import ho rha h pr uska subfunction nhi

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

    howdya make ur intro?
    also, which editing software u using?
    naah who m i kidding... u ever gonna reply?