Importing Module in Python | Module in Python | Python Modules | Python Tutorial in Hindi

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • Importing Module in Python | Module in Python | Python Modules | Python Tutorial in Hindi
    This video is part of python tutorial for beginners in hindi.In this video, I have explained about modules in python.In this video,you will learn how to import module in python. There are different ways of importing module in python.Python provides lot of inbuilt modules. We just have to import those modules.
    queries covered:-
    1) importing module in python
    2) module in python
    3) python modules
    4) python tutorial for beginners in hindi
    5) How to create module in python
    Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.
    source code :-
    Thanks for watching this video
    Subscribe codeyug for more programming tutorials.
    bit.ly/3h3Bv0c
    About this channel:-
    This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.
    Our social links:-
    you tube:- bit.ly/3h3Bv0c
    instagram:- bit.ly/3mlspQu
    gmail :- shantanukejkar@gmail.com
    creator:-
    -----shantanu kejkar------
    #module,#python #python3 #codeyug #shantanukejkar #import #tutorial #pythonmodule

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

  • @KaranSinghD-yj9ep
    @KaranSinghD-yj9ep 2 года назад +9

    NOTES:
    1. WHAT IS MODULES?
    We use modules to break down large program into Small and manageable program.
    2. TYPES OF MODULES?
    BUILD IN MODULES
    USER DEFINED MODULES
    There are numbers of build in modules in python.
    And user defined modules are created by us.
    Saving the file with .py extension and if need later just use import keyword and file name .
    Important point :
    Never save a file name with module name .
    SYNTAX OF IMPORTING:
    import folder
    Import folder as f
    from folder import file
    from folder import *
    from folder import file, app,os
    Factorial of 5 ?
    5! = 5×4×3×2×1 = 120

  • @SandhyaMaurya-i7z
    @SandhyaMaurya-i7z 17 дней назад +1

    Biggest advantage for us is no need to search for another utube channel..,sir completed whole python from basic to advance. 😢

  • @mkmutentgaming
    @mkmutentgaming Год назад +4

    Dil khush kardiya itna acha samjate ho bhie

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

      Please do share..

  • @rahana504
    @rahana504 Год назад +2

    Thankuuuu sir. Explain so clearly
    😍😍

  • @ukuttamraj8358
    @ukuttamraj8358 2 месяца назад

    Kya explain Kiya h sir apne😊

  • @123gungun-qp7sf
    @123gungun-qp7sf Год назад +1

    Super clear I understand the topic crystal clearly

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

      Thanks and please check my latest video

  • @mrsmile4528
    @mrsmile4528 Год назад +2

    Bro thnx you are jenious😊

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

    helpfull video brother keep it up

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

      Thanks. Please share playlists.

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

    Hi Code-yug, assume that I have 2 python files and I want them in almost every python projects. How to import them in other projects ? Now I am using 'sys.path.append(path_to_my_special_files).

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

      Whatever you are doing, it should work. Instead of appending, try adding path in environment variables.

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

      @@Codeyug After watching your video about modules and PYTHONPATH, I've added an env var and set my project path there. But yet it's not working with normal import statement. I know the command line problem, so I restarted it but no luck.

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

      @@kcvinu please send me screenshots on instagram..i will try to help there. Else, will schedule a meeting.

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

      @@Codeyug Okay, Please give your insta ID.

  • @SandhyaMaurya-i7z
    @SandhyaMaurya-i7z 17 дней назад +1

    Sir ,modules ke full playlist de digiye,unable to find?

    • @Codeyug
      @Codeyug  17 дней назад

      @@SandhyaMaurya-i7z hi Sandhya..please check my python playlist. You will get all videos there

    • @SandhyaMaurya-i7z
      @SandhyaMaurya-i7z 17 дней назад

      @@Codeyug ok sir.

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

    After import the content in main module at the time of execution it give error name 'null' is not defined so how to execute the program

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

      Please Send me the program over linked in or mail id.. You can check in about section.

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

    Thank you sir

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

      Check playlists please...

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

    Thanks a lot

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

      Follow oop and advanced python playlist

  • @THEWORLDA2Z-to7kg
    @THEWORLDA2Z-to7kg 8 месяцев назад +1

    super bro

    • @Codeyug
      @Codeyug  8 месяцев назад

      Thanks!

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

    Sir mujye datafetch karna hai COVID 19 ka or usmaise death cases chahiye ye bathai sir pls 🙏🙏

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

      I am not sure.. But there is built in module. Check on internet.. And you can also fetch from websites by data scraping.. I am not much sure.. Please explore on internet

  • @g.karthikeyakarthikeya4117
    @g.karthikeyakarthikeya4117 2 года назад +2

    We don't want modules in python we asked import module from a package

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

    What is the use of
    If __name__:'__main__'.
    Please tell me.

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

      ruclips.net/video/9x48vK-QCfY/видео.html

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

    Sir math module ko print function m likhte h tbhi output aata h lekin jab user define module jese add function ko use krte h print function m to vo none return krta h esa kyu

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

      It depends on return type... Example, math module sqrt function square value return krta hai hence bahar tumhe use print krna padta hai. But, tumhara add function directly print kr rha hai..

  • @마이배뷔
    @마이배뷔 2 года назад

    how to do it in pycharm ide,im so confused:(

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

      Same... Pycharm is nearly same as vscode.

  • @마이배뷔
    @마이배뷔 2 года назад +1

    u havent return the arguments in function add

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

      Will check..thanks