d in doing this with a Combobx Event.
When the user selects an option in my dropdown box (event.GetString())
that matches the string in my dictionary...say "string2" then the method:
processString2(parameter) is executed.
Currently when I get the value of: myDictionary[string2] i
John,
Thank you so much for your help! -- Problem SOLVED!!! -- Your explanation
and example was extremely helpful. I am very grateful.
Lauren :-)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http
Ok, please bear with me, I'm very new to programming and python. And
my question is rather...convoluted.
I have a bunch of sequences (about 4100 or so), and want to know where
they are in a very, very large string of letters. But wait, there's
more. Some of these sequences match to more than 'word
erhaps others will have a much more sophisticated way
> of doing this same problem. I'm still not exactly sure what it is you are
> looking for, because there isn't enough information for me to really get a
> grasp on your problem. My response is a simple list structure that has
], 'AAC': [[0]]}
but what I want is
'AAU':[0, 1], 'AAG':[2, 3, 5], 'AAA':[3. 5], 'AAC':[0]
the setdefault(key, []).append(location) thing sort of does what I want, but
I don't want the result to be a list of lists...just one big list. The
productio
type of work?
Thank you in advance,
Lauren
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
australia", ["europe",["spain", "germany", "belgium"]]] <--
Correct (I believe)
NOT THIS...
geo = ["australia", "europe", ["spain", "germany", "belgium"]] <--
Incorrect (I believe)
***
I need assistance getting from here:
continent = ["australia", "europe", "america", "asia"]
country = [["spain", "germany", "belgium"], ["united states", "canada"]]
state = ["california", "oregon", "arizona"]
To here:
geo=[
"australia",
["europe",
["spain",
"germany",
"belgium",]],
["north america",
["united states",[
"california",
"oregon",
"arizona"],
"canada"]],
"asia"]
Thanks Again!
Lauren
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
[]),
(belgium",[])]),
("north america",
[("united states",[
("california",[]),
("oregon",[]),
("arizona",[])
])
]),
("canada", []),
(&quo
,[
("california", []),
("oregon", []),
("arizona", [])]),
("canada", [
("Ontario", [])])]),
("asia", [
("japan", [])])
Lauren
> From looking at your o
id' is not defined."
It's an error against this statement in method #2:
myGrid.SetCellValue(i, 0, myValue)
Thanks!
Lauren
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
It worked like a charm!
Thank you so much!!
Lauren
> If method1 and method2 are both methods of the same class, just save
> myGrid as an attribute of the class rather than having it as a local
> variable in method1. I.e.
>
> def method1(self):
> self.myGrid = ...
&g
I have to make "Users must have MySQL server running" as a
pre-requisite for using my software?
4. Did I miss an option in GUI2exe that allows me to set up my exe to
use MySQL?
Thank you,
Lauren
___
Tutor maillist - Tutor@python.org
ht
like the idea of writing a script to check to see if MySQL is
installed. However, I need pointers on writing this script and also the
script to auto install MySQL on another user's computer.
Thank you again for your help and brilliant ideas!
Lauren
-Original Message-
From: andré p
Node1d
Node2c
Node3a
Node1d
Node2d
**
So - my questions:
Is there an existing method/class/library that already exists in python
to help me create the data structure I need for my tree structure?
If
Will do!
Thanks again,
Lauren :-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alan Gauld
Sent: Monday, August 11, 2008 4:27 PM
To: tutor@python.org
Subject: Re: [Tutor] How to reference a wx.grid.Grid outside the
methodinwhich it was created
15 matches
Mail list logo