Re: [Tutor] Multi-line comments?

2007-06-06 Thread Khamid Nurdiev
You could use Kwrite and select the to be commented part and use the keys Ctrl + D and to uncomment Ctrl + Shift + D. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Running Python on Gentoo

2007-07-26 Thread Khamid Nurdiev
Yes, I have the same problem with running python scripts from console in Debian, the line "#! /usr/bin/python" doesn't help. I have to type "python script.py" in order to run the script.py file. On 7/26/07, Greg Lindstrom <[EMAIL PROTECTED]> wrote: > > Hello, > I am running python 2.4.2 on Gentoo

[Tutor] Books with exercises and problems to solve

2007-08-07 Thread Khamid Nurdiev
Hello all, so long i have been learning python with two books 1) Official tutorial by Guido Van Rossum and 2) Pythong Programming: An Introduction to Computer Science by John M. Zelle and like them a lot as the first one gives a lot of explanations but without any exercises, but the second one has

Re: [Tutor] Books with exercises and problems to solve

2007-08-07 Thread Khamid Nurdiev
thanks a lot for your help On 8/7/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > > Khamid Nurdiev wrote: > > Hello all, > > so long i have been learning python with two books 1) Official tutorial > > by Guido Van Rossum and 2) Pythong Programming: An Introduction to

[Tutor] Decoding

2007-08-12 Thread Khamid Nurdiev
Hello All, I am currently learning python with the book "Python programming: An introduction to CS" by John M. Zelle and have come the section where he speaks of encoding messages. Currently the basic snippet looks like this: def dec(): > > import string > > message=raw_input("Enter the m

Re: [Tutor] Decoding

2007-08-12 Thread Khamid Nurdiev
ction > as an argument. Or, to assign it to a variable, then pass it: > > a=raw_input("Enter the message to decode: ") > print dec(a) > > Or, if you want to read the code from a file on disk called code.txt > which has the following code in it: > 65 66 67 68 > &g

Re: [Tutor] Security [Was: Re: Decoding]

2007-08-13 Thread Khamid Nurdiev
It is Good that you have the book because i have a few questions concerning the books again. This book by M. Zelle is getting really difficult shortly after that section (also as i see the examples are getting fewer) but it was easy till that part, so the question is: is it to me or is the rest of

Re: [Tutor] Python Book Recommendations [Was:[Re: Security]]

2007-08-13 Thread Khamid Nurdiev
hinking in Python > http://mindview.net/Books/TIPython > > Text Processing in Python > http://gnosis.cx/TPiP/ > > Your best bet may be the "Learning to Program" book by Alan Gauld. > Also there are a ton of tutorials on the Internet, many of which will > get you up t

Re: [Tutor] Python Book Recommendations [Was:[Re: Security]]

2007-08-13 Thread Khamid Nurdiev
I see it now, thanks for the detailed explanation. On 8/14/07, wesley chun <[EMAIL PROTECTED]> wrote: > > > > Having heard > > > the recommendations on books for beginners i have ordered the book > "Core > > > Python Programming" by Wesley Chun, so comparing those two books which > one > > > is mo

Re: [Tutor] Security [Was: Re: Decoding]

2007-08-13 Thread Khamid Nurdiev
I guess i will start out with your tutorial, hope it won't get as difficult as the previous one :-) thanks On 8/14/07, Alan Gauld <[EMAIL PROTECTED]> wrote: > > > "Khamid Nurdiev" <[EMAIL PROTECTED]> wrote > > > This book by M. Zelle is getting re