I am just getting started been though some tutorials for python and wx. I am
basically just a visual basic person trying to learn python.
Anyway I have spent hours experimenting with CSV and sqllite3 tutorial samples
and misc snippets,
Does anyone have any code samples that might get me going
Ara -
I found your question about the Pyparsing-based adventure game that I wrote.
You can find more info on this from the presentation I made at PyCon'06,
(http://www.python.org/pycon/2006/papers/4/). This link opens up at the
title page, there are navigation controls in the lower right corner o
"Trey Keown" <[EMAIL PROTECTED]> wrote
> What is the proper way to undo/redo changes in a text box? I read
> somewhere that the default undo depth is 1. How could I change this
> to,
> say, about 35?
I dunno, its not in the book ;-)
But just typing dir(TextCtrl) showed those two methods...
Unfo
"Trey Keown" <[EMAIL PROTECTED]> wrote
> Does anyone know how to make a wxPython splashscreen?
Using the wxSplashScreen widget?
> not found any working examples.
The wxPython book offers this:
class SketchApp(wx.App):
def OnInit(self):
image = wx.image('splash.bmp', wx.BITMAP_TYPE_B
"Christopher Spears" <[EMAIL PROTECTED]> wrote
> I have been asked to replace this while loop with a
> try and except clause:
>
> while True:
>fname = raw_input('Enter file name: ')
>if os.path.exists(fname):
>print"*** ERROR: '%s' already exists" % fname
>else:
>brea
"Ryan" <[EMAIL PROTECTED]> wrote
>I am on a linux machine and I was wondering about python scripting.
Python is usually installed on linux.
Just type python at a shell prompt.
> Mainly to get it up and running but also what can I do with
> it etc. Any help would be appreciated, Thnx
Python
"Christopher Spears" <[EMAIL PROTECTED]> wrote
>I have written a script that reads and displays text
> files:
> while True:
>if os.path.exists(fname):
>fobj = open(fname, 'r')
>for eachLine in fobj:
>print eachLine,
>fobj.close()
> However, whenever