On Saturday 07 May 2005 01:24 pm, jeff elkins wrote:
Howdy,
I've written a program that calls an imported dialog to gather some needed
input. What's the common method for passing that data back to the caller?
I've tried a 'return data' prior to self.Close() ... all that happens then
is the
On Sat, 07 May 2005 13:24:34 +, jeff elkins wrote:
Howdy,
I've written a program that calls an imported dialog to gather some needed
input. What's the common method for passing that data back to the caller?
I've
tried a 'return data' prior to self.Close() ... all that happens then
On Saturday 07 May 2005 02:34 pm, Jeremy Bowers wrote:
On Sat, 07 May 2005 13:24:34 +, jeff elkins wrote:
Howdy,
I've written a program that calls an imported dialog to gather some
needed input. What's the common method for passing that data back to the
caller? I've tried a 'return
On Sat, 07 May 2005 15:43:08 +, jeff elkins wrote:
===
import wx
def create(parent):
return vents(parent)
[wxID_VENTS, wxID_VENTSEXITBUTTON,
wxID_VENTSVENTTYPETEXT,
[snip]
] = [wx.NewId() for _init_ctrls in range(14) ]
class vents(wx.Dialog):
def
On Saturday 07 May 2005 04:39 pm, Jeremy Bowers wrote:
OK, I can't quite directly run this, but assuming you're trying to get the
user to enter some text into the text control, you should be able to add
print dlg.venttypeText.GetValue()
to print what the user entered; this comes
I'm working on a program that is supposed to save
different information to text files.
Because the program is in swedish i have to use
unicode text for ÅÄÖ letters.
When I run the following testscript I get an error message.
# -*- coding: cp1252 -*-
titel = åäö
titel = unicode(titel)
print
Svennglenn Traceback (most recent call last):
Svennglenn File D:\Documents and
Svennglenn
Settings\Daniel\Desktop\Programmering\aaotest\aaotest2\aaotest2.pyw,
Svennglenn line 5, in ?
Svennglenn titel = unicode(titel)
Svennglenn UnicodeDecodeError: 'ascii' codec
On 7 May 2005 14:22:56 -0700, Svennglenn [EMAIL PROTECTED]
wrote:
I'm working on a program that is supposed to save
different information to text files.
Because the program is in swedish i have to use
unicode text for ÅÄÖ letters.
program is in Swedish: to the extent that this means names of
Hi All--
John Machin wrote:
The general rule in working with Unicode can be expressed something
like work in Unicode all the time i.e. decode legacy text as early as
possible; encode into legacy text (if absolutely required) as late as
possible (corollary: if forced to communicate with
Hi,
I have several thousand tiffs generated by application A which are read by
application B. I need to remove a few colours from the tiffs and I decided
to try with the python imaging library.
Running under debug mode permits saving my tiff files (with Image.DEBUG=0,
the save doesn't work
mchl gdbt [EMAIL PROTECTED] wrote:
Ideally, I want the output image to be identical to the original in every
way. I suspect that it
might be enough to just change the size numbers though I don't know how. I
will be messing around
with the pixel colours eventually but the structure of
any idea how to automatically save to a text file?
here's what the program do:
first, data is read from the serial port every fixed lenght of time
the data will then be put to a table,
now, every serial read, a table will be created for the data that will
be gathered (one window for each table)
Jacob H wrote:
Hello list...
I'm developing an adventure game in Python (which of course is lots of
fun). One of the features is the ability to save games and restore the
saves later. I'm using the pickle module to implement this. Capturing
current program state and neatly replacing it later is
Jacob H wrote:
Hello list...
I'm developing an adventure game in Python (which of course is lots
of
fun).
I am glad you are having fun ,
after all life is so short,
isn't that what it is all about ;)
One of the features is the ability to save games and restore the
saves later. I'm using
Take a look at Zope. The ZODB is a highly optimized object
database that handles the pickling, loading, saving, etc. of
Python objects for restoring program state. A ZODB beginner's
tutorial is available here:
http://www.h7.dion.ne.jp/~harm/ZODB-Tutorial.py
Other info at:
http://zope.org/Members
Jacob H [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm developing an adventure game in Python
Since you are not the first, have you looked at what others have done to
save/restore? The Pygame site has code you can look at for adventure (I
believe) and other game types (I
Submitted By: Hernan Martinez Foffani (hfoffani)
Assigned to: Kurt B. Kaiser (kbk)
Summary: IDLE doesn't start again when saving empty key set
Initial Comment:
To reproduce:
- Start IDLE
- Go to Options/Configure IDLE/Keys
- Click in Save as New... *without selecting anything
before*
- Enter any
501 - 517 of 517 matches
Mail list logo