gozerbot 0.8 is coming real soon in a chat channel near you and thus
we have made a BETA of the upcoming 0.8 release available.
new in 0.8:
* third party addons for plugins
* ipv6 udp
* reboot without disconnects
* owneruserhost is now a list
* lots of bug fixes
please test
Stefan Behnel:
This doesn't look like Mono to me:
IronPython 1.1 (1.1) on .NET 2.0.50727.42
You are right! I think this shows that IronPython isn't faster than
CPython at all :-) (And it uses more memory).
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
xkenneth a écrit :
All,
I'm trying to build a simple web application, but i still need
things like sessions and Ajax. I tried to create a Zope product, but I
honestly can't think of anything more cryptic.
Indeed !-)
I really don't enjoy
learning all of the magic code and debugging
Ivo [EMAIL PROTECTED] wrote:
Thomas Bellman wrote:
However, the os.read() function will only read what is currently
available. Note, though, that os.read() does not do line-based
I/O, so depending on the timing you can get incomplete lines, or
multiple lines in one read.
be carefull
Sean Allen wrote:
ok, what am i doing wrong?
in current working directory i have:
t.py
sub/t1.py
t.py is:
import sub.t1
i get:
ImportError: No module named sub.t1
t.py is
import sub
i get:
ImportError: No module named sub.t1
--
i am obviously missing
Gabriel, I already tried In ower list in Argentina... I reveived a lot
of answers of people who wants to help me, but we can't find the
solution to my problem, because of that I'm asking here.
Anyway, thank's to try to aproach me to ower community in PyAr.
Ah, the thread is Guardar y recuperar
On Feb 6, 6:09 am, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Tue, 05 Feb 2008 22:34:59 -0200, E-Lo [EMAIL PROTECTED] escribió:
How can I start a file (on Windows) with the associated program,
http://docs.python.org/lib/os-process.html#l2h-2760
startfile(path[, operation])
Start a file
On 2008-01-29, Jeremy Sanders [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Any elegant way of breaking out of the outer for loop than below, I
seem to have come across something, but it escapes me
for i in outerLoop:
for j in innerLoop:
if condition:
break
Hello,
Sorry if this is a stupid question... I have some experience with C
but very little with Python.
I'd like to have one python program retrieve a reference or copy of an
object from another python process on the same computer. I know I can
use RPyC, but that seems like overkill. Is there
Natan Yellin wrote:
Hello,
Sorry if this is a stupid question... I have some experience with C
but very little with Python.
I'd like to have one python program retrieve a reference or copy of an
object from another python process on the same computer. I know I can
use RPyC, but that seems
[EMAIL PROTECTED] wrote:
Statestep (which includes Python code generation) might
be something to look at.
It's designed to help the user create simplified rules
to begin with rather than derive them post hoc (it's
really for much bigger problems where enumerating
individual rules like you've
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
Hi,
I'm looking for a job queue manager in Python, like TheSchwartz.[1].
I found there's TheSchawrtz server, RPC server powered by Gearman,
to which Python/Ruby can connect [2], but setting up two languages env
is a little cumbersome to me.
Is there any alternative to that in Python?
The
Internet
[EMAIL PROTECTED]
|---
| Internet |
| [EMAIL PROTECTED]|
| |
|
I try not to top-post in this group, but the strange formatting of the
message makes this advisable, as I am sure many people won't even
persist in reading down as far as the content.
Can I make a wild-assed guess that you are a Lotus Notes user reading
python-list? Please try and find a way
I try not to top-post in this group, but the strange formatting of the
message makes this advisable, as I am sure many people won't even
persist in reading down as far as the content.
Can I make a wild-assed guess that you are a Lotus Notes user reading
python-list? Please try and find
This is smells of homework. Here are few alternative solutions of mine
that I don't like. I presume a good teacher will refuse them all,
because no one of them uses the right tool :-) And every one of them
has some small problem (even if they work here).
data = \
itemTABLE/table
colorblack/color
On Tuesday 05 February 2008 18:58:49 John Nagle wrote:
So you really do have to COMMIT after a SELECT, if you are reusing
the database connection. CGI programs usually don't have this issue,
because their connections don't live long, but long-running FCGI (and maybe
Twisted) programs do.
[EMAIL PROTECTED] wrote:
I try not to top-post in this group, but the strange formatting of the
message makes this advisable, as I am sure many people won't even
persist in reading down as far as the content.
Can I make a wild-assed guess that you are a Lotus Notes user reading
[EMAIL PROTECTED] writes:
However I do understand where your coming from. You are right, I'm a Lotus
Notes user. If I didn't have to use it I wouldn't. If I had access to the
list from where I currently work any other way I would use that.
Have you tried www.gmane.org?
--
What objects need to be shared across interpreters?
My thought was to add an interpreter number to the PyThreadState structure, to
increment it when Py_NewInterpreter is called, and to keep track of the
interpreter that creates each object. On deletion, all memory belonging to
these objects
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Luis M. González
Sent: Tuesday, February 05, 2008 6:44 PM
To: python-list@python.org
Subject: Re: Why not a Python compiler?
Pypy is a very ambitious project and it aims, amongst many
On 6 Feb, 16:04, Frank Aune [EMAIL PROTECTED] wrote:
Whenever I did a SELECT() on the first connection, the cursor would
stop seeing new entries commited in the log table by the other connection.
I always assumed you needed COMMIT() after adding new content to the
database, not after every
On Tuesday 05 February 2008 15:22, Unnamed
One wrote:
First question - is it possible to set
font to default OS font for window text?
It would be preferable, while on my
Windows XP system Tkinter sets small
Helvetica-style font by default.
Secondly, can I set font globally (or
specify
On 2008-02-06, Reedick, Andrew [EMAIL PROTECTED] wrote:
Pypy is a very ambitious project and it aims, amongst many
other goals, to provide a fast just-in-time python
implementation. They even say that the secret goal is being
faster than c, which is nonsense, isn´t it? (I still didn´t
get
jim-on-linux wrote:
On Tuesday 05 February 2008 15:22, Unnamed
One wrote:
First question - is it possible to set
font to default OS font for window text?
It would be preferable, while on my
Windows XP system Tkinter sets small
Helvetica-style font by default.
Secondly, can I set font
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Grant Edwards
Sent: Wednesday, February 06, 2008 10:35 AM
To: python-list@python.org
Subject: Re: Why not a Python compiler?
On 2008-02-06, Reedick, Andrew [EMAIL PROTECTED] wrote:
Pypy
Mark wrote:
Is it possible to traverse say python lists via http://
say there is a list in the memory
can we traverse the list using list/next list/prev list/first list/last
is there a pythonic library to do that?
thanks
It sounds like what you want would be implemented using XMLRPC
js wrote:
Hi,
I'm looking for a job queue manager in Python, like TheSchwartz.[1].
I found there's TheSchawrtz server, RPC server powered by Gearman,
to which Python/Ruby can connect [2], but setting up two languages env
is a little cumbersome to me.
Is there any alternative to that in
Larry Bates wrote:
js wrote:
Hi,
I'm looking for a job queue manager in Python, like TheSchwartz.[1].
I found there's TheSchawrtz server, RPC server powered by Gearman,
to which Python/Ruby can connect [2], but setting up two languages env
is a little cumbersome to me.
Is there any
Reedick, Andrew wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Grant Edwards
Sent: Wednesday, February 06, 2008 10:35 AM
To: python-list@python.org
Subject: Re: Why not a Python compiler?
On 2008-02-06, Reedick, Andrew [EMAIL
Reedick, Andrew wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Luis M. González
Sent: Tuesday, February 05, 2008 6:44 PM
To: python-list@python.org
Subject: Re: Why not a Python compiler?
Pypy is a very ambitious project and it
I've got an array that looks like this:
p.xv[20:25]
array([[ 1.60783821e-01, 1.04174046e+01, -1.74045566e-03,
6.02421398e-01, 2.16078382e+00, -1.60783821e-02],
[ 1.66704816e-01, 1.04390422e+01, -1.90421758e-03,
5.81767402e-01, 2.16670482e+00,
Hi Carl,
Well, lets suppose that being faster than C is the real goal...
Are you confident that it will be reached? How far is it at this moment?
I've been following the project but the scarcity of news is getting me
anxious...
Cheers,
Luis
On Feb 6, 2008 2:14 PM, Carl Friedrich Bolz [EMAIL
Hi, I am trying to set a cookie on a client computer using the Cookie
module however all I get is the text being printed in the browser
window. Can anyone point me in the right direction so that the cookie
data is set without it appearing in the browser? A shortened version
of the code is below,
En Wed, 06 Feb 2008 05:36:05 -0200, Stefan Witzel
[EMAIL PROTECTED] escribi�:
the documentation of the smtpd module in the Python Library Reference
is very short, I think. Are there any examples available? Especially
I'm interested in the DebuggingServer.
Yes, the documentation is rather
Hi
I was trying to install PyQt, but things don't work as promised.
I'm working on OS X 10.5, didn't install another version of Python -
so it's 2.5.1 -, installed the latest qt-mac-opensource-4.3.3.dmg
and the latest sip 4.7.3. But when I then try to run python
configure.py for PyQt 4.3.3
En Wed, 06 Feb 2008 12:39:55 -0200, [EMAIL PROTECTED]
escribió:
If I had access to the
list from where I currently work any other way I would use that.
Have you Web access? You can read *and* post messages using:
Google Groups
http://groups.google.com/group/comp.lang.python/
Gmane
Marcus Strube schrieb:
Hi
I was trying to install PyQt, but things don't work as promised.
I'm working on OS X 10.5, didn't install another version of Python - so
it's 2.5.1 -, installed the latest qt-mac-opensource-4.3.3.dmg and the
latest sip 4.7.3. But when I then try to run python
Hi Luis,
Luis M. Gonzalez wrote:
Well, lets suppose that being faster than C is the real goal...
How about we call it a very long-term dream?
Are you confident that it will be reached?
We have ideas how to get there, but it is really rather long-term. There
will be a lot of research needed
I wrote a lil module using paramiko's module to send a file via
sftp.. it works great using the username and password.
I would prefer to use id_dsa.pub to have an autologon and not save
the
password anywhere on the disk.. I cant find a good example of this.
Can anyone help ?
When you have
On Wednesday 06 February 2008, Marcus Strube wrote:
Hi
I was trying to install PyQt, but things don't work as promised.
I'm working on OS X 10.5, didn't install another version of Python -
so it's 2.5.1 -, installed the latest qt-mac-opensource-4.3.3.dmg
and the latest sip 4.7.3. But when I
On Feb 5, 11:47 am, Stefan Behnel [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Mike C. Fletcher:
Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
http://shootout.alioth.debian.org/sandbox/benchmark.php?test=alllang...
This
On Feb 6, 12:04 am, [EMAIL PROTECTED] wrote:
Stefan Behnel:
This doesn't look like Mono to me:
IronPython 1.1 (1.1) on .NET 2.0.50727.42
You are right!
No.
I think this shows that IronPython isn't faster than
CPython at all :-) (And it uses more memory).
--
En Wed, 06 Feb 2008 14:02:35 -0200, Unnamed One [EMAIL PROTECTED]
escribi�:
jim-on-linux wrote:
On Tuesday 05 February 2008 15:22, Unnamed
One wrote:
First question - is it possible to set
font to default OS font for window text?
It would be preferable, while on my
Windows XP system
Max Abrahams wrote:
I've got an array that looks like this:
p.xv[20:25]
array([[ 1.60783821e-01, 1.04174046e+01, -1.74045566e-03,
6.02421398e-01, 2.16078382e+00, -1.60783821e-02],
[ 1.66704816e-01, 1.04390422e+01, -1.90421758e-03,
5.81767402e-01,
What objects need to be shared across interpreters?
My thought was to add an interpreter number to the PyThreadState
structure, to increment it when Py_NewInterpreter is called, and to
keep track of the interpreter that creates each object. On deletion,
all memory belonging to these
sorry, i should've been more specific, this is a numpy array.
--
http://mail.python.org/mailman/listinfo/python-list
En Wed, 06 Feb 2008 15:27:53 -0200, rodmc [EMAIL PROTECTED]
escribi�:
Hi, I am trying to set a cookie on a client computer using the Cookie
module however all I get is the text being printed in the browser
window. Can anyone point me in the right direction so that the cookie
def
The Grant Institute's Grants 101: Professional Grant Proposal Writing Workshop
will be held in Salt Lake City, Utah, May12 -14, 2008. Interested development professionals, researchers, faculty, and graduate students should register as soon as possible, as demand means that seats will fill up
Thanks for the response, is there an example bit of code somewhere i
could digest ?
On Feb 6, 1:35 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
I wrote a lil module using paramiko's module to send a file via
sftp.. it works great using the username and password.
I would prefer to use
Just to clarify my earlier comment...
IDLE (on Windows, at least) creates a folder called .idlerc in the
current directory when it is called. If you amend the key bindings
two files, config-keys.cfg and config-main.cfg are created. config-
keys.cfg contains the amended key bindings and
URL:http://www.scipy.org/Cookbook/InputOutput
hth,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
Thank you, Matt, for your valuable advice!
My application is converting (to sftp/ssh) a script which used ftp/telnet to
load/copy/zip files with labels to/from a ClearCase server. ClearCase is a
version control software similar to MS Source Safe or PVCS. The command 'ct
setview aViewName' is
Hi all,
So I understand that properties belong to a class not an instance, but
nonetheless I want to add properties to an instance. I have a class
which when an instance is created runs some fairly complicated code
and produces a set of names which I'd like to be able to access via
properties. At
Mike Hjorleifsson wrote:
Thanks for the response, is there an example bit of code somewhere i
could digest ?
I did
c.connect(hostname,username=loewis)
with ssh-agent, and it worked just fine.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Here's one way of doing what you're asking... I would suggest using
__getattribute__ and __setattr__ to dispatch the methods to the custom class
you invent that holds all those properties.
For example (I simplified your makeprops into __init__ just to keep the
example short, but you can probably
Er, instead of getattr(self,...) you gotta do
object.__getattr__(self,...) and same for setattr and delattr. Dumb error
on my part. (Otherwise you get infinite recursion!)
On Feb 6, 2008 12:43 PM, Jared Grubb [EMAIL PROTECTED] wrote:
Here's one way of doing what you're asking... I would suggest
def run3( block ):
for _ in range( 3 ):
block()
run3():
normal_suite()
Introduces new syntax; arbitrary functions can follow 'colon'.
Maintains readability, meaning is consistent.
Equivalent to:
def run3( block ):
for _ in range( 3 ):
block()
@run3
def anonfunc():
Hello All,
I have several .NET DLL (I have no source code for them), is there
anyway to use them from python instead of from C#.
Thanks,
Huayang
--
http://mail.python.org/mailman/listinfo/python-list
The following links *may* put you on the right path:
Calling DLL functions from Python (
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847 ), a
fairly complete description with some helper class code. Another example
( http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/181063 )
On Feb 5, 7:47 pm, Stefan Behnel [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Mike C. Fletcher:
Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
http://shootout.alioth.debian.org/sandbox/benchmark.php?test=alllang...
This
On Feb 5, 6:52 pm, Steve Holden [EMAIL PROTECTED] wrote:
Jeff wrote:
IronPythonruns on top of .NET. I would be suspect of any claims that
it is faster than cPython, just as I would of claims that Stackless or
Jython are faster.
Well don't be. There are benchmarks that clearly
On Wed, 2008-02-06 at 13:39 -0800, Fuzzyman wrote:
On Feb 5, 7:47 pm, Stefan Behnel [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Mike C. Fletcher:
Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
Thanks. Found that 10 minutes after I sent.
On Feb 6, 2008, at 4:57 AM, Diez B. Roggisch wrote:
Sean Allen wrote:
ok, what am i doing wrong?
in current working directory i have:
t.py
sub/t1.py
t.py is:
import sub.t1
i get:
ImportError: No module named sub.t1
t.py is
import
En Wed, 06 Feb 2008 18:06:48 -0200, [EMAIL PROTECTED]
escribió:
So I understand that properties belong to a class not an instance, but
nonetheless I want to add properties to an instance. I have a class
which when an instance is created runs some fairly complicated code
and produces a set
Isaac Gouy wrote:
On Feb 5, 11:47 am, Stefan Behnel [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Mike C. Fletcher:
Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
Fuzzyman wrote:
On Feb 5, 7:47 pm, Stefan Behnel [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Mike C. Fletcher:
Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
Reedick, Andrew wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Grant Edwards
Nothing can travel faster than the speed of light
_in_a_vacuum_. There are situtaitons where things can (and
regularly do) travel faster than light:
On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote:
Hello All,
I have several .NET DLL (I have no source code for them), is there
anyway to use them from python instead of from C#.
Thanks,
Huayang
I used to put my .dll files into the .DLL folder, so I could simply
import them as I
Cool, but sched saves job in memory...
cron can't be an option. It's just a scheduler not a job queue.
On Feb 7, 2008 1:36 AM, Larry Bates [EMAIL PROTECTED] wrote:
js wrote:
Hi,
I'm looking for a job queue manager in Python, like TheSchwartz.[1].
I found there's TheSchawrtz server, RPC
Are there any Python libraries implementing measurement of similarity
of two strings of Latin characters?
I'm writing a script to guess-merge two tables based on people's
names, which are not necessarily spelled the same way in both tables
(especially the given names). I would like some function
Hi
How do I get user defined attributes of a class? e.g
Class A(object) :
self.x = 1
--
I want something like:
for userattrib in A.getAllUserAttribute() :
print userattrib
My question is, is there a builtin function, called
getAllUserAttributes?
Thanks
--
On 6 fév, 21:06, [EMAIL PROTECTED] wrote:
Hi all,
So I understand that properties belong to a class not an instance, but
nonetheless I want to add properties to an instance.
While this is technically possible (I tried a couple years ago), it
requires hacking the __getattribute__ method, which
On Wed, 06 Feb 2008 14:07:23 -0800, Amit Gupta wrote:
Class A(object) :
self.x = 1
This is not valid Python code.
I want something like:
for userattrib in A.getAllUserAttribute() :
print userattrib
My question is, is there a builtin function, called
getAllUserAttributes?
No
Are there any Python libraries implementing measurement of similarity
of two strings of Latin characters?
It sounds like you're interested in calculating the Levenshtein
distance:
http://en.wikipedia.org/wiki/Levenshtein_distance
which gives you a measure of how different they are. A
On Feb 6, 4:59 pm, Luis M. González [EMAIL PROTECTED] wrote:
On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote:
Hello All,
I have several .NET DLL (I have no source code for them), is there
anyway to use them from python instead of from C#.
Thanks,
Huayang
I used to put my
sorry i meant a code example that i pass the id_dsa.pub file contents
too
so i am not reliant on the host system to have the ssh-agent.
On Feb 6, 3:09 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
Mike Hjorleifsson wrote:
Thanks for the response, is there an example bit of code somewhere i
Or maybe we can do it in IronPython?
--
http://mail.python.org/mailman/listinfo/python-list
js wrote:
Cool, but sched saves job in memory...
cron can't be an option. It's just a scheduler not a job queue.
Note that at and batch *are* job queues.
regards
Steve
--
Steve Holden+1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
--
Huayang Xia wrote:
I have several .NET DLL (I have no source code for them), is there
anyway to use them from python instead of from C#.
En Wed, 06 Feb 2008 19:37:02 -0200, Shane Geiger [EMAIL PROTECTED]
escribió:
Calling DLL functions from Python
On Feb 6, 2:15 pm, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Wed, 06 Feb 2008 14:07:23 -0800, Amit Gupta wrote:
Class A(object) :
self.x = 1
This is not valid Python code.
I want something like:
for userattrib in A.getAllUserAttribute() :
print userattrib
My
Cool, but sched saves job in memory...
cron can't be an option. It's just a scheduler not a job queue.
You could probably make lpd do what you want to do.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
I have looked through Python Database API Specification v2.0, but can
not find any reference to the number of records processed in a select
query.
I know I can get the number of records returned with cursor.rowcount,
but I want to know the number of records processed.
I suppose the info is in
On Feb 6, 10:54 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
I'd suggest a small improvement: _A as a class name isn't very nice.
Replace the inner class statement with:
_A = type(self.__class__.__name__ + '_autoprops', (self.__class__,), {})
Ah yes, that's much nicer.
A problem with this
Huayang Xia wrote:
Is there anyway to import class (to generate objects) from .NET DLL?
You can use PythonDotNET if you want to access .NET assemblies in
CPython (the standard Python implementation written in C).
Christian
--
http://mail.python.org/mailman/listinfo/python-list
Amit Gupta schrieb:
On Feb 6, 2:15 pm, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Wed, 06 Feb 2008 14:07:23 -0800, Amit Gupta wrote:
Class A(object) :
self.x = 1
This is not valid Python code.
I want something like:
for userattrib in A.getAllUserAttribute() :
print
Tim Chase wrote:
Are there any Python libraries implementing measurement of similarity
of two strings of Latin characters?
It sounds like you're interested in calculating the Levenshtein distance:
http://en.wikipedia.org/wiki/Levenshtein_distance
which gives you a measure of how
[EMAIL PROTECTED] schrieb:
def run3( block ):
for _ in range( 3 ):
block()
run3():
normal_suite()
Introduces new syntax; arbitrary functions can follow 'colon'.
Maintains readability, meaning is consistent.
Equivalent to:
def run3( block ):
for _ in range( 3 ):
On Feb 6, 11:09 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
While this is technically possible (I tried a couple years ago), it
requires hacking the __getattribute__ method, which is something I
would not recommand, not only because it can be tricky, but mostly
because this is a very
On Feb 6, 2:55 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Amit Gupta schrieb:
On Feb 6, 2:15 pm, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Wed, 06 Feb 2008 14:07:23 -0800, Amit Gupta wrote:
Class A(object) :
self.x = 1
This is not valid Python code.
I want
Win2k Pro - installed python: ok
Example 2.1 from DiveIntoPython tutorial copied
and pasted into Pythonwin - Python IDE and GUI
Framework for Windows.
--
def buildConnectionString(params):
Build a connection string from a dictionary
[EMAIL PROTECTED] wrote:
sorry, i should've been more specific, this is a numpy array.
It's usually best to ask numpy questions on the numpy mailing list for this
reason.
http://www.scipy.org/Mailing_Lists
--
Robert Kern
I have come to believe that the whole world is an enigma, a
Jeff Schwab wrote:
Tim Chase wrote:
Are there any Python libraries implementing measurement of similarity
of two strings of Latin characters?
It sounds like you're interested in calculating the Levenshtein distance:
http://en.wikipedia.org/wiki/Levenshtein_distance
which gives you a
On Wed, 06 Feb 2008 23:59:27 +0100, Diez B. Roggisch [EMAIL PROTECTED]
wrote:
[EMAIL PROTECTED] schrieb:
def run3( block ):
for _ in range( 3 ):
block()
run3():
normal_suite()
Introduces new syntax; arbitrary functions can follow 'colon'.
Maintains readability, meaning is
On Wed, 06 Feb 2008 10:14:10 -0600, Reedick, Andrew wrote:
'c' is also the speed of light.
'c' is the speed of light _in_a_vacuum_.
True.
And since nothing can travel faster than light...
Nothing can travel faster than the speed of light _in_a_vacuum_. There
are situtaitons
mcl wrote:
I have looked through Python Database API Specification v2.0, but can
not find any reference to the number of records processed in a select
query.
I know I can get the number of records returned with cursor.rowcount,
but I want to know the number of records processed.
If you
Alan Illeman wrote:
Win2k Pro - installed python: ok
Example 2.1 from DiveIntoPython tutorial copied
and pasted into Pythonwin - Python IDE and GUI
Framework for Windows.
--
def buildConnectionString(params):
Build a
On Wed, 2008-02-06 at 18:53 -0500, Steve Holden wrote:
If you mean the number of (say) rows updated by a SQL UPDATE statement,
the DB API does not provide any way to access that information
It doesn't? Isn't that what cursor.rowcount does?
--
Carsten Haese
http://informixdb.sourceforge.net
1 - 100 of 185 matches
Mail list logo