Re: [Tutor] Dictionary Inserts...

2005-05-05 Thread Eric Culpepper
Here's some quick examples: >>> dictMe = {} >>> dictMe['SomeKey'] = 'SomeValue' >>> dictMe {'SomeKey': 'SomeValue'} >>> dictMe[1] = 100 >>> dictMe {1: 100, 'SomeKey': 'SomeValue'} >>> type(dictMe) Section 5.5 of the Python tutorial covers dictionaries a little more in depth. http://docs.python.o

RE: [Tutor] Acessing files in Windows 2000

2005-03-08 Thread Eric Culpepper
Try something like this (change the username to the user you're logged in as, or Administrator if that's how you're logged in): c:\\documents and settingsmy documents\\memo.txt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave S Sent: Tuesday, Marc

RE: [Tutor] getting a webpage via python

2005-03-08 Thread Eric Culpepper
tplib.html http://docs.python.org/lib/module-urllib2.html http://wwwsearch.sourceforge.net/mechanize/ Good luck. Eric Culpepper [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Tremblay Sent: Tuesday, March 08, 2005 10:21 AM To: python tutor