+ 13
For more info check the official documentation
https://docs.python.org/3/tutorial/modules.html
+ 8
@Lunar you're right. updated the URL.
+ 6
just create a file with the module name:
eg. module.py
then import it in any other program:
eg. import module
+ 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.
+ 5
And in Ruby.
+ 3
it is easy to implement then java or any other languages
+ 2
is python is easy to understand or learn or very difficult.