Re: [Tutor] program spontaneously closes...

2006-11-25 Thread Bob Gailer
Alan Gilfoy wrote: > Hello All. > I've been concocting some simple programs based on an online tutorial, > and I, of course, save a program as a .py file. > > When running my program via IDLE, once I've cleaned out the bugs, it > works as I expect it to. > > But I noticed something else: > > Cl

Re: [Tutor] Please suggest a python book

2006-11-25 Thread hacktavist
Sorry, it is www.diveintopython.org , not .com On Sat, 25 Nov 2006, =?ISO-8859-1?Q? Arild_B._N=E6ss ?= wrote: Den 25. nov. 2006 kl. 13.32 skrev Dick Moores: At 08:40 PM 11/24/2006, Jalil wrote: If you already know C you should be fine with python ref book. Python Essential Reference (2nd E

Re: [Tutor] shebang question

2006-11-25 Thread john maclean
>From what I can tell/remember, the first works in the *nix environment if python is in your $PATH, the latter will find python "somehere" on your system by looking at wher the executables should be. On 26/11/06, shawn bright <[EMAIL PROTECTED]> wrote: > Hey there all, > what is the difference bet

Re: [Tutor] help with Tkinter, please

2006-11-25 Thread Dick Moores
At 01:37 PM 11/23/2006, Alan Gauld wrote: >"Dick Moores" <[EMAIL PROTECTED]> wrote > > > def compute_fact(): > > value = int(entry_get()) > > > File "factTk1-a.py", line 22, in compute_fact > > value = int(entry_get()) > > NameError: global name 'entry_get' is not defined > > > > I'm

[Tutor] shebang question

2006-11-25 Thread shawn bright
Hey there all, what is the difference between #!/usr/bin/python and #!/usr/bin/env python ? thanks ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] program spontaneously closes...

2006-11-25 Thread Alan Gilfoy
Hello All. I've been concocting some simple programs based on an online tutorial, and I, of course, save a program as a .py file. When running my program via IDLE, once I've cleaned out the bugs, it works as I expect it to. But I noticed something else: Clicking directly on the file's icon h

Re: [Tutor] Please suggest a Python Book

2006-11-25 Thread LandSurveyor
"Python Programming for the absolute beginner" auth: Michael Dawson Although touted as, and directed toward, a new programmer, the book is an excellent 'sing along' tome that illustrates good examples with a good structure of creating small working scripts, and gets very well into some heavy su

Re: [Tutor] (no subject)

2006-11-25 Thread Andreas Kostyrka
* Python <[EMAIL PROTECTED]> [061125 14:47]: > On Sat, 2006-11-25 at 00:10 -0600, Luke Paireepinart wrote: > > Although I'm prettty sure most modern linux distros come with Python > > already installed, so you don't need to be concerned about those linux > > folk. > > I think Windows is the only

Re: [Tutor] Question about HORIZONTAL BAR CHART.....

2006-11-25 Thread Asrarahmed Kadri
As far as I understand, I need to design an algorithm which computes the padding between each bar (space between each bar) and the length of each bar ( remember that this is a HORIZONTAL BAR CHART). I am trying to understand your email. ( Please bear with my slow comprehension ) Regards, Asrarah

[Tutor] PLEASE assign a (meaningful) subject to your posts

2006-11-25 Thread Dick Moores
Pretty please. Posts without subject headers irritate the hell out of Eudora. Dick Moores ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Please suggest a python book

2006-11-25 Thread Kent Johnson
Narasimha wrote: > Hi! Friends, > > I am new to python. I have a vacation of 15 days. Please suggest me a > python book (or a website). > > I already know C language. I have heard much about Python. I think Learning Python is a good book if you already have some programming experience. Kent

Re: [Tutor] Please suggest a python book

2006-11-25 Thread Kent Johnson
Arild B. Næss wrote: > > Den 25. nov. 2006 kl. 13.32 skrev Dick Moores: > >> At 08:40 PM 11/24/2006, Jalil wrote: >>> If you already know C you should be fine with python ref book. >>> >>> *Python Essential Reference (2nd Edition)* >> >> The 3rd ed. came out Feb 2006. >> http://tinyurl.com/yjvn6o

Re: [Tutor] (no subject)

2006-11-25 Thread Python
On Sat, 2006-11-25 at 00:10 -0600, Luke Paireepinart wrote: > Although I'm prettty sure most modern linux distros come with Python > already installed, so you don't need to be concerned about those linux > folk. I think Windows is the only major OS distribution that still omits Python. > Except,

Re: [Tutor] Please suggest a python book

2006-11-25 Thread Arild B. Næss
Den 25. nov. 2006 kl. 13.32 skrev Dick Moores: At 08:40 PM 11/24/2006, Jalil wrote: If you already know C you should be fine with python ref book. Python Essential Reference (2nd Edition) The 3rd ed. came out Feb 2006. http://tinyurl.com/yjvn6o I have also been wondering about a second b

Re: [Tutor] Please suggest a python book

2006-11-25 Thread Dick Moores
At 08:40 PM 11/24/2006, Jalil wrote: If you already know C you should be fine with python ref book. Python Essential Reference (2nd Edition) The 3rd ed. came out Feb 2006. http://tinyurl.com/yjvn6o Dick Moores ___ Tutor maillist - Tutor@python.or

Re: [Tutor] (no subject)

2006-11-25 Thread Andreas Kostyrka
* Luke Paireepinart <[EMAIL PROTECTED]> [061125 07:11]: > Not the batch script, obviously, but the rest of your program. > Although I'm prettty sure most modern linux distros come with Python > already installed, so you don't need to be concerned about those linux folk. > Except, I find that it's