I created a module called parameter.py and wanted to import it using sys.argv as shown below.
import sys
from sys.argv[1] import *
But when I run the python file I get the following error:
python test.py parameter
File "test.py", line 17
from sys.argv[1] import *
^
SyntaxError: invalid syntax
Why doesn't it work and what else can I do to make it work?