The main idea behind tk_happy is to allow a fully "wired" Tkinter
application to be quickly created . The users main responsibility is to add logic to the Tkinter framework created by tk_happy.
http://tk-happy.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-announce-list
FlightFeather's goal is social networking for everyone. This means
that *anyone* should have a chance to run a *popular* social
networking site -- on minimal hardware, and without wasting bandwidth.
Release 0.3.0 is the current development release. It introduces a
feature that allows easy
person.name = 'Joe'
person.age = 20
person.sex = 'm'
info_I_need = name
print person.info_I_need
# How can I make it print 'Joe' ?
Sean
DataFly.Net
Complete Web Services
http://www.datafly.net
--
http://mail.python.org/mailman/listinfo/python-list
Sean Schertell wrote:
person.name = 'Joe'
person.age = 20
person.sex = 'm'
info_I_need = name
print person.info_I_need
# How can I make it print 'Joe' ?
Sean
DataFly.Net
Complete Web Services
http://www.datafly.net
Like this:
info_I_need = 'name'
print
W. Watson a écrit :
I downloaded python-2.5.msi and installed it. I believe its editor is
IDE. I understand there's a Win editor called pythonwin. I believe it's
in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this
exe file has just the editor or all of Python. Comments? If
Paul Boddie wrote:
Michael Yanowitz wrote:
I guess I am looking for something portable (both
Windows and Linux) where I can abort a function after
a certain time limit expires.
Doing a search for timeout function Python on Google reveals a number
of approaches.
Using threads:
Sean Schertell a écrit :
person.name = 'Joe'
person.age = 20
person.sex = 'm'
info_I_need = name
print person.info_I_need
# How can I make it print 'Joe' ?
print getattr(person, name)
--
http://mail.python.org/mailman/listinfo/python-list
Hi Eugene,
I tried with conn.commit() as well,,but doesnt seem to work.
Also i cannot even view the existing tables via python script.For example,,,i
have manually added a customer table in my database.but if i execute the query,
select * from customer,,,i get the following error:
Gert Cuykens a écrit :
Reading all of the above this is the most simple i can come too.
import MySQLdb
class Db:
def __init__(self,server,user,password,database):
self._db=MySQLdb.connect(server , user , password , database)
self._db.autocommit(True)
Laurent Pointal wrote:
W. Watson a écrit :
I downloaded python-2.5.msi and installed it. I believe its editor is
IDE. I understand there's a Win editor called pythonwin. I believe it's
in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this
exe file has just the editor or
hg a écrit :
Hi,
Is there a way to do that ?
Regards,
hg
Some links:
Official doc:
http://docs.python.org/lib/mmedia.html
== http://docs.python.org/lib/module-ossaudiodev.html
PyAudio (binding to portaudio):
== http://people.csail.mit.edu/hubert/pyaudio/
Maybe with pyGame (and
Jan Danielsson a écrit :
Hello all,
I have a backup system which produces files using the following pattern:
...
Obviously, I have little need for *all* those files. What I want to
do is to delete old files according to this pattern:
- Keep all backup files which are two weeks,
Hi people!
I spent some time looking for any tutorials or examples, but I didn't find
anything.
All the Best,
kKR
--
http://mail.python.org/mailman/listinfo/python-list
hg wrote:
Hi,
Is there a way to do that ?
I can do it, into my debian, with a:
michele:~$ echo -e \007 /dev/tty
It's very simple to reproduce it with python and os.system or subprocess.
Michele
--
http://mail.python.org/mailman/listinfo/python-list
Gary Jefferson wrote:
Suppose I have 3 modules that belong to a project, 'A', 'A.a' and 'B',
and each module has its own logger, created with:
module1logger = logging.getLogger('project.A')
and
module2logger = logging.getLogger('project.A.a')
and
module3logger =
stef a écrit :
Laurent Pointal wrote:
W. Watson a écrit :
I downloaded python-2.5.msi and installed it. I believe its editor is
IDE. I understand there's a Win editor called pythonwin. I believe it's
in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this
exe file has just
=
PyPy Trillke EU and beyond! sprints (25-28th Feb, 1-5th March 2006)
=
..image:: http://www.trillke.net/images/HausPanorama0304_113kb.jpg
Some two
Tobiah [EMAIL PROTECTED] writes:
Looking at the problem further, I am getting the idea that
PGP, or GPG (Asymetric encryption) would be better, because
then all of the software that has to *write* CC numbers, would
not have to access the 'secret' key.
Yes.
PGP sounds great, but it seems
Hello everyone!
I have a piece of code that looks like this:
if len(BuildList) 0:
print The script found %d game directories: % len(BuildList)
print
num = 0
for i in BuildList:
print str(num) ++ i
num = num + 1
print
print Select a build number
Gary Jefferson wrote:
Vinay Sajip wrote:
BTW I would also advise reading PEP-282 to understand more about the
logging approach.
You've been most helpful, Vinay. The PEP section on Filters states
that I can do what I've been trying to do with filters, but doesn't
provide enough
I have a piece of code that looks like this:
if len(BuildList) 0:
print The script found %d game directories: % len(BuildList)
print
num = 0
for i in BuildList:
print str(num) ++ i
num = num + 1
print
print Select a build number from 0 to
Am Dienstag, 23. Januar 2007 02:16 schrieb Nanjundi:
BJörn Lindqvist wrote:
I want to use Python to connect to a SSH account over a HTTP proxy to
automate some operations. I thought paramiko would be able to do that,
but it can not (it seems).
Is there some other Python module that can
[EMAIL PROTECTED] writes:
print Select a build number from 0 to + str(len(BuildList) - 1)
buildNum = int(raw_input('Select build # '))
while buildNum (len(BuildList) -1) or buildNum = -1:
print
print Error: Invalid build number!
print Select a build
I'm trying to 'convert' my self from Qt3 to Qt4 (it rocks!) and one
thing seem strange:
With Qt3 I usually did from qt import *, but this does not seem to
work with Qt4. I have to use from PyQt4 import QtGui , QtCore and also
have to use QtCore.something.
Like when connecting a button:
Any idea to work with windows shared folders?
Which library is needed to execute console comands?
Thankyou.
--
http://mail.python.org/mailman/listinfo/python-list
Glad to see another Zaurus lovin' Pythonite.
;-)
and also thanks to you
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I have a class URI and a bunch of derived sub-classes for example
HttpURI, FtpURI, HttpsURI, etc. (this is an example, I know there is
module urllib friends, however my actual problem however maps very
well to this example).
Now I want to pass a string to constructor of URI() and get an
I have a class URI and a bunch of derived sub-classes for example
HttpURI, FtpURI, HttpsURI, etc. (this is an example, I know there is
module urllib friends, however my actual problem however maps very
well to this example).
Now I want to pass a string to constructor of URI() and get an
I have to do a big programm. Could someone give me some suggests about
IDE (on Linux) and books to learn.
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I'm using SPE (Stani's Python Editor)
http://projects.blender.org/projects/spe
It works very good and incorporates WX support.
Pat wrote:
I have to do a big programm. Could someone give me some suggests about
IDE (on Linux) and books to learn.
--
Pat wrote:
I have to do a big programm. Could someone give me some suggests about
IDE (on Linux) and books to learn.
http://groups.google.com/groups/search?q=python+ideqt_s=Search
Lots and lots to read :)
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
why does CPython require to wrap the free variables if
closure functions by a cell objects?
why can't it just pass the object itself?
def f(x):
... def g():
... return x+2
... return g
...
g5 = f(5)
dis(g5)
3 0 LOAD_DEREF 0 (x)
3
Tina I wrote:
self.connect(self.ui.testButton, QtCore.SIGNAL(clicked()),
self.doSomething)
Anyone know why this is? Or am I missing something very basic here? (I'm
still very much a noob I guess)
If you want to import both you can do something like:
import PyQt4.Qt as Qt
which imports
gangesmaster wrote:
why does CPython require to wrap the free variables if
closure functions by a cell objects?
why can't it just pass the object itself?
def f(x):
... def g():
... return x+2
... return g
...
g5 = f(5)
dis(g5)
3 0 LOAD_DEREF
gangesmaster [EMAIL PROTECTED] wrote:
what problem does the cell object solve?
The closure represents the variable, not the object. So if x is rebound to
a different object your inner function g() will now access the new object.
If the object itself was passed to MAKE_CLOSURE then g would
Pat a écrit :
I have to do a big programm. Could someone give me some suggests about
IDE (on Linux) and books to learn.
+ For the IDE:
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
Test some, take the one corresponding to your taste/feeling.
+ For books:
Marcpp wrote:
Any idea to work with windows shared folders?
Which library is needed to execute console comands?
Don't you want to look at fusesmb first and then work with windows files
and dirs as well as with any others.
--
Sincerely,
Eugene Antimirov
PortaOne, Inc., SIP Support Engineer
On Tuesday 23 January 2007 10:31 am, Tina I wrote:
I'm trying to 'convert' my self from Qt3 to Qt4 (it rocks!) and one
thing seem strange:
With Qt3 I usually did from qt import *, but this does not seem to
work with Qt4. I have to use from PyQt4 import QtGui , QtCore and also
have to use
Anyone had any joy with this using FC6?? When I try to run code editor
I get the error Traceback (most recent call last):
File
/usr/lib/python2.4/PythonCard-0.8.2/tools/codeEditor/codeEditor.py,
line 13, in ?
from PythonCard import about, configuration, dialog, log, menu,
model, resource,
Jorgen Grahn [EMAIL PROTECTED] skriver:
I am pretty sure there is. Or at least TCP-over-HTTP, or IP-over-HTTP. An
acquaintance of mine used it to tonnel home through a corporate firewall. I
think -- I didn't want to know the details.
Ypu can tunnel ip over anything. (Even email if you like...)
Phil Thompson wrote:
The module structure of PyQt reflects the library structure of Qt. Qt4 has
different libraries to Qt3 so PyQt4 has different modules to PyQt3.
The top level PyQt4 module ensures that PyQt3, PyQt4 (and eventually PyQt5)
can all be installed side by side in the same
Hello
Problem: I want to send a Python script to someone running AIX Unix but
who can't (or won't) compile or otherwise install the Python
interpreter. If I have compiled Python on the same version of AIX,
what would I need to provide to the user to enable him to run the
script?
Thanks
Gerard
hg wrote:
Hi,
Is there a way to do that ?
Regards,
hg
Thanks to all ... got some reading to do.
hg
--
http://mail.python.org/mailman/listinfo/python-list
Chuck Rhode wrote:
hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is
below.
Is there a way to do that? (Make noise.)
In Gnome there is:
gtk.gdk.beep()
--
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather: http://LacusVeris.com/WX
.. 28° ? Wind WSW 10 mph ? Sky
Hello everyone,
i would like to use python to perform some simulation involving collisions
of colloidal particles.
which is the best package/engine to do that in python?
thanks,
T
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I would like to save a URL into a file. I need to manage cookies and use
my own HTTP headers so I'm using urllib2 and a custom openerdirector.
Here is a code fragment:
while True:
data = openerdirector.read(1024)
On Jan 23, 5:09 am, GiBo [EMAIL PROTECTED] wrote:
Hi all,
I have a class URI and a bunch of derived sub-classes for example
HttpURI, FtpURI, HttpsURI, etc. (this is an example, I know there is
module urllib friends, however my actual problem however maps very
well to this example).
Now I
ugliness :)
so this is why [lambda: i for i in range(10)] will always return 9.
imho that's a bug, not a feature.
thanks.
-tomer
Duncan Booth wrote:
gangesmaster [EMAIL PROTECTED] wrote:
what problem does the cell object solve?
The closure represents the variable, not the object. So if x
Hello,
I am trying to use UI Automation to drive an MS Windows app (with pywinauto).
I need to scrape the app's window contents and use some form of OCR to get at
the texts (pywinauto can't get at them).
As an alternative to integrating an OCR engine, and since I know the fonts and
sizes used
Hi,
I need to build a toolbar for internet explorer which will have an embedded
paintbrush like application. The user should be able to draw on the drawing
canvas of that application and submit to post his drawings on my server.
I have built up a toolbar and a standalone paintbrush app in VC++.
On 1/23/07, Boris Borcic [EMAIL PROTECTED] wrote:
Hello,
I am trying to use UI Automation to drive an MS Windows app (with pywinauto).
I need to scrape the app's window contents and use some form of OCR to get at
the texts (pywinauto can't get at them).
As an alternative to integrating an
Is python affected by the 2007 DST changes in the US? Other than making sure
the OS is patched correctly (Win 2K and Solaris 8) is there anything else
that needs to be done from a Python point of view?
Thanks,
Kevin Kelley
--
http://mail.python.org/mailman/listinfo/python-list
gangesmaster [EMAIL PROTECTED] writes:
so this is why [lambda: i for i in range(10)] will always return 9.
imho that's a bug, not a feature.
Use [(lambda j: lambda: j)(i) for i in range(10)]
or the Python idiom [(lambda i=i: i) for i in range(10)]
--
A very simple question. I would like to read a single character from the
keyboard (y or n). I have tried to look in my Python books and a google
search, but have come up empty. I am sure the info s out there, but I
guess I am unable to find the right question or search keyword :o/
Any hints or
On 2007-01-22, questions? [EMAIL PROTECTED] wrote:
Are there any sprintf in Python?
I know you can print to files(or redefine sys.stout) and later open the
file content.
Are there similar function to sprintf in C?
No, but you can compose a similar function very easily.
def sprintf(format,
On 2007-01-22, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Boris Ozegovic:
Does Python has API just like in Java, for example
http://java.sun.com/j2se/1.5.0/docs/api/allclasses-noframe.html ctrl-f and
than click on class you are searching for, and finally you get clean list
of all fields and
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| Hello everyone,
| i would like to use python to perform some simulation involving
collisions
| of colloidal particles.
| which is the best package/engine to do that in python?
| thanks,
I would start with numpy/scipy and perhaps look
from smtplib import SMTP
from socket import sslerror #if desired
server = SMTP('smtp.gmail.com')
server.set_debuglevel(0) # or 1 for verbosity
server.ehlo('[EMAIL PROTECTED]')
server.starttls()
server.ehlo('[EMAIL PROTECTED]') # say hello again
server.login('[EMAIL PROTECTED]',
Tommy Grav wrote:
A very simple question. I would like to read a single character from the
keyboard (y or n). I have tried to look in my Python books and a google
search, but have come up empty. I am sure the info s out there, but I
guess I am unable to find the right question or search
On Tue, 23 Jan 2007 17:25:24 GMT, py [EMAIL PROTECTED] wrote:
from smtplib import SMTP
from socket import sslerror #if desired
server = SMTP('smtp.gmail.com')
server.set_debuglevel(0) # or 1 for verbosity
server.ehlo('[EMAIL PROTECTED]')
server.starttls()
server.ehlo('[EMAIL PROTECTED]')
On 2007-01-23, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
hi
i wish to find an reg exp for matching nested parenthesis of
varying level like
string =
It is not possible, because the set of strings containing
balanced parenthesis is not regular. Python re's aren't *really*
regular expressions,
Hi,
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I cannot overload the assignment of A. I understand that
this is due to the nature
Tommy Grav napisal(a):
A very simple question. I would like to read a single character from the
keyboard (y or n). I have tried to look in my Python books and a google
search, but have come up empty. I am sure the info s out there, but I
guess I am unable to find the right question or search
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am following this python example trying to time how long does an
operation takes, like this:
My question is why the content of the file (dataFile) is just '0.0'?
I have tried print dataFile, timeTaken or print dataFile,str(
timeTaken), but
Achim Domma wrote:
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I cannot overload the assignment of A. I understand that
this
At Tuesday 23/1/2007 15:28, [EMAIL PROTECTED] wrote:
A very simple question. I would like to read a single character from the
keyboard (y or n). I have tried to look in my Python books and a google
Actually, if you want to read only one character from keyboard, you
will need to use terminal
[EMAIL PROTECTED] wrote:
Hello everyone,
i would like to use python to perform some simulation involving collisions
of colloidal particles.
which is the best package/engine to do that in python?
What kind of numerical methods does such simulation require?
--
Robert Kern
I have come to
Hi,
checkout MMTK package
http://dirac.cnrs-orleans.fr/MMTK/
regards,
KM
On 1/24/07, Robert Kern [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello everyone,
i would like to use python to perform some simulation involving
collisions
of colloidal particles.
which is the best
On Jan 23, 12:24 pm, Achim Domma [EMAIL PROTECTED] wrote:
Hi,
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I cannot overload the
I've posted a simple Matrix class on my website as a small-footprint
package for doing basic calculations on matrices up to about 10x10 in
size (no theoretical limit, but performance on inverse is exponential).
Includes:
- trace
- transpose
- conjugate
- determinant
- inverse
-
Achim Domma wrote:
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I cannot overload the assignment of A. I understand that
I am trying to use UI Automation to drive an MS Windows app (with pywinauto).
I need to scrape the app's window contents and use some form of OCR to get at
the texts (pywinauto can't get at them).
As an alternative to integrating an OCR engine, and since I know the fonts and
sizes used to
On 23 Jan 2007 12:06:35 -0800, imageguy [EMAIL PROTECTED] wrote:
I am trying to use UI Automation to drive an MS Windows app (with
pywinauto).
I need to scrape the app's window contents and use some form of OCR to get
at
the texts (pywinauto can't get at them).
As an alternative
[EMAIL PROTECTED] wrote:
Hello everyone,
i would like to use python to perform some simulation involving collisions
of colloidal particles.
which is the best package/engine to do that in python?
thanks,
T
Maybe this is what you're looking for ...
http://simmodel.tigris.org/
... but I
gangesmaster [EMAIL PROTECTED] wrote:
ugliness :)
so this is why [lambda: i for i in range(10)] will always return 9.
imho that's a bug, not a feature.
Horses for courses.
There are cases where you need to get the latest value of the bound
variable, and there are cases where you want the
Sorry for the lame question, I'm still trying to pick up Python and new to
the list here.
Question:
I'm trying to write a python script that will access an FTP site and upload
some files. I've gotten everything working except for the actual uploading
of the files.
I'm assuming that I should
import MySQLdb
class Db(object):
def __enter__(self):
pass
def __init__(self,server,user,password,database):
self._db=MySQLdb.connect(server , user , password , database)
self._db.autocommit(True)
self.cursor=self._db.cursor()
def execute(self,cmd):
Ah, thank you for the respone!
I have not gotten around to test it yet, but I hope it will work! :)
-Daniel
2007-01-23 10:59:37
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]
Hello everyone!
I have a piece of code that looks like this:
if len(BuildList) 0:
print The script
Achim Domma schrieb:
Hi,
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I cannot overload the assignment of A. I understand that
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two packages should I
learn, and which one is
questions? [EMAIL PROTECTED] writes:
Are there any sprintf in Python?
I know you can print to files(or redefine sys.stout) and later open the
file content.
Are you looking for something like this?
http://norvig.com/python-iaq.html
or
Daniel Jonsson wrote:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two packages should I
On Tue, 23 Jan 2007 19:42:01 +0100, Peter Otten wrote:
Achim Domma wrote:
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading * is no
problem but I
Daniel Jonsson wrote:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two packages should I
On Jan 23, 2007, at 4:01 PM, Daniel Jonsson wrote:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of
Daniel Jonsson wrote:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two packages should I
Daniel Jonsson [EMAIL PROTECTED] writes:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two
Paul McGuire wrote:
Simple option: how do you feel about using '=' instead of '=' (by
defining __ilshift__)? This gives you:
A = B * C
(looks sort of like injecting the result of B times C into A)
Thanks! That is exactly the kind of solution I was looking for! :-)
Achim
--
On 1/23/07, Daniel Jonsson [EMAIL PROTECTED] wrote:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of
In comp.os.linux.misc David Waizer [EMAIL PROTECTED] wrote:
Hello..
I'm looking for a script (perl, python, sh...)or program (such as wget)
that will help me get a list of ALL the links on a website.
lynx -dump (look at the bottom)
--
William Park [EMAIL PROTECTED], Toronto, Canada
I've downloaded both the wxPython and the PyQt4 package, and by the
first impression I must say that the PyQt4 system had a very
compelling presentation. From what I can understand from the feedback
I've gotten so far is that the wxPython is a better choice when it
comes to compability (with
Steven D'Aprano wrote:
On Tue, 23 Jan 2007 19:42:01 +0100, Peter Otten wrote:
Achim Domma wrote:
I want to use Python to script some formulas in my application. The user
should be able to write something like
A = B * C
where A,B,C are instances of some wrapper classes. Overloading *
Paul McGuire wrote:
On Jan 23, 5:09 am, GiBo [EMAIL PROTECTED] wrote:
Hi all,
I have a class URI and a bunch of derived sub-classes for example
HttpURI, FtpURI, HttpsURI, etc. (this is an example, I know there is
module urllib friends, however my actual problem however maps very
well to
-Original Message-
From: Achim Domma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 10:25 AM
To: python-list@python.org
Subject: Overloading assignment operator
Hi,
I want to use Python to script some formulas in my application. The
user
should be able to write
Hi, Jean Paul.
I read your code with interest. I wonder, does twisted also raise the socket
error or does it know
about this apparently well-known and often ignored incompatibility between the
standard and
the implementations?
Something else has occurred to me. After starting tls, all the
At Tuesday 23/1/2007 20:07, GiBo wrote:
BTW When is the subclass.__init__() method invoked if I don't explicitly
call it from __new__()? Apparently not from baseclass.__new__() nor from
object.__new__().
At instance creation, when type(name, bases, ns) is invoked, after
the __new__ call, but
On Jan 23, 4:05 pm, Casey Hawthorne [EMAIL PROTECTED]
wrote:
Do you calcalate the matrix inversion, when you don't need to?
No, the inversion is only calculated on the first call to inverse(),
and memoized so that subsequent calls return the cached value
immediately. Since the Matrix class is
Hmm, my last post seems to have been redirected to /dev/null. Anyhoo.
Jean Paul, I read your code with interest. Does twisted also raise the
apparently well-known
and often ignored socket error, and do you supposed this error has something to
do with the
fact that the trailing \n.\n is
gangesmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| so this is why [lambda: i for i in range(10)] will always return 9.
No, it returns a list of 10 identical functions which each return the
current (when executed) global (module) variable i. Except for names,
'lambda:i'
Daniel wrote:
I've downloaded both the wxPython and the PyQt4 package, and by the
first impression I must say that the PyQt4 system had a very
compelling presentation. From what I can understand from the feedback
I've gotten so far is that the wxPython is a better choice when it
comes to
1 - 100 of 129 matches
Mail list logo