wpog wrote:
> I have a question about using "IDLE", and that is whenever I start write my
> own program in the "Python Shell" it will automatically execute whatever
> command I have written, for example: >>> print 'Hello World"
>
> So, how to I get it to not execute, so that I can write a prog
Hopefully someone can catch what im missing here. Ive googled this and I think
Ive got the filetypes arg written properly, but I get a traceback when calling
this function.
Heres the code followed by its traceback.
def do_ask_fn_1():
z = askopenfilename(title=TITLE, initialdir=Dst_Dir,
Greetings Pythonistas.
Im looking for a way to write this but not sure where or how to begin.
As the user enters or removes characters into/from sEnt I would like
for set_info() to set infVar with the correct value. The same as how
IDLE shows the line and column in the lower right corner.
Cod
Thanks Steve and Peter,
these two methods are a lot of help. Ill have to play with each in my actual
app
to find which works best.
I found more info on trace_variable() at
http://effbot.org/tkinterbook/variable.htm
and also some more info on events and bindings at
http://effbot.org/tkinterb
Hello,
Im trying to compile a script with py2exe. The pickle module is causing the
program to give an error.
Traceback (most recent call last):
File "SETIstat.pyw", line 330, in ?
File "SETIstat.pyw", line 84, in start_up
File "SETIstat.pyw", line 79, in config_load
File "pickle.pyc", lin
mention of protocol option in pickle. I
hadnt specified anything for protocol, so it defaults to 0 though I dont know
what that is. Its my first time using pickle and second with py2exe.
Thanks for the suggestion, Ill keep trying at this and another idea without
pickle.
Justin
>"Justin Strau
On 1 Dec 2004 11:45:59 -0800, [EMAIL PROTECTED] (Johan Lindberg) wrote:
>Have you included string-escape encoding in your setup.py?
>My guess is that you can fix the problem with something similar to:
>
> from distutils.core import setup
> import py2exe
> opts = { "py2exe": { "packages": ["encodi
e added and the .exe did print the spam
string.
>Also you might want to try the py2exe-users list (see
>http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/py2exe-users).
Thanks, Ill check this out.
Regards,
Justin Straube
--
http://mail.python.org/mailman/listinfo/python-list