Re: [Tutor] os.system() with imbeded quotes

2013-04-04 Thread Kushal Kumaran
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

[Tutor] os.system() with imbeded quotes

2013-04-04 Thread cevyn e
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.