On Tuesday, January 21, 2014 10:40:09 AM UTC-5, Peter Otten wrote:
> kevin...@gmail.com wrote:
>
>
>
> >> > How do I get the value of the config file variable "myVar"?? It seems
>
> >> > it's interpreting the variable name as a string rather than a variable
>
> >> > name. I don't see any pyt
On Tuesday, January 21, 2014 9:44:13 AM UTC-5, kevin...@gmail.com wrote:
> I have a python script that accepts two arguments:
>
> sys.argv[1] is the full directory path to a config script. The script is
> python but does not have a .py extension!
>
> sys.argv[2] is the file name of the config s
On Tuesday, January 21, 2014 10:06:16 AM UTC-5, MRAB wrote:
> On 2014-01-21 14:44, wrote:
>
> > I have a python script that accepts two arguments:
>
> > sys.argv[1] is the full directory path to a config script. The script is
> > python but does not have a .py extension!
>
> > sys.argv[2] is
I have a python script that accepts two arguments:
sys.argv[1] is the full directory path to a config script. The script is
python but does not have a .py extension!
sys.argv[2] is the file name of the config script
For example:
mainScript.py ./ a15800
The config script sets variables that I w