[Tutor] Excited about python

2011-06-10 Thread Kaustubh Pratap chand
Hello, I just joined this mailing list so that i can boost up my learning of python.I come from a C background so python looks a little strange to me but it is easier to learn then any other languages around.Yet,i have not been able to find any cool books on python for peoples who are already p

Re: [Tutor] Excited about python

2011-06-10 Thread Kaustubh Pratap chand
Thanks I liked the tutorial very much. - Original Message - From: Patty Sent: 06/10/11 10:21 AM To: Kaustubh Pratap chand, tutor@python.org Subject: Re: [Tutor] Excited about python - Original Message - *From:* warr...@programmer.net *To:* tutor@python.org *Sent:* Friday

[Tutor] Printing RAW string

2011-06-10 Thread Kaustubh Pratap chand
How i can print the string in raw...as it is s="hello world\n" print s Output: helloworld But i want it to be "hello world\n" I know it can be done by adding a 'r' prefix but is there any other way because the string will be taken in during input! Any help appreciated :D __

Re: [Tutor] Great List!!!mtu...@python.org

2011-06-10 Thread Kaustubh Pratap chand
Great place this is.i am also new and i have started to love this place as it can help me in learning python fast - Original Message - From: Larry Flynton Sent: 06/10/11 04:44 PM To: tutor@python.org Subject: [Tutor] Great List!!!mtu...@python.org I just joined the list a little bit

[Tutor] BF Program hangs

2011-06-18 Thread Kaustubh Pratap chand
Hello i made this program which interprets brainf*** But i don't understand why it doesn't endsand also it doesn't print anything import sys cell=[0] * 3 code_pointer=0 cell_pointer=0 close_brace_pos=0 open_brace_pos=0 bf=raw_input("Input bf program:") while (code_pointer0: