1 May 2008 09:51
put?
Ross Glover <ross <at> ross.mayfirst.org>
2008-05-01 07:51:44 GMT
2008-05-01 07:51:44 GMT
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 <at> python.org
http://mail.python.org/mailman/listinfo/tutor
RSS Feed