Hi,
I am trying to use the Python MySQL APIs and have been attempting to
install the above software.
I am using MySQL 5.0.18-standard with Python 2.4.1
I get errors on the build. Some searching showed that one of the modules
I was having issues with now has less arguments in my version of python
In article <[EMAIL PROTECTED]>,
Peter Hansen <[EMAIL PROTECTED]> wrote:
> ziggy wrote:
> > Just wondering if there is something out there like Jedit, but written
> > in python ( not just supporting, but actually written in it.. )
> >
> > Nothing large like Stanzi's or Boa.. Just something quick
Wolfgang Keller wrote:
> Hello,
>
> On Sun, 12 Feb 2006 07:50:56 +0100, greg wrote
> (in article <[EMAIL PROTECTED]>):
>> PyGUI is an experimental highly-Pythonic cross-platform
>> GUI API.
>
> How "experimental" (or useable for productivity applications) would you
> consider it compared to e.g.
rtilley wrote:
> Hi,
>
> While trying to better understand security descriptors on Windows. I've
> been examining text-based security descriptors. I have the security
> descriptors on individual lines stored in a text file. I want to break
> these lines apart based on owner, group, dacl and sac
Grant Edwards wrote:
> Of course! What did you expect from devotees of a language
> named after one of the greatest comedy shows in TV history?
Seriously? Endless references to it until it gets painfully old :-(.
The Python language, at least, has seemed to have gotten past that point
in its h
This should be simple, but I can't get it:
How do you loop backwards through a list?
For example, in, say, Javascript:
for (var i = list.length - 1; i >=0; i--) {
do_stuff()
}
I mean, I could reverse the list, but I don't want to. I want it to
stay exactly the same, but I want to start at
Terry Hancock wrote:
> I doubt that helps much: I pronounce all of those words
> (when I use them, which is not too often) as "-toopel". The
> only tuple I pronounce with the "-uh-" is "couple", and I
> usually call that a "two-tuple" when dealing with Python.
I prefer the name _pair_ :-).
> I s
Peter Maas wrote:
> tuples are of latin origin, so one can derive the tuple words
> systematically:
>
> Latin n-tuple
> ---
> ... ...
> triplex triple
> duplexduple
> simplex simple
Yeah but there's already plenty
> Well, it turns out to be the best way to invert a string, IMO. The
> reversed() feature returns a reversed object... not a reversed string.
> In short, I have to fool with it again _after_ it has been inverted. The
> slicing takes care of the job right away and gives me what I want... no
> Comput
Thanks! I knew it was simple...
--
http://mail.python.org/mailman/listinfo/python-list
Hi there.
I'm trying to get a list of attributes from a class. The dir() function
seems to be convenient, but unfortunately it lists to much - i don't
need the methods, neither the built-in variables.
In fact, all my variables are referencing to objects of the same type.
Can anyone suggest me a w
Eric McGraw wrote:
>>Well, it turns out to be the best way to invert a string, IMO. The
>>reversed() feature returns a reversed object... not a reversed string.
>>In short, I have to fool with it again _after_ it has been inverted. The
>>slicing takes care of the job right away and gives me what I
Dave wrote:
> This should be simple, but I can't get it:
>
> How do you loop backwards through a list?
>
> For example, in, say, Javascript:
>
> for (var i = list.length - 1; i >=0; i--) {
> do_stuff()
> }
>
> I mean, I could reverse the list, but I don't want to. I want it to
> stay exact
[EMAIL PROTECTED] wrote:
> Dave wrote:
> > This should be simple, but I can't get it:
> >
> > How do you loop backwards through a list?
> >
> > For example, in, say, Javascript:
> >
> > for (var i = list.length - 1; i >=0; i--) {
> > do_stuff()
> > }
> >
> > I mean, I could reverse the list,
Erik Max Francis wrote:
> Terry Hancock wrote:
>
>> I doubt that helps much: I pronounce all of those words
>> (when I use them, which is not too often) as "-toopel". The
>> only tuple I pronounce with the "-uh-" is "couple", and I
>> usually call that a "two-tuple" when dealing with Python.
>
>
Damjan> This is from the Slackware-current changelog:
Damjan> d/python-2.4.2-i486-1.tgz: Upgraded to python-2.4.2.
Damjan>The bsddb module didn't build against the new 4.4.x
Damjan>version of Berkeley DB. Does anyone care? Or perhaps have
Damjan>a patch?
Dave> This should be simple, but I can't get it:
Dave> How do you loop backwards through a list?
Standard idiom:
for i in range(len(mylist)-1, -1, -1):
do_stuff()
Contrast that with the standard forward loop:
for i in range(len(mylist)):
do_stuff()
So, to go ba
Erik Max Francis <[EMAIL PROTECTED]> wrote:
> (A 2-tuple is an "ordered pair" in mathematics.) If a 2-tuple is a
> pair, then it would seem to follow that a 1-tuple is a single.
Yeah, but an *ordered* single :-)
A more interesting question is what do you call ()? A none-tuple?
--
http://mail.
Dave wrote:
> This should be simple, but I can't get it:
>
> How do you loop backwards through a list?
>
> For example, in, say, Javascript:
>
> for (var i = list.length - 1; i >=0; i--) {
> do_stuff()
> }
>
> I mean, I could reverse the list, but I don't want to. I want it to
> stay exactly
Thomas Girod wrote:
> I'm trying to get a list of attributes from a class. The dir() function
> seems to be convenient, but unfortunately it lists to much - i don't
> need the methods, neither the built-in variables.
>
> In fact, all my variables are referencing to objects of the same type.
> Can
Thomas Girod wrote:
> Hi there.
>
> I'm trying to get a list of attributes from a class. The dir() function
> seems to be convenient, but unfortunately it lists to much - i don't
> need the methods, neither the built-in variables.
>
> In fact, all my variables are referencing to objects of the sa
On Feb.13 18h37, Thomas Girod wrote :
> Hi there.
>
> I'm trying to get a list of attributes from a class. The dir() function
> seems to be convenient, but unfortunately it lists to much - i don't
> need the methods, neither the built-in variables.
If you do something like this you should have a
I just wondered whether anyone has seen this problem and fixed it. An
IDLE with no menu bar isn't much use ...
Python 2.4.1 (#1, May 27 2005, 18:02:40)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "copyright", "credits" or "license()" for more information.
[...]
IDLE 1.1.1
>>>
regard
--
Steve Hol
Roy Smith wrote:
> Peter Maas <[EMAIL PROTECTED]> wrote:
>>Latin n-tuple
>>---
>>... ...
>>triplex triple
>>duplexduple
>>simplex simple
>
> Would a 9-tuple be a nipple?
We don't talk about that anymore since the
Roy Smith wrote:
> A more interesting question is what do you call ()? A none-tuple?
Yeah, that's at the point where it _really_ departs from anything
remotely mathematical. Don't think I've ever heard the occasion to talk
about 0-tuples in any context, though, so I don't think it's something
Erik Max Francis wrote:
> Roy Smith wrote:
>
>
>>A more interesting question is what do you call ()? A none-tuple?
>
>
> Yeah, that's at the point where it _really_ departs from anything
> remotely mathematical. Don't think I've ever heard the occasion to talk
> about 0-tuples in any contex
ziggy wrote:
> Just wondering if there is something out there like Jedit, but written
> in python ( not just supporting, but actually written in it.. )
>
> Nothing large like Stanzi's or Boa.. Just something quick and simple,
> with code completion, and a debugger..
IDLE
--
http://mail.python.
ziggy wrote:
> Just wondering if there is something out there like Jedit, but written
> in python ( not just supporting, but actually written in it.. )
>
> Nothing large like Stanzi's or Boa.. Just something quick and simple,
> with code completion, and a debugger..
PythonWin, so long as you are
I want to visualize my disk space like http://www.werkema.com/img/scrnshot/spacemonger.gif. ie. draw the directory as a big rectangle and its size is proportionable to the file size under this directory, then draw and fill small rectangles into it to behalf the size of every files. Is there a lib/s
Apologies, I seem to have sent this to the wrong list. (Though now
that it's out here...any answers would be most welcome. :)
On 2/14/06, I wrote:
> Hi all,
>
> After many hours, I think I've found a bug in the logging module!
>
> If you add a (stdout) StreamHandler to a logger, then detach the
>
Hi all,
After many hours, I think I've found a bug in the logging module!
If you add a (stdout) StreamHandler to a logger, then detach the
terminal for that stdout, subsequent calls to log() will hang the
calling thread.
To reproduce this, write the following scripts (this was a small test
case
I need to find a bunch of C function declarations by searching
thousands of source or html files for thousands of known function
names. My initial simple approach was to do this:
rxAllSupported = re.compile(r"\b(" + "|".join(gAllSupported) + r")\b")
# giving a regex of \b(AAFoo|ABFoo| (uh... 8
<[EMAIL PROTECTED]> wrote:
...
> The "=" operator in Python
...doesn't exist, since '=' is not an operator in Python (just like it
isn't, say, in VB). But, OK, you mean "assignment".
> is also quite different from many language
> people had experience like C
Yes, but quite similar to assig
Yes, 'some data'.decode('utf8').encode('windows-1250')
works great.
Thanks
L.B.
--
http://mail.python.org/mailman/listinfo/python-list
Pythonwin is not good,if you use non Ascii characters.I had to moved to
Jedit.
L.B
--
http://mail.python.org/mailman/listinfo/python-list
Dear Python users,
I'd like to split a string where 'and', 'or', 'and not' occurs.
Example string:
s = 'Smith, R. OR White OR Blue, T. AND Black AND Red AND NOT Green'
I need to split s in order to get this list:
['Smith, R.', 'White', 'Blue, T.', 'Back', 'Red', 'Green']
Any idea, how I can spl
On Mon, 13 Feb 2006 18:27:40 -0800
Erik Max Francis <[EMAIL PROTECTED]> wrote:
> Terry Hancock wrote:
> > The only tuple I pronounce with the "-uh-" is "couple",
> > and I usually call that a "two-tuple" when dealing with
> > Python.
>
> I prefer the name _pair_ :-).
Yeah, that works too.
> > S
On Thu, 9 Feb 2006 10:35:37 +0100, rumours say that "Frithiof Andreas
Jensen" <[EMAIL PROTECTED]> might have written:
>If one was trying to detect fanatics of any creed, a certain indicator would
>be that they have absolutely no sense of humour - they suffer from a
>yet-to-be-described variant of
On 12 Feb 2006 05:11:02 -0800, rumours say that "MKoool"
<[EMAIL PROTECTED]> might have written:
>I have an application with one function called "compute", which given a
>filename, goes through that file and performs various statistical
>analyses. It uses arrays extensively and loops alot. it pr
201 - 239 of 239 matches
Mail list logo