I read that you can execute a file using import
like this
file.py:
#!/usr/bin/env python
import file2
file2.py:
#!/usr/bin/env python
print "Hello World!"
And file.py will print Hello World
. How would I execute this file with arguments, using import
?