Re: [Tutor] Need some help on output

2011-03-04 Thread David Hutto
That depends on what your motivation is for learning python. I'd start with a few hello world tutorial online. like print "hello world"/ python 3.0 print("hello world"), and on that not, decide on the version you want to use on your system first. ___ Tuto

Re: [Tutor] Need some help on output

2011-03-04 Thread Gaurav Malhotra
I am beginner...I want to know best book to start with when it comes with python programming ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Need some help on output

2011-03-03 Thread Becky Mcquilling
Thanks, that helped. I took a second look and realized where I had tried calling the .strip() method was wrong. Appreciate the pointer. Becky On Thu, Mar 3, 2011 at 5:37 PM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com> wrote: > On Fri, Mar 4, 2011 at 6:48 AM, Becky Mcquilling > wrote: >

Re: [Tutor] Need some help on output

2011-03-03 Thread Kushal Kumaran
On Fri, Mar 4, 2011 at 6:48 AM, Becky Mcquilling wrote: > I am creating a dictionary by parsing a text file. > > The code is below: > backup_servers = {} > fo = open('c:/test/backup_shares.txt') > for line in fo: >   backup_server = line.split(',') >   backup_servers[backup_server[0]]=backup_serve