Thanks,
for some reason it's working now. Unfortunately I haven't the faintest idea why. :) Oh well it's working and I wouldn't know were to start figuring out why it's working so I wont even try.
Josh
User Profile
Collapse
-
Any way to fix py2exe?
umm, ok.
Is there any way to make py2exe work? Maybe by changing the code? Or is there an update that works on vista?
Thank,
JoshuaLeave a comment:
-
I'm having problems with py2exe
Hey, in an earlier question I asked why gui2exe wasn't working.
Since then I've tried a couple of things but haven't found out much. Only that the problem has something to do with the sets module which py2exe is accessing.
I tried,
and got,Code:import py2exe
...Code:Warning (from warnings module): File "C:\Program Files\Python25\lib\site-packages\py2exe\build_exe.py", line 16 import sets -
GUI2exe "error 2" (apparently). Anyone know how to avoid this???
Hello I'm running python 2.6.4 on windows vista 32 bit.
My problem is that gui2exe hit's an error almost instantly when I try to use it to package my program. This is the first time using gui2exe so I really don't know what I'm doing but I'm quite sure that I entered all previous information correctly.
Here is a link to a screen shot of the error message since the one that I'm including it kind of small.
http://pica... -
Solved!
Solved!
The error message doesn't pop up anymore, Thanks.
The only thing left now is that when I try to open the program without Python Shell (just by clicking on the icon) it doesn't do a thing.
I've saved the file as *.pyw and don't have any idea why it's not opening.
Hear is the slightly edited code.
...Code:import wx, shelve, os from random import randrange as
Leave a comment:
-
Solved!
That did it!
Funny how things like that matter so much.
I'll have to remember that.
Thanks JoshLeave a comment:
-
Why is it empty?
But why is self.AllWords empty?
Is it something to do with the way I accessed the text file?
Here is the full Error code.
...Code:Traceback (most recent call last): File "C:\Documents and Settings\Joshua Leihe\My Documents\My Projects\NewProjects\Joshua\Python projects\French quiz\French Quiz_17.pyw.pyw", line 261, in French self.GameLoop(evt) File "C:\(pathLeave a comment:
-
It's kind of long...
It's a lot of code and I haven't sorted it for easy reading yet. (until it's finished I don't how I would sort it while still trying to figure out how to make it work)
But here it is.
...Code:import wx, shelve, os from random import randrange as ran from pprint import pprint class FrenchQuiz: def start(self): self.app = wx.App() #DefineLeave a comment:
-
Why does this cause KeyError: 0?
I'm trying to figure out why KeyError: 0 pops up when I try to run the program containing the code.
...Code:OpenDLG = wx.FileDialog( self.win, message='Please choose the quiz or quizes that you wish to use.', defaultDir=os.getcwd(), defaultFile='', wildcard='*.*', style=wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR) -
Error Message that I can't explain.
This Error message pops up every time I run my program using Python Shell and won't open at all when I don't use Shell.
...Code:Traceback (most recent call last): File "C:\Documents and Settings\Joshua Leihe\My Documents\My Projects\NewProjects\Joshua\Python projects\French quiz\French Quiz_17.pyw.pyw", line 440, in <module> win.start() File "C:\Documents and Settings\Joshua Leihe\My Documents\My -
-
a command I can't find.
Hello I need a command to be able to do the following.
????????? = I need a command to retrive the button label without knowing which button caused the evt_button event.Code:button1 = wx.Button(ect, ect) button1.Bind(wx.EVT_BUTTON, self.button) button2 = wx.Button(ect, ect) Button2.Bind(wx.EVT_BUTTON, self.button) def button(evt): evt.????????????
-
Useing py2exe.
I want other people to be able to use my program without having python installed using windows.
My command prompt accepts python as a command but when I run...
in the command prompt the fallowing message comes up...Code:python setup.py py2exe
I put setup.py in a directory that python checks is there somewhere...Code:python: can't open file 'setup.py': [Errno 2] No such file or directory
-
How to make a stand alone program.
Hey,
I have a program that needs wxpython, shelle and a dat file...
But I have no idea how to make it into a stand alone program.
I want to be able to put it on a disc and give it to my friends without them haveing to install python.
Any ideas??? -
It seems to be working now I just reinstalled wxPython and that seemed to do it.Leave a comment:
-
Can not import wxPython!
I have installed both Python and wxPython but when I type
"import wx"
into Python Shell it gives me the following error.
IDLE 1.2.1
>>> import wx
Traceback (most recent call last):
File "<pyshell#0 >", line 1, in <module>
import wx
ImportError: No module named wx
Any ideas how to fix this? -
I put the python directory in the Pythonpath variable.
But it still does not work.
I think the problem is the DOS/Command prompt does not recognize python as a command.
is there a command that I should use before writing...
python setup.py build
???Leave a comment:
-
-
Problems with distutils
Hello I have a slight problem with distutils.
Apparently I'm supposed to write my setup script which I have,
and then enter...
python setup.py build
in the command prompt but when I do that it just says.
'python' is not recognized as an internal or external command,
operable program or batch file.
The question is what should I write in the command prompt window?
No activity results to display
Show More
Leave a comment: