Re: [Tutor] A few Python Mysteries [Reset]

2011-12-26 Thread Wayne Watson
Regardless, the problem is solved. See my [SOLVED] msg I put up this morning (USA). It's in response to Lie Ryan. However, I have no real idea how is was caused. On 12/26/2011 1:28 PM, Alan Gauld wrote: On 26/12/11 18:57, Wayne Watson wrote: IOError: [Errno 13] Permission denied: 'C:\\

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-26 Thread Alan Gauld
On 26/12/11 18:57, Wayne Watson wrote: IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' Can you open it in Notepad from the same command prompt? Opens with Notepad and jEdit from the menu off a py file. That's not what I asked. Does it open in Notepad fr

Re: [Tutor] Which libraries for Python 2.5.2

2011-12-26 Thread Wayne Watson
Here's the traceback. Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. Personal firewall software may warn about the co

Re: [Tutor] Which libraries for Python 2.5.2

2011-12-26 Thread Wayne Watson
Yes, that's a reasonable request, and I expected it, but hoped it might be apparent from what I revealed. Why? It's on another PC this happened, and getting the messages of it is not easily done, but today I have time, so soon I will post the details. On 12/24/2011 10:49 AM, Hugo Arts wrote:

Re: [Tutor] A few Python Mysteries [SOLVED]

2011-12-26 Thread Wayne Watson
Excellent strategy!! It worked. I just examined the properties for each .idlerc, and noticed that the troublesome one was created in Feb 4,2010. Probably with Python 2.5.2. I don't know why or necessarily whether new installs shouldn't have changed the folder or recreated it. Thanks to all

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-26 Thread Wayne Watson
On 12/24/2011 11:24 AM, Alan Gauld wrote: On 24/12/11 18:58, Wayne Watson wrote: Yikes. I gave the permissions for .idlerc above. The problem is with recent-files.py. IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' Can you open it in Notepad from the sa

Re: [Tutor] Wading through traceback output :p:

2011-12-26 Thread Joel Goldstick
On Mon, Dec 26, 2011 at 12:04 PM, Alan Gauld wrote: > On 26/12/11 12:52, Thomas C. Hicks wrote: > >> Also appreciate the thoughts about the file name.  This is my first big >> project and I still have much to learn.  If you can point me to a >> discussion of file naming when there are multiple fil

Re: [Tutor] question about pywin32

2011-12-26 Thread Marc Tompkins
On Mon, Dec 26, 2011 at 5:18 AM, daedae11 wrote: > ** > Does pywin32 provide a module for AES encryption algorithm ? > > The description of some module in pywin32 document is so simple that there > is not introduction about the function of the function. > For example, "CryptProtectData" function

Re: [Tutor] PYTHONPATH (Mac OS X)

2011-12-26 Thread Alan Gauld
On 26/12/11 12:23, Stayvoid wrote: Simply that python is saying it cannot find the file. So it is probably in a different folder ... Those files are in the same folder: /Users/Username/Python_modules/ And is that where you are running the code from? That is the critical factor. By just prov

Re: [Tutor] Wading through traceback output :p:

2011-12-26 Thread Alan Gauld
On 26/12/11 12:52, Thomas C. Hicks wrote: Also appreciate the thoughts about the file name. This is my first big project and I still have much to learn. If you can point me to a discussion of file naming when there are multiple files involved in a project I am game to do some reading! When d

Re: [Tutor] question about pywin32

2011-12-26 Thread Lie Ryan
On 12/27/2011 02:58 AM, Lie Ryan wrote: On 12/27/2011 12:18 AM, daedae11 wrote: Does pywin32 provide a module for AES encryption algorithm ? The description of some module in pywin32 document is so simple that there is not introduction about the function of the function. For example, "CryptProte

Re: [Tutor] question about pywin32

2011-12-26 Thread Lie Ryan
On 12/27/2011 12:18 AM, daedae11 wrote: Does pywin32 provide a module for AES encryption algorithm ? The description of some module in pywin32 document is so simple that there is not introduction about the function of the function. For example, "CryptProtectData" function in module win32crypt. --

[Tutor] question about pywin32

2011-12-26 Thread daedae11
Does pywin32 provide a module for AES encryption algorithm ? The description of some module in pywin32 document is so simple that there is not introduction about the function of the function. For example, "CryptProtectData" function in module win32crypt. daedae11___

Re: [Tutor] Wading through traceback output

2011-12-26 Thread Joel Goldstick
On Mon, Dec 26, 2011 at 7:10 AM, Alan Gauld wrote: > On 26/12/11 11:42, Thomas C. Hicks wrote: > > Given it was working before and not now the obvious question is what has > changed? It looks like you are on a Linux box so do you have automatic > updates switched on? Or do you always just accept t

Re: [Tutor] Wading through traceback output :p:

2011-12-26 Thread Lie Ryan
On 12/26/2011 11:52 PM, Thomas C. Hicks wrote: On Mon, 26 Dec 2011 07:10:45 -0500 Alan Gauld wrote: On 26/12/11 11:42, Thomas C. Hicks wrote: Given it was working before and not now the obvious question is what has changed? It looks like you are on a Linux box so do you have automatic updates

Re: [Tutor] Wading through traceback output :p:

2011-12-26 Thread Thomas C. Hicks
On Mon, 26 Dec 2011 07:10:45 -0500 Alan Gauld wrote: > On 26/12/11 11:42, Thomas C. Hicks wrote: > > Given it was working before and not now the obvious question is what > has changed? It looks like you are on a Linux box so do you have > automatic updates switched on? Or do you always just acce

Re: [Tutor] PYTHONPATH (Mac OS X)

2011-12-26 Thread Dave Angel
On 12/26/2011 07:23 AM, Stayvoid wrote: Simply that python is saying it cannot find the file. So it is probably in a different folder to the one in which the program is running. You need to provide a valid path to the file, Those files are in the same folder: /Users/Username/Python_modules/ I

Re: [Tutor] PYTHONPATH (Mac OS X)

2011-12-26 Thread Stayvoid
>Simply that python is saying it cannot find the file. >So it is probably in a different folder to the one in which the program is >running. You need to provide a valid path to the file, Those files are in the same folder: /Users/Username/Python_modules/ I don't want to write a full path here: i

Re: [Tutor] Wading through traceback output

2011-12-26 Thread Alan Gauld
On 26/12/11 11:42, Thomas C. Hicks wrote: Given it was working before and not now the obvious question is what has changed? It looks like you are on a Linux box so do you have automatic updates switched on? Or do you always just accept the recommendation to update? In which case try looking

[Tutor] Wading through traceback output

2011-12-26 Thread Thomas C. Hicks
I have a script that I used to be quite proud of, up until today it was working great. Basically it reads in a directory tree of spreadsheets, extracts info from them then makes a new spreadsheet to output the info to. The spreadsheets are xls files so it uses xlrd and xlwt to manage the data ext