+ 13
For more info check the official documentation https://docs.python.org/3/tutorial/modules.html
8th Dec 2017, 2:40 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 8
@Lunar you're right. updated the URL.
9th Dec 2017, 2:58 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 6
just create a file with the module name: eg. module.py then import it in any other program: eg. import module
8th Dec 2017, 2:00 PM
Chinmay Mishra
Chinmay Mishra - avatar
+ 5
@Ranjan May I suggest using Python 3 docs next time? Just change the '2' in the URL to a '3' and it'll be more up to date.
9th Dec 2017, 2:56 PM
LunarCoffee
LunarCoffee - avatar
+ 5
And in Ruby.
16th Dec 2017, 2:13 PM
Wensley
Wensley - avatar
+ 3
it is easy to implement then java or any other languages
8th Dec 2017, 2:03 PM
Chinmay Mishra
Chinmay Mishra - avatar
+ 2
is python is easy to understand or learn or very difficult.
8th Dec 2017, 2:01 PM
Arpan Kanwer