I have tried for a couple of days to get to the widget set listing that I usually get at http://www.wxpython.org/onlinedocs.php. It times out every time. Will it be available again soon?
--vicki
I have tried for a couple of days to get to the widget set listing that I usually get at http://www.wxpython.org/onlinedocs.php. It times out every time. Will it be available again soon?
--vicki
It was offline yesterday. I helped myself using
http://www.wxwindows.org/manuals/2.4.1/wx.htm.
HTH,
Gerald
Vicki Stanfield wrote:
I have tried for a couple of days to get to the widget set listing
that I usually get at http://www.wxpython.org/onlinedocs.php. It times
out every time. Will it be available again soon?
--vicki
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
- --
GPG-Key:
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA140D634
I am trying to tokenize a string and then test on the values of the
tokens, some of which might be empty. The situation is such that I have to
retrieve data from a combobox dropdown and from a wxTextCtrl window if
populated with data. The wxTextCtrl will contain zero to several
space-delimited "tokens".
self.arguments = self.parameters.GetValue()
is what I use to read the string to tokenize. I get a string like:
"1 F 4"
I then try to tokenize the string with:
if arguments:
parameters=self.arguments.split(" ")
x=0
while parameters != "":
outfile.write(parameters[x])
print parameters[x]
x=x+1
else: parameters = ""
It doesn't seem to like parameters[x] very much, telling me that the list
index is out of range. If I substitute a '0', it works fine.
Also, I am not sure what to use to determine the end of the arguments. If
it is read in from a wxTextCtrl, will the last token be or end in a "\n"
or what?
--vicki
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1It was offline yesterday. I helped myself using
http://www.wxwindows.org/manuals/2.4.1/wx.htm.HTH,
Gerald
I'm still not getting it today. I can get to the link you listed but not
to the original site. Or rather, I can get to it, but nothing shows in the
right frame which usually contains the contents. I get a com. error
instead.
--vicki
I am trying to tokenize a string and then test on the values of the
tokens, some of which might be empty. The situation is such that I have to
retrieve data from a combobox dropdown and from a wxTextCtrl window if
populated with data. The wxTextCtrl will contain zero to several
space-delimited "tokens".self.arguments = self.parameters.GetValue()
is what I use to read the string to tokenize. I get a string like:
"1 F 4"
I then try to tokenize the string with:
if arguments:
parameters=self.arguments.split(" ")
x=0
while parameters != "":
outfile.write(parameters)
print parameters
x=x+1
else: parameters = ""
Try this instead:
arguments = "1 F 4"
for parameter in arguments.split():
outfile.write(parameter)
print parameter
On Thu, 2003-08-21 at 13:25, Vicki Stanfield wrote:
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 (800) 735-0555
Vicki Stanfield wrote:
I have tried for a couple of days to get to the widget set listing
that I usually get at http://www.wxpython.org/onlinedocs.php. It
times out every time. Will it be available again soon?
As soon as the the machine is accessible again by the user account where they are generated.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!