Hi, I'm just learning python (as a first language) and I wrote this little snippet (cribbed from a website). I'm wondering what 'put' is and how it's used. I cannot seem to find much about it.

word = raw_input("enter your word >>")
put, get=os.popen4("dict -d wn " + (word))
for lines in get.readlines():
    print lines

thanks,

ross

--
If you know what you're doing, you must not be 'doing' a dissertation.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to