+ 1
How can I create my own python module?(a module like random or socket)
3 Answers
+ 9
You just have to make a regular .py file, put it in the same folder as your program, then import the module by its name, without the .py.
+ 1
Thank you HonFu
+ 1
I am also playing with this concept.
A few examples attached.
These are not as good as the import modules or embedded functions
https://code.sololearn.com/cZP2JtwtnSo4/?ref=app
https://code.sololearn.com/c6Tu4Axj7g2n/?ref=app
https://code.sololearn.com/cDZ51gwHK398/?ref=app