Re: define variables in the txt file using python

2016-10-08 Thread Peter Otten
Xristos Xristoou wrote: > Τη Σάββατο, 8 Οκτωβρίου 2016 - 12:25:28 π.μ. UTC+3, ο χρήστης Xristos > Xristoou έγραψε: >> hello >> >> >> i have one .txt file and i want to create python script with sys.argv or >> argparse or other package to define some variables in the txt file and i >> take some r

Re: define variables in the txt file using python

2016-10-08 Thread Xristos Xristoou
Τη Σάββατο, 8 Οκτωβρίου 2016 - 12:25:28 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > hello > > > i have one .txt file and i want to create python script with sys.argv or > argparse or other package to define some variables in the txt file and i take > some result. > > > > txt file maybe

Re: define variables in the txt file using python

2016-10-08 Thread Peter Otten
Xristos Xristoou wrote: > hello > > > i have one .txt file and i want to create python script with sys.argv or > argparse or other package to define some variables in the txt file and i > take some result. > > > > txt file maybe like this : > > input number 1= %var1% > input number 2= %var2%

Re: define variables in the txt file using python

2016-10-07 Thread dieter
Xristos Xristoou writes: > i have one .txt file and i want to create python script with sys.argv or > argparse or other package to define some variables in the txt file and i take > some result. > > txt file maybe like this : > > input number 1= %var1% > input number 2= %var2% > result = %vresul

define variables in the txt file using python

2016-10-07 Thread Xristos Xristoou
hello i have one .txt file and i want to create python script with sys.argv or argparse or other package to define some variables in the txt file and i take some result. txt file maybe like this : input number 1= %var1% input number 2= %var2% result = %vresult(var1-var2)% how can i write a