Re: Python and PyQt (Windows) - AttributeError: 'module' object has not attribute run

2013-08-01 Thread Dave Angel
alesssia wrote: >> My guess is that somehow when the zip file was extracted, the case of >> this file was not preserved, and it came out pmc.py. > > The zip was not extracted because there was no zip. I copied the code from my > computer to a USB pen drive and ran the code from there. Tha

Re: Python and PyQt (Windows) - AttributeError: 'module' object has not attribute run

2013-08-01 Thread alesssia
>> After some tests, I discovered that renaming Pmc.py in pmc.py > I don't know what that means. I simply renamed Pmc.py to pmc.py, using a lower case instead of an upper case. Of course, I also changed lines referencing to 'Pmc' (upper case) to 'pmc' (lover case) in the source code. This allow

Re: Python and PyQt (Windows) - AttributeError: 'module' object has not attribute run

2013-08-01 Thread Dave Angel
alesssia wrote: > I developed a python3-PyQt4 application (I’m a newbie!) on a 32-bit Linux > platform, and I’m experiencing some problems when testing it on Windows > platforms (Windows 7 and 8, both 64-bit). > > I have a module called Pmc.py that contains two methods: run and main, but > only

Python and PyQt (Windows) - AttributeError: 'module' object has not attribute run

2013-08-01 Thread alesssia
I developed a python3-PyQt4 application (I’m a newbie!) on a 32-bit Linux platform, and I’m experiencing some problems when testing it on Windows platforms (Windows 7 and 8, both 64-bit). I have a module called Pmc.py that contains two methods: run and main, but only the former is used in the P