cevyn e writes:
> I get the example os.system('ls -al') no problem.
>
> i'm trying to create a variable with my command built but needs to include
> quotes.
> Portion of code is as follows:
> someip = '192.168.01.01'
>
> var1 = 'lynx -dump http://' + someip +
> '/cgi-bin/.log&.submit=+++G
I get the example os.system('ls -al') no problem.
i'm trying to create a variable with my command built but needs to include
quotes.
Portion of code is as follows:
someip = '192.168.01.01'
var1 = 'lynx -dump http://' + someip +
'/cgi-bin/.log&.submit=+++Go%21+++ > junk'
print var1
os.