Hi,
eric4 4.1.0 was just released. This is a major feature release. Compared
to 4.0.4 it contains these features next to bug fixes.
- Added a plugin system for easy extensibility
- Converted the following interface to plugins available separately
-- PyLint checker
-- CxFreeze packager
--
I need to compile Python with the packages socket,sys,time,os, but
I've never done it before, and would like confirmation that this will
work as planned:
==
make clean
./configure --with-socket --with-sys --with-time --with-os
make
make install
==
No, it won't. You don't
Hi,
Thanks for the help. I had to make family and int. It
was defined as socket.AF_INET6 and for some reason not
making that an int. It is fix now.
---
t0md
--- Martin v. Löwis [EMAIL PROTECTED] wrote:
_sock = _realsocket(family, type, proto)
TypeError: an integer is
I have some long-running Python programs that can be idle
for hours, and, of course, the MySQL connection times out.
So I call
db.ping()
at the beginning of a new request cycle. This should
reestablish the connection, but it doesn't:
Traceback (most recent call last):
File
On Feb 2, 5:28 pm, Carsten Haese [EMAIL PROTECTED] wrote:
On Sat, 2008-02-02 at 01:17 -0800, Paul Rubin wrote:
Arnaud Delobelle [EMAIL PROTECTED] writes:
* For sets {x, y} union {y, z} = {x, y, z}. The natural way of
extending this to multisets is having the union operator take the
On Feb 2, 9:10 pm, [EMAIL PROTECTED] wrote:
Steven Bethard:
It also doesn't build the unnecessary intermediate tuples:
I see, but can't the interpreter improved to remove similar
intermediate tuples anyway?
Do you mean the compiler?
Is this a difficult thing to do?
Yes, due to the HDNP
Hi David,
-On [20080202 17:51], David Wang ([EMAIL PROTECTED]) wrote:
i use matlab in my daily research and some shell scripting as well
(primarily for data analysis). i wonder how easy or difficult for a
matlab user to pick up python? i also know Fortran but haven't used it
for years.
Having
On Feb 2, 3:21 pm, MRAB [EMAIL PROTECTED] wrote:
I could see uses for both types of union. You could have both A + B
which adds the multiplicities (the smallest bag which contains both
the bags) and A | B which takes the max of the multiplicities (the
smallest bag which contains either of the
On Feb 3, 5:09 am, Kay Schluehr [EMAIL PROTECTED] wrote:
As you know, there is no operator for function composition in Python.
When you have two functions F and G and want to express the
composition F o G you have to create a new closure
lambda *args, **kwd: F (G (*args, **kwd))
or you
On Feb 3, 2:03 am, [EMAIL PROTECTED] wrote:
Ruby has a neat little convenience when writing loops where you don't
care about the loop index: you just do n.times do { ... some
code ... } where n is an integer representing how many times you want
to execute some code.
In Python, the direct
On Feb 2, 9:22 pm, Tim Roberts [EMAIL PROTECTED] wrote:
Also, psycopg will do the quoting for you. You don't do it. So this is
what you want:
Second the above, it is much cleaner to leave the quoting to
psycopg2. I know, I wrote my own quoting logic for dynamically
generated queries and I
On 3 Feb., 10:13, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Feb 3, 5:09 am, Kay Schluehr [EMAIL PROTECTED] wrote:
As you know, there is no operator for function composition in Python.
When you have two functions F and G and want to express the
composition F o G you have to create a
On Feb 3, 9:43 am, Kay Schluehr [EMAIL PROTECTED] wrote:
On 3 Feb., 10:13, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Feb 3, 5:09 am, Kay Schluehr [EMAIL PROTECTED] wrote:
As you know, there is no operator for function composition in Python.
When you have two functions F and G and
Nice to see that your comments do come from some understanding of the
issues. Been number of times in the past when people have gone off
saying things about multiple interpreters, didn't really know what
they were talking about and were just echoing what some one else had
said. Some of the things
Because 0 is counted therefore i only have to do it 99 times
Thanks
On Feb 3, 2008 4:38 AM, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Sun, 03 Feb 2008 01:03:43 -0200, James Matthews [EMAIL PROTECTED]
escribió:
Sorry to be nitpicking, but people coming from other languages may get
On 3 Feb., 10:55, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Feb 3, 9:43 am, Kay Schluehr [EMAIL PROTECTED] wrote:
On 3 Feb., 10:13, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Feb 3, 5:09 am, Kay Schluehr [EMAIL PROTECTED] wrote:
As you know, there is no operator for function
James Matthews wrote:
Because 0 is counted therefore i only have to do it 99 times
No, Gabriel is correct. range(n) creates a list of integers starting at 0 and
going to n-1 (inclusive), not n.
In [1]: range(9)
Out[1]: [0, 1, 2, 3, 4, 5, 6, 7, 8]
In [2]: len(range(9))
Out[2]: 9
In [3]:
Is there any way to tell between whether a keyword arg has been explicitly
specified (to the same value as the default for it) or not... For example:
def func(key=None):
do something with key
But the following two usages give same results:
func()
func(key=None)
It may sometimes be useful
mario ruggier wrote:
Is there any way to tell between whether a keyword arg has been explicitly
specified (to the same value as the default for it) or not... For example:
def func(key=None):
do something with key
But the following two usages give same results:
func()
On Feb 3, 11:00 am, mario ruggier [EMAIL PROTECTED] wrote:
Is there any way to tell between whether a keyword arg has been explicitly
specified (to the same value as the default for it) or not... For example:
def func(key=None):
do something with key
But the following two usages give
Jorge Godoy wrote:
mario ruggier wrote:
Is there any way to tell between whether a keyword arg has been explicitly
specified (to the same value as the default for it) or not... For example:
def func(key=None):
do something with key
But the following two usages give same results:
On Feb 3, 12:35 pm, TeroV [EMAIL PROTECTED] wrote:
Jorge Godoy wrote:
mario ruggier wrote:
Is there any way to tell between whether a keyword arg has been explicitly
specified (to the same value as the default for it) or not... For example:
def func(key=None):
do something with
2008/2/3, Daniel Fetchinson [EMAIL PROTECTED]:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is accessible
[EMAIL PROTECTED] wrote:
On Feb 2, 12:13 pm, Steven Bethard [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
1. functools.partialpre: partialpre( f, x, y )( z )- f( z, x, y )
2. functools.pare: pare( f, 1 )( x, y )- f( y )
3. functools.parepre: parepre( f, 1 )( x, y )- f( x )
4.
Gabriel Genellina wrote:
[...]
On Feb 3, 2008 3:34 AM, Roy Smith [EMAIL PROTECTED] wrote:
But, more to the point, I'd try to find variable name which described
why I was looping, even if I didn't actually use the value in theloop
body:
Me too. Government don't collect taxes by the
Jeff Schwab wrote:
How [EMAIL PROTECTED] wrote:
Ruby has a neat little convenience when writing loops where you don't
care about the loop index: you just do n.times do { ... some
code ... } where n is an integer representing how many times you want
to execute some code.
In Python, the
mario ruggier wrote:
It may sometimes be useful to make use of the conceptual
difference between these two cases, that is that in one case the
user did not specify any key and in the other the user explicitly
specified the key to be None.
Do you have an example where this might be useful?
Daniel Fetchinson wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is accessible through the web and also
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Daniel Fetchinson wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an
2008/2/3, Navid Parvini [EMAIL PROTECTED]:
Dear All,
I have the following two methods in a module. I cannot put them in a class,
as the code is a complicated one.
def a(num):
found = num in Numlist
print found
def b():
scop = {}
scop['Numlist'] = [1,2,3]
scop['a']
Dear All,
I have the following two methods in a module. I cannot put them in a class, as
the code is a complicated one.
def a(num):
found = num in Numlist
print found
def b():
scop = {}
scop['Numlist'] = [1,2,3]
scop['a'] = a
exec(a(3),scop)
How can I access the
be careful, _ is thé translation function used in Il8N, Il10N
localization / internationalization
e.g.
print _( hello )
cheers,
Stef
[EMAIL PROTECTED] wrote:
Ruby has a neat little convenience when writing loops where you don't
care about the loop index: you just do n.times do { ... some
Plain Python function are very often more powerful than classes:
def go(count):
... if not hasattr(go, 'count'):
... go.count = count
... if go.count = 0:
... del go.count
... return False
... go.count -= 1
... return True
...
while go(3):
... print 'hello'
...
hello
hello
Daniel Fetchinson schrieb:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is accessible through the web and also
t3chn0n3rd schrieb:
Is Python program language popular for game programming?
Yes. For starters, google
pygame
pyglet
And python is used as scripting language in quite a few commercial
products, such as eve online.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Guilherme Polo wrote:
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Daniel Fetchinson wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
[...]
I believe Glade produces XML descriptions of its interfaces, so wxGlade
would be one possible starting-point.
Is there some good format that is optimized for search for
just 1 attribute (title) and then returning the corresponding article?
I would use Durus (http://www.mems-exchange.org/software/durus/) -
simple pythonic object database - and store this data as persistent
python dict with Title keys
Is Python program language popular for game programming?
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Bjoern Schliessmann schrieb:
mario ruggier wrote:
It may sometimes be useful to make use of the conceptual
difference between these two cases, that is that in one case the
user did not specify any key and in the other the user explicitly
specified the key to be None.
what would be the best python GUI toolkit, it must be cross platform.
i have tried gtk, but it interface are real bad and its coding was difficult
so i dropped it,
the only remaining are qt4 and wx, i would like to know if one of these or
any other toolkit is capable of creating good-looking
On 2008-02-03, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[...] was difficult so i dropped it,
[...]
i m a noob, and willing to learn, so difficulty is no problem
On the contrary, it appears that difficulty is a problem. ;)
--
Grant Edwards grante Yow! Excuse
Bjoern Schliessmann schrieb:
mario ruggier wrote:
It may sometimes be useful to make use of the conceptual
difference between these two cases, that is that in one case the
user did not specify any key and in the other the user explicitly
specified the key to be None.
Do you have an
Bjoern Schliessmann wrote:
mario ruggier wrote:
It may sometimes be useful to make use of the conceptual
difference between these two cases, that is that in one case the
user did not specify any key and in the other the user explicitly
specified the key to be None.
Do you have an example
On 3 Feb., 04:42, Daniel Fetchinson [EMAIL PROTECTED]
wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is
On 03/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
what would be the best python GUI toolkit, it must be cross platform.
i have tried gtk, but it interface are real bad and its coding was difficult
so i dropped it,
the only remaining are qt4 and wx, i would like to know if one of
I have an application
that is accessible through the web and also through desktop
applications and both clients should be presented a simple dialog GUI.
This dialog will only include text fields, radio buttons and a file
upload field.
My idea is that if there was a lightweight GUI
what i meant was, i tried gtk, didnt like it, the main reason was that it
had a very bad gui appeal for me, i did try my hand at wx , and i would have
stuck with it, but then i saw the qt4 screenshot and couple of examples of
its code and i liked it, so i was wondering, if anyone would tell me
On Feb 3, 4:19 pm, Steve Holden [EMAIL PROTECTED] wrote:
Diez B. Roggisch wrote:
Bjoern Schliessmann schrieb:
mario ruggier wrote:
It may sometimes be useful to make use of the conceptual
difference between these two cases, that is that in one case the
user did not specify any key and
Not to me. If I read for _ in ..., I wouldn't be quite sure what _ was.
Is it some magic piece of syntax I've forgotten about? Or something new
added to language while I wasn't paying attention (I still consider most
stuff added since 1.5 to be new-fangled :-)).
+1 to forgotten about
+1 to
Hi,
eric4 4.1.0 was just released. This is a major feature release. Compared
to 4.0.4 it contains these features next to bug fixes.
- Added a plugin system for easy extensibility
- Converted the following interface to plugins available separately
-- PyLint checker
-- CxFreeze packager
--
Hallöchen!
[EMAIL PROTECTED] writes:
[...]
the only remaining are qt4 and wx, i would like to know if one of
these or any other toolkit is capable of creating good-looking
GUI's, like in other apps, for e.g, .net apps.
I think both Qt4 and wx create good-looking GUIs, since Qt4 now
tries
click here:
http://kg-azfari.myminicity.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 2, 9:48 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
How [EMAIL PROTECTED] wrote:
Ruby has a neat little convenience when writing loops where you don't
care about the loop index: you just do n.times do { ... some
code ... } where n is an integer representing how many times you want
to
On 2008-02-03, Dotan Cohen [EMAIL PROTECTED] wrote:
I would recommend Qt, as it is cross-platform and can look native on
all systems.
Qt doesn't look native on my system. I run XFCE, and native
is GTK.
Opera, KDE, GoogleEarth, Acrobat, and lots of other software
are written in Qt.
And they
On 2008-02-03, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
what i meant was, i tried gtk, didnt like it, the main reason was that it
had a very bad gui appeal for me, i did try my hand at wx , and i would have
stuck with it,
Wx generally uses GTK on Unix, so if you don't like GTK, then
Wx
On 2008-02-03, Torsten Bronger [EMAIL PROTECTED] wrote:
Hallöchen!
[EMAIL PROTECTED] writes:
[...]
the only remaining are qt4 and wx, i would like to know if one of
these or any other toolkit is capable of creating good-looking
GUI's, like in other apps, for e.g, .net apps.
I think both
JJohn Nagle wrote:
I have some long-running Python programs that can be idle
for hours, and, of course, the MySQL connection times out.
So I call
db.ping()
at the beginning of a new request cycle. This should
reestablish the connection, but it doesn't.
...
I suspect that
Grant Edwards wrote:
On 2008-02-03, Dotan Cohen [EMAIL PROTECTED] wrote:
I would recommend Qt, as it is cross-platform and can look native on
all systems.
Qt doesn't look native on my system. I run XFCE, and native
is GTK.
Opera, KDE, GoogleEarth, Acrobat, and lots of other software
[EMAIL PROTECTED] wrote:
what i meant was, i tried gtk, didnt like it, the main reason was that it
had a very bad gui appeal for me, i did try my hand at wx , and i would
have stuck with it, but then i saw the qt4 screenshot and couple of
examples of its code and i liked it, so i was
On 03/02/2008, Grant Edwards [EMAIL PROTECTED] wrote:
On 2008-02-03, Torsten Bronger [EMAIL PROTECTED] wrote:
Hallöchen!
[EMAIL PROTECTED] writes:
[...]
the only remaining are qt4 and wx, i would like to know if one of
these or any other toolkit is capable of creating good-looking
Hallöchen!
Grant Edwards writes:
On 2008-02-03, Torsten Bronger [EMAIL PROTECTED] wrote:
Hallöchen!
[EMAIL PROTECTED] writes:
[...]
the only remaining are qt4 and wx, i would like to know if one
of these or any other toolkit is capable of creating
good-looking GUI's, like in other
On 2008-02-03, Jorge Godoy [EMAIL PROTECTED] wrote:
And they don't look native on systems that don't use Qt as the
native widget set.
But then, there's no toolkit that does.
GTK based toolkits don't look native on Qt based systems.
Same for a lot of others.
Quite true.
What you can
On Feb 3, 10:42 am, Zentrader [EMAIL PROTECTED] wrote:
Not to me. If I read for _ in ..., I wouldn't be quite sure what _ was.
Is it some magic piece of syntax I've forgotten about? Or something new
added to language while I wasn't paying attention (I still consider most
stuff added
On Feb 3, 11:20 am, Paul McGuire [EMAIL PROTECTED] wrote:
[... some code... some words ... more code, etc. ...]
But this still seems like a lot of work to avoid for x in range(n):.
I agree. The point of me using for _ in xrange (n) isn't to avoid
the for loop at all. What I wanted was a
geoffbache wrote:
I have some marked up text and would like to convert it to plain text,
by simply removing all the tags. Of course I can do it from first
principles but I felt that among all Python's markup tools there must
be something that would do this simply, without having to create an
agc wrote:
I guess an important feature of what I'm looking for is
some kind of mapping from *exact* title to corresponding article,
i.e. if my data set wasn't so large, I would just keep all my
data in a in-memory Python dictionary, which would be very fast.
But I have about 2 million
My apologies if any attributions are messed up.
On Feb 3, 1:28 am, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
On Sun, 03 Feb 2008 15:08:34 +1100, Ben Finney wrote:
But I like using _ because it's only 1 character and communicates well
the idea I don't care about this
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Guilherme Polo wrote:
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Daniel Fetchinson wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
[...]
I believe Glade produces XML descriptions of its
On Feb 3, 10:18 am, [EMAIL PROTECTED] wrote:
what would be the best python GUI toolkit, it must be cross platform.
i have tried gtk, but it interface are real bad and its coding was difficult
so i dropped it,
[...]
If cross-platform, and nice API are your requirements, I recommend
you
for action in repeat(f, n): action()
I don't know how 'Pythonic' this would be...
agree,
or this:
import itertools
def f1():
print hello
[f() for f in itertools.repeat(f1,6)]
tpt
--
http://mail.python.org/mailman/listinfo/python-list
Say I have a module with a function f in it, and I do
psyco.bind (f)
Is there any simple/easy/elegant way to retain a reference to the
*unoptimized* version of f so I can call them both and compare
performance?I've tried
f2 = copy.deepcopy (f)
psyco.bind (f)
but that doesn't work. Other
I'm considering writing a little interpreter for a python-like
language and I'm looking for name suggestions. :-)
Basically, I don't want to change a whole lot about Python. In fact,
I see myself starting with the compiler module from Python 2.5 and
building from there.
This language would be
no
--
Steve Holden+1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Guilherme Polo wrote:
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Guilherme Polo wrote:
2008/2/3, Steve Holden [EMAIL PROTECTED]:
Daniel Fetchinson wrote:
Hi pythoneans,
I'm looking for a simple text based GUI definition format and
[...]
I believe Glade produces XML
[EMAIL PROTECTED] wrote:
what would be the best python GUI toolkit, it must be cross platform.
i have tried gtk, but it interface are real bad and its coding was difficult
so i dropped it,
the only remaining are qt4 and wx, i would like to know if one of these or
any other toolkit is
Thank you, Martin! I think that you are right.
But I can't use rsh since I am on XP to send commands to UNIX. I used telnet
before. Now I am converting to ssh/sftp, which is my purpose.
I put some more efforts in the following code:
t = paramiko.Transport((hostname, port))
I'm looking for a simple text based GUI definition format and
[...]
I believe Glade produces XML descriptions of its interfaces, so wxGlade
would be one possible starting-point.
Glade does, but dont confuse it with wxGlade. wxGlade can generate
direct python code
Just a side question!
Does QT support Events from multiple threads without any special calls!
Example when i use WX i have to call wx.CallAfter()
Thanks!
On Feb 3, 2008 6:05 PM, Jorge Godoy [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
what i meant was, i tried gtk, didnt like it, the
James Matthews wrote:
Just a side question!
Does QT support Events from multiple threads without any special calls!
Example when i use WX i have to call wx.CallAfter()
Yes, you can send signal across threads with some precaution.
Christian
--
Jorge Godoy wrote:
Qt is a the best choice, IMHO. Nice support, free if you write free
software, very nice API, nice tools to develop with and the best looking
widget system for *nix and mobile phones.
PyQt4 forces you to either release your software under GPL or buy a
license. Qt3 and Qt4
On Sun, 03 Feb 2008 10:06:04 -0800, miller.paul.w wrote:
Say I have a module with a function f in it, and I do
psyco.bind (f)
Is there any simple/easy/elegant way to retain a reference to the
*unoptimized* version of f so I can call them both and compare
performance?
What about
On Feb 3, 9:05 am, t3chn0n3rd [EMAIL PROTECTED] wrote:
Is Python program language popular for game programming?
Well, Python is at the center of my favorite game, Sid Meier's
Civilization 4. :-)
Another poster mentioned the pygame and pyglet libraries. I'd suggest
you look into them if you
2008/2/3, Christian Heimes [EMAIL PROTECTED]:
Jorge Godoy wrote:
Qt is a the best choice, IMHO. Nice support, free if you write free
software, very nice API, nice tools to develop with and the best looking
widget system for *nix and mobile phones.
PyQt4 forces you to either release
Daniel Fetchinson wrote:
It's clear to me that the logic behind a web interface and a desktop
interface are two totally different things. I don't want a magic
method to convert an html/javascript based web app to a desktop app as
this is clearly impossible.
But it is not impossible to embed
Hi all,
I prefer the Eric Python IDE to all other, however, unfortunately,
Eric4.x (as well as the latest snapshot mentioned in the ann) fails to
debug any py-file (while Eric3.9.5 from Kubuntu software channel works
ok):
The debugged program raised the exception unhandled TypeError
not all
On Feb 3, 10:39 am, [EMAIL PROTECTED] wrote:
also, is qt4 apps better looking in both win/linux than wx apps, coz the
main thing i m looking for is visual appeal of the gui.
Well, well... this wasn't in your original post. I had assumed ease
of programming and cross-platform-ness were the
Guilherme Polo wrote:
PyQt follows same licensing as Qt, so what licenses does Qt4 supports
besides GPL and Qt commercial license ?
Qt4 has a special exception to the GPL, allowing the use of free
software licenses not compatible with the GPL:
http://trolltech.com/products/qt/gplexception/
I'd like to offer you one suggestion about coding your app. You'll be
best served if you can either write it as a command-line app and write
a separate GUI-front end for it, or use an abstraction layer between
your app and the display logic that allows you to easily plug in other
GUI toolkits.
El Diumenge, 03-02-08 a les 16:45 escrigueres:
Hi,
eric4 4.1.0 was just released. This is a major feature release. Compared
to 4.0.4 it contains these features next to bug fixes.
Hello!
This is the first version in many month on which I have no problems with dead
key characters, suc as á, ñ
It's clear to me that the logic behind a web interface and a desktop
interface are two totally different things. I don't want a magic
method to convert an html/javascript based web app to a desktop app as
this is clearly impossible.
But it is not impossible to embed a server on your
2008/2/3, Thomas Pani [EMAIL PROTECTED]:
Guilherme Polo wrote:
PyQt follows same licensing as Qt, so what licenses does Qt4 supports
besides GPL and Qt commercial license ?
Qt4 has a special exception to the GPL, allowing the use of free
software licenses not compatible with the GPL:
Thanks for your reply. It's been a while since I've used psyco, and
it seems either some functions have been added, or I've never needed
the other ones. :-)
For the record, it looks like
psyco.bind (f)
f2 = psyco.unproxy(f)
would leave me with an optimized f and a function f2 which is the
miller:
Is there any simple/easy/elegant way to retain a reference to the
*unoptimized* version of f so I can call them both and compare
performance?
A simple solution is to defer the optimization. That is test the
original code, call Psyco, then test it again:
def somefunc():
...
from
[EMAIL PROTECTED] wrote:
I'm considering writing a little interpreter for a python-like
language and I'm looking for name suggestions. :-)
How about Whython?
/W
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 2008-02-03 at 15:18 +, [EMAIL PROTECTED] wrote:
what would be the best python GUI toolkit, it must be cross platform.
i have tried gtk, but it interface are real bad and its coding was
difficult
so i dropped it,
I came from Sving to Gtk, so for me also it was a real brainbreak.
Daniel Fetchinson wrote:
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is accessible through the web and also through desktop
On Feb 3, 2:36 pm, Wildemar Wildenburger
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I'm considering writing a little interpreter for a python-like
language and I'm looking for name suggestions. :-)
How about Whython?
/W
I like it. :P
If you were wondering why I was thinking of
I'm looking for a simple text based GUI definition format and
associated python modules to work with it that is capable of defining
simple GUI's for *both* the web and the desktop. I have an application
that is accessible through the web and also through desktop
applications and both
2008/2/3, Guilherme Polo [EMAIL PROTECTED]:
2008/2/3, Thomas Pani [EMAIL PROTECTED]:
Guilherme Polo wrote:
PyQt follows same licensing as Qt, so what licenses does Qt4 supports
besides GPL and Qt commercial license ?
Qt4 has a special exception to the GPL, allowing the use of
On Feb 3, 2:19 pm, [EMAIL PROTECTED] wrote:
simple solution is to defer the optimization. That is test the
original code, call Psyco, then test it again:
I had thought of that, but it didn't really meet my requirements. I
might want the unoptimized function back at some point after I call
the
1 - 100 of 175 matches
Mail list logo