I want to pass a variable to os.system which is dir
>>> dir=raw_input ("Dir Please ")
Dir Please /
ok dir = /
>>> os.system ("ls"  + dir)
sh: ls/: No such file or directory
32512

any advice 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to