help fast question

djw dwelch91 at comcast.net
Fri Jul 16 20:53:26 EDT 2004


Alex Endl wrote:
> Ok i took an intro to programming class in school, and decided to work on
> python in the summer.
> 
> 
> a few thing
> 
> 1)how do I make a variable a random #  a = randint(1,5)
>      seems logical, but i cant find a directory of commands to figure it
> out.

http://docs.python.org/lib/module-random.html

> 
> 2)i cant find much info on sockets, and thats a big reason i want to
> program.  what im trying to figure out is something that goes to a website,
> picks up some specified text, and shows it on the screen.   is this
> possible?
> 
> 

http://docs.python.org/lib/module-socket.html
http://docs.python.org/lib/module-httplib.html
http://docs.python.org/lib/module-HTMLParser.html





More information about the Python-list mailing list