reading from a text file

baboucarr sanneh sanneh27 at hotmail.com
Fri Nov 27 01:08:57 CET 2009


hi all

i would like to create a python program that would read from a text file and returns one result at random.
e.g
in the text file i have these data

1.hello
2.my name
3.is
4.World

Your help is highly appreciated..thnx in advance

$LIM $H at DY

 		 	   		  
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091127/8c7fe42d/attachment.html>


More information about the Python-list mailing list