Re: [Tutor] First Python Test

2013-02-03 Thread Shall, Sydney
Dear Alan, I installed Cocoa emacs successfully. But it does not run on OS X 10.6.8. The notes with it say that it was built for 10.4. Where may I look for an update, please? With many thanks for your help. Sydney On 02/02/2013 17:49, Alan Gauld wrote: On 02/02/13 12:57, Shall, Sydney wrote:

Re: [Tutor] First Python Test

2013-02-03 Thread Jonatán Guadamuz
El 03/02/2013, a las 06:53 a.m., Shall, Sydney sydney.sh...@kcl.ac.uk escribió: Dear Alan, I installed Cocoa emacs successfully. But it does not run on OS X 10.6.8. The notes with it say that it was built for 10.4. Where may I look for an update, please? With many thanks for your help.

Re: [Tutor] First Python Test

2013-02-03 Thread Shall, Sydney
Thanks Jonatan. Sydney On 03/02/2013 13:13, Jonatán Guadamuz wrote: El 03/02/2013, a las 06:53 a.m., Shall, Sydney sydney.sh...@kcl.ac.uk escribió: Dear Alan, I installed Cocoa emacs successfully. But it does not run on OS X 10.6.8. The notes with it say that it was built for 10.4. Where

Re: [Tutor] First Python Test

2013-02-03 Thread James Griffin
-- Shall, Sydney sydney.sh...@kcl.ac.uk [2013-02-02 12:45:15 +]: Two free good text editors for the MAC are; 1. Komodo 2. Text Wrangler. hth Sydney aquamacs is the correct gui version to use. There is also a gvim binary available. Both emacs and vim are installed already on Mac OS X but

Re: [Tutor] First Python Test

2013-02-03 Thread Alan Gauld
On 03/02/13 12:20, Shall, Sydney wrote: Dear Alan, I installed Cocoa emacs successfully. But it does not run on OS X 10.6.8. The notes with it say that it was built for 10.4. Sofware built for 10.4 should run fine on 10.6. But I only have 10.4 so can't do any testing... Not sure why its

[Tutor] More Help

2013-02-03 Thread Jack Little
So I have gotten responses to my previous email sent 3 days ago, all saying define path1pt1() before simpstart, but I do not know how. Help?___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

[Tutor] pickle.dump yielding awkward output

2013-02-03 Thread Spyros Charonis
Hello Pythoners, I am experiencing a strange result with the pickle module when using it to write certain results to a separate file. In short, I have a program that reads a file, finds lines which satisfy some criteria, and extracts those lines, storing them in a list. I am trying to write this

Re: [Tutor] More Help

2013-02-03 Thread Joel Goldstick
Move the code that defines path1pt1 above the function that calls it. Also, don't start of new thread -- you are making it impossible for someone to know the context of your question. Also, Use a better subject line On Sun, Feb 3, 2013 at 2:15 PM, Jack Little jacklittl...@yahoo.com wrote: So

Re: [Tutor] More Help

2013-02-03 Thread Joel Goldstick
On Sun, Feb 3, 2013 at 2:29 PM, Joel Goldstick joel.goldst...@gmail.comwrote: Move the code that defines path1pt1 above the function that calls it. Also, don't start of new thread -- you are making it impossible for someone to know the context of your question. Also, Use a better subject

Re: [Tutor] More Help

2013-02-03 Thread Steven D'Aprano
On 04/02/13 06:15, Jack Little wrote: So I have gotten responses to my previous email sent 3 days ago, all saying define path1pt1() before simpstart, but I do not know how. Help? You have something like this: ...code... ...more code... path1pt1() ... ... def path1pt1(): definition goes

Re: [Tutor] pickle.dump yielding awkward output

2013-02-03 Thread Dave Angel
On 02/03/2013 02:26 PM, Spyros Charonis wrote: Hello Pythoners, I am experiencing a strange result with the pickle module when using it to write certain results to a separate file. In short, I have a program that reads a file, finds lines which satisfy some criteria, and extracts those lines,

Re: [Tutor] pickle.dump yielding awkward output

2013-02-03 Thread Dave Angel
(top-posting and offline response fixed) On Sun, Feb 3, 2013 at 11:07 PM, Dave Angel da...@davea.name wrote: On 02/03/2013 02:26 PM, Spyros Charonis wrote: Hello Pythoners, I am experiencing a strange result with the pickle module when using it to write certain results to a separate file.

Re: [Tutor] pickle.dump yielding awkward output

2013-02-03 Thread Steven D'Aprano
On 04/02/13 06:26, Spyros Charonis wrote: The output stored from the call to the pickle.dump method, however, looks like this: [...] Does anyone know why the strings lp0, S', aS' are showing up? Why do you care? Pickle is not a human-readable format. It may use plain text (optionally,

Re: [Tutor] pickle.dump yielding awkward output

2013-02-03 Thread Alan Gauld
On 03/02/13 19:26, Spyros Charonis wrote: I am experiencing a strange result with the pickle module when using it to write certain results to a separate file. The only strangec results using pickle would be if the uinpickle failed to bring back that which was pickled. Pickle is a storage

[Tutor] Help- Regarding python

2013-02-03 Thread Gayathri S
Hi All! If i have data set like this means... 3626,5000,2918,5000,2353,2334,2642,1730,1687,1695,1717,1744,593,502,493,504,449,431,444,444,429,10 438,498,3626,3629,5000,2918,5000,2640,2334,2639,1696,1687,1695,1717,1744,592,502,493,504,449,431,444,441,429,10