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
@umerkhan-kv9gd Жыл бұрын
Thnx bro
@mrsmile4528 Жыл бұрын
Bro thnx you are jenious😊
@Codeyug Жыл бұрын
Welcome 😊
@SandhyaMaurya-i7z2 ай бұрын
Biggest advantage for us is no need to search for another utube channel..,sir completed whole python from basic to advance. 😢
@123gungun-qp7sf Жыл бұрын
Super clear I understand the topic crystal clearly
@Codeyug Жыл бұрын
Thanks and please check my latest video
@ukuttamraj83584 ай бұрын
Kya explain Kiya h sir apne😊
@augustinegomes5228 Жыл бұрын
helpfull video brother keep it up
@Codeyug Жыл бұрын
Thanks. Please share playlists.
@jagdeepsinghthakur8871 Жыл бұрын
Thank you sir
@Codeyug Жыл бұрын
Check playlists please...
@THEWORLDA2Z-to7kg10 ай бұрын
super bro
@Codeyug10 ай бұрын
Thanks!
@musiccamp18772 жыл бұрын
Thanks a lot
@Codeyug2 жыл бұрын
Follow oop and advanced python playlist
@ashwinimahajan2998 Жыл бұрын
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 Жыл бұрын
Please Send me the program over linked in or mail id.. You can check in about section.
@kcvinu Жыл бұрын
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 Жыл бұрын
Whatever you are doing, it should work. Instead of appending, try adding path in environment variables.
@kcvinu Жыл бұрын
@@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 Жыл бұрын
@@kcvinu please send me screenshots on instagram..i will try to help there. Else, will schedule a meeting.
@kcvinu Жыл бұрын
@@Codeyug Okay, Please give your insta ID.
@aartipawar22592 жыл бұрын
Sir mujye datafetch karna hai COVID 19 ka or usmaise death cases chahiye ye bathai sir pls 🙏🙏
@Codeyug2 жыл бұрын
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
@SandhyaMaurya-i7z2 ай бұрын
Sir ,modules ke full playlist de digiye,unable to find?
@Codeyug2 ай бұрын
@@SandhyaMaurya-i7z hi Sandhya..please check my python playlist. You will get all videos there
@SandhyaMaurya-i7z2 ай бұрын
@@Codeyug ok sir.
@earth_19432 жыл бұрын
What is the use of If __name__:'__main__'. Please tell me.
@Codeyug2 жыл бұрын
kzbin.info/www/bejne/b6mXaamBYrZ2nLs
@마이배뷔2 жыл бұрын
how to do it in pycharm ide,im so confused:(
@Codeyug2 жыл бұрын
Same... Pycharm is nearly same as vscode.
@g.karthikeyakarthikeya41172 жыл бұрын
We don't want modules in python we asked import module from a package
@soni_g Жыл бұрын
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 Жыл бұрын
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..