I'm new at Python. I created a program that (for example) prints the number.
So test.py is:
Now I have a program use.py and I want to use a() in it. How would I go about importing it (the import() method doesn't work). They're in the same folder on my desktop. I appreciate any help.
So test.py is:
Code:
def a(b):
print b
Comment