[Tutor] put?
Ross Glover
ross at ross.mayfirst.org
Thu May 1 09:51:44 CEST 2008
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.
More information about the Tutor
mailing list