I have a python script that includes some data:
-My_Directory/Data.py:
Parameter=10
I also have a Main.py
script, in which the Data.py
should be called many times:
My_Directory/Main.py
call the Data.py to access parameter
Manipulating and changing parameter
Some Code Here
call the Data.py to access parameter
Manipulating and changing parameter
How should I write the Main.py
script to do the task?
I am very new to python and it is hard for me to follow the other similar posts. Would someone please answer this question?