CherryPy 3.0.2 was released last week. It incorporates a few bug
fixes that were discovered since 3.0.1.
The release can be downloaded at the following URL and is also
available on PyPI:
http://cherrypy.org/wiki/CherryPyDownload
See the list of changes here:
QOTW: The first time you see twenty tons of machinery move unexpectedly
because you inadvertently changed one bit in memory, you become very
conservative about your software platform. - Walt Leipold
Making use of the available wrappers for current Tk libraries such as
BWidgets, Tile, Tablelist,
+ Hamburg Python User Group April Meeting +
I am pleased to announce our next user group meeting:
Wednesday, August 15, 2007 at 7:30pm (NOT 7:00pm!)
Location: DDD Design GmbH, Jarrestrasse 46, 22303 Hamburg.
The topic WSGI - Web Server Gateway Interface is presented by Gerhard
It's official! The second annual Python Sprint @ Google is happening
again: August 22-25 (Wed-Sat). We're sprinting at two locations, this
time Google headquarters in Mountain View and the Google office in
Chicago (thanks to Brian Fitzpatrick). We'll connect the two sprints
with full-screen
En Sun, 12 Aug 2007 22:14:08 -0300, Ed Leafe [EMAIL PROTECTED] escribi�:
On Aug 12, 2007, at 7:06 AM, Steve Holden wrote:
[Please reply via the list when a response is made via the list.
The default behavior for this list should be to reply to the list,
as you have pointed out. Yet
On Aug 12, 2:18 pm, Jorgen Grahn [EMAIL PROTECTED]
wrote:
On Thu, 09 Aug 2007 21:58:54 -, Benjamin Goldenberg [EMAIL PROTECTED]
wrote:
On Aug 9, 3:26 pm, Bjoern Schliessmann usenet-
[EMAIL PROTECTED] wrote:
Benjamin Goldenberg wrote:
I would like to find out the name of the
On Aug 13, 1:04 am, Nathan Harmston [EMAIL PROTECTED]
wrote:
Hi,
I was wondering if anyone knew of any resources, where I might be able
to find information about the complexity of certain python functions
or little tips on how to reduce complexity. I mean like the .join(),
kind of thing?
I
En Sun, 12 Aug 2007 21:45:47 -0300, Aaron J. M. [EMAIL PROTECTED]
escribi�:
Uhg, I thought of something I didn't consider before: how to cleanly
end the Server/DirectedControl(l)er process.
Use the same Queue; put a special kind of Action, or just a None object,
to tell the thread that
On Aug 12, 10:01 pm, ianaré [EMAIL PROTECTED] wrote:
On Aug 12, 10:05 pm, Rohan [EMAIL PROTECTED] wrote:
Hello,
Can some one tell me how do I get colored text. Say when I want to
write something in a text file , how do I get it colored.
Plain text files don't have color. You could output
On Aug 12, 2007, at 7:05 PM, Rohan wrote:
Can some one tell me how do I get colored text. Say when I want to
write something in a text file , how do I get it colored.
You can use ANSI escape codes -- http://en.wikipedia.org/wiki/
ANSI_escape_code:
colorCodes = [
\033[0mAll attributes
On Aug 11, 8:30 pm, Helmut Jarausch [EMAIL PROTECTED] wrote:
Hi,
are decorators more than just syntactic sugar in python 2.x and what
about python 3k ?
Well, I argued may times that syntactic sugar is important (all Turing
complete languages differs by syntactic sugar only) and having or not
On Aug 11, 8:30 pm, Helmut Jarausch [EMAIL PROTECTED] wrote:
How can I find out the predefined decorators?
I dare to say that's not easy. Since decorators are just(?)
syntactical sugar they don't obtain a particular semantics expressed
by distinctive declarative elements. Unlike generators
On Aug 13, 1:50 am, Rohan [EMAIL PROTECTED] wrote:
On Aug 12, 10:01 pm, ianaré [EMAIL PROTECTED] wrote:
On Aug 12, 10:05 pm, Rohan [EMAIL PROTECTED] wrote:
Hello,
Can some one tell me how do I get colored text. Say when I want to
write something in a text file , how do I get it
On Aug 12, 9:14 pm, Steven Bethard [EMAIL PROTECTED] wrote:
Michele Simionato wrote:
On Aug 10, 7:09 pm, Steven Bethard [EMAIL PROTECTED] wrote:
There were also a few recipes posted during this discussion that wrap
weakrefs up a bit nicer so it's easier to use them in place of __del__:
On 8 13 , 10 09 , Ge Chunyuan [EMAIL PROTECTED] wrote:
hi Group:
I am a new comer for Python, I wonder which IDE is recommended in
Windows OS.
Can anyone give some suggestion.
Thanks indeed
Ge Chunyuan
javaeclipse pydev eclipse
--
Ritesh Raj Sarraf a écrit :
Hi,
I've been very confused about why this doesn't work. I mean I don't see any
reason why this has been made not to work.
class Log:
def __init__(self, verbose, lock = None):
if verbose is True:
Don't use an identity test here. There are
Ritesh Raj Sarraf a écrit :
On Aug 11, 3:17 am, James Stroud [EMAIL PROTECTED] wrote:
You do realize your import statement will only be called for nt and dos
systems don't you?
Yes. I would like to load a Windows Python Module (which is, say a
specific implementation for Windows only) in
All the informations about car air conditioners can be found on this
website...
http://car-air-conditioning.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 13, 10:24 am, _spitFIRE [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ge Chunyuan wrote:
hi Group:
I am a new comer for Python, I wonder which IDE is recommended in
Windows OS.
Can anyone give some suggestion.
Thanks indeed
Ge Chunyuan
- -
hi Group:
Once use ActivePython latest version for Python 2.5.1.
I happened to find function str is not callable, but it is available
for Python 2.5.
Can anybody give some comments about it?
Any response is highly appreciated.
Thanks
Ge Chunyuan
--
Ge Chunyuan wrote:
Once use ActivePython latest version for Python 2.5.1.
I happened to find function str is not callable, but it is available
for Python 2.5.
If it's not callable it's not the str() function, but something else with a
badly chosen variable name.
callable(str)
True
str =
On Aug 13, 4:48 pm, Peter Otten [EMAIL PROTECTED] wrote:
Ge Chunyuan wrote:
Once use ActivePython latest version for Python 2.5.1.
I happened to find function str is not callable, but it is available
for Python 2.5.
If it's not callable it's not the str() function, but something else with
Ge Chunyuan [EMAIL PROTECTED] wrote:
Once use ActivePython latest version for Python 2.5.1.
I happened to find function str is not callable, but it is available
for Python 2.5.
Can anybody give some comments about it?
I don't really understand what your asking. str is a callable, it has
On Aug 12, 11:06 pm, ianaré [EMAIL PROTECTED] wrote:
Hey all,
I see plenty of drag and drop examples but they are all for
wx.ListCtrl. Anyone know of examples or tutorials for wx.ListBox?
Specifically, I would like to be able to drag a selection from one
ListBox to another.
Thanks in
Are there any?
I've set out to make an adventure game and now I'm trying to find a set
of python-modules to help me do that. I know of the usual non-python
suspects (AGAST, AGS, Wintermute, ...) and while I they are really good,
I'd like one that is cross platform.
I've found pyScumm and
_spitFIRE [EMAIL PROTECTED] wrote:
I'm using feedparser library to parser ATOM/RSS feeds. However, I don't
get the entire post! but only summaries! How do I retrieve the entire feed?
I believe that the parser library should have support for doing that or the
specification should detail how
Hi,
i am using Eclipse (Platform Runtime binary) with PyDev and i was
wondering if someone can help me with this:
1. I set breakpoints to a .py file and i have told Eclipse to open the
Debug perspective when it sees that some .py file(s) of my project
indeed contains breakpoints. So, i press F9,
Hi,
I have a variable, I want to check if it is a dictionary or a string.
Is there any better way to do this than I've done. How I did it is by
doing a .items() and catching a AttributeError that it raises if its not
a dictionary.
How do i properly do it?
Thanks
Astan
--
On Aug 13, 1:04 am, Nathan Harmston [EMAIL PROTECTED]
wrote:
Hi,
I was wondering if anyone knew of any resources, where I might be able
to find information about the complexity of certain python functions
or little tips on how to reduce complexity. I mean like the .join(),
kind of thing?
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lawrence Oluyede wrote:
If the content producer doesn't provide the full article via RSS/ATOM
there's no way you can get it from there. Search for full content feeds
if any, otherwise get the article URL and feed it to BeautifulSoup to
scrape the
hi!
how can i do polar plot in python with negative axes
that is the value of the magnitude is negative
--
http://mail.python.org/mailman/listinfo/python-list
Wildemar Wildenburger wrote:
Are there any?
An adventure game was written for one of the PyWeek challenges:
http://www.pyweek.org/e/aerunthar/
You might be able to use that as a starting point.
Richard
--
http://mail.python.org/mailman/listinfo/python-list
_spitFIRE [EMAIL PROTECTED] wrote:
For the same feed (where the content producer doesn't provide the full
article!) I was able to see the complete post in other RSS aggregators (like
Blam). I wanted to know how they were able to collect the feed!
Perhaps in the feed itself there's the link for
Astan Chee [EMAIL PROTECTED] wrote:
I have a variable, I want to check if it is a dictionary or a string.
Is there any better way to do this than I've done. How I did it is by
doing a .items() and catching a AttributeError that it raises if its not
a dictionary.
How do i properly do it?
One
On 8/13/07, king kikapu [EMAIL PROTECTED] wrote:
Hi,
i am using Eclipse (Platform Runtime binary) with PyDev and i was
wondering if someone can help me with this:
1. I set breakpoints to a .py file and i have told Eclipse to open the
Debug perspective when it sees that some .py file(s) of
Ritesh Raj Sarraf wrote:
Hi,
I've been very confused about why this doesn't work. I mean I don't see any
reason why this has been made not to work.
class Log:
def __init__(self, verbose, lock = None):
if verbose is True:
self.VERBOSE = True
else:
Astan Chee a écrit :
Hi,
I have a variable, I want to check if it is a dictionary or a string.
Is there any better way to do this than I've done. How I did it is by
doing a .items() and catching a AttributeError that it raises if its not
a dictionary.
How do i properly do it?
Checking the
In article [EMAIL PROTECTED],
Azazello [EMAIL PROTECTED] wrote:
On Jul 31, 12:45 pm, Walt Leipold [EMAIL PROTECTED] wrote:
.
.
.
It has nothing to do with 'proprietary issues'. A lot of it has to do
with the perception of
You could use 'isinstance' to determine whether or not your object is
an instance of a particular class.
isinstance({}, dict)
True
isinstance(, basestring)
True
Note the use of 'basestring', which will catch unicode as well.
-Jeff
On 8/13/07, Astan Chee [EMAIL PROTECTED] wrote:
Hi,
I have
http://airconlinks.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
I'm attempting to start some process control using Python. I've have
.
.
.
Is there an existing forum on this already?
.
On 8/11/07, Helmut Jarausch [EMAIL PROTECTED] wrote:
How can I find out the predefined decorators?
There are two in the standard library, @classmethod for declaring
class methods and @staticmethod for declaring static methods. They are
listed at the built ins page
I configured apache to execute python scripts using mod_python
handler. I followed below mentioned steps to configure apache.
1. In http.conf I added
Directory D:/softwares/Apache2.2/htdocs
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
/Directory
2. Then I added the
Astan Chee wrote:
Hi,
I have a variable, I want to check if it is a dictionary or a string.
Is there any better way to do this than I've done. How I did it is by
doing a .items() and catching a AttributeError that it raises if its not
a dictionary.
How do i properly do it?
The way you
BJörn Lindqvist [EMAIL PROTECTED] wrote:
On 8/11/07, Helmut Jarausch [EMAIL PROTECTED] wrote:
How can I find out the predefined decorators?
There are two in the standard library, @classmethod for declaring
class methods and @staticmethod for declaring static methods. They are
listed at the
On Aug 13, 11:48 am, king kikapu [EMAIL PROTECTED] wrote:
Hi,
i am using Eclipse (Platform Runtime binary) with PyDev and i was
wondering if someone can help me with this:
1. I set breakpoints to a .py file and i have told Eclipse to open the
Debug perspective when it sees that some .py
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Sat, 11 Aug 2007 20:30:54 +0200, Helmut Jarausch wrote:
are decorators more than just syntactic sugar in python 2.x and what
about python 3k ?
They are just syntactic sugar.
@spam
def ham():
pass
is the same as
def ham():
Hi Joe
You'd probably have better luck posting this to the mod python mailing
list. Did you name your python script mptest.py and did you remember
to restart Apache when you edited the httpd.conf file? If so then I
don't see any reason why it shouldn't work although I've never tried
mod_python
fritz wrote:
http://goodgrief
--
Paul (We won't die of devotion)
---
Stop and Look
http://www.geocities.com/dreamst8me/
--
http://mail.python.org/mailman/listinfo/python-list
On Mon Aug 13 11:33:14 CEST 2007, Wildemar Wildenburger wrote:
Are there any?
I've set out to make an adventure game and now I'm trying to find a set
of python-modules to help me do that. I know of the usual non-python
suspects (AGAST, AGS, Wintermute, ...) and while I they are really
QOTW: The first time you see twenty tons of machinery move unexpectedly
because you inadvertently changed one bit in memory, you become very
conservative about your software platform. - Walt Leipold
Making use of the available wrappers for current Tk libraries such as
BWidgets, Tile, Tablelist,
On Aug 13, 1:44 pm, [EMAIL PROTECTED] wrote:
On Aug 13, 11:48 am, king kikapu [EMAIL PROTECTED] wrote:
Hi,
i am using Eclipse (Platform Runtime binary) with PyDev and i was
wondering if someone can help me with this:
1. I set breakpoints to a .py file and i have told Eclipse to open
Erik Max Francis [EMAIL PROTECTED] writes:
Hrvoje Niksic wrote:
For ordinalSum, using imap is almost twice as fast:
$ python -m timeit -s 'data=[chr(x) for x in xrange(256)]'
'sum(ord(x) for x in data)'
1 loops, best of 3: 92.4 usec per loop
$ python -m timeit -s 'data=[chr(x) for x in
On Aug 9, 9:08 pm, jay [EMAIL PROTECTED] wrote:
It actually worked, but this is not the way I would like to handle the
problem. I would prefer to extend the classes instead. However, I'm
not too familiar with that, and I had to change things in so many
places, I'm wondering if its even
On 13 aug 2007, at 11.33, Wildemar Wildenburger wrote:
Are there any?
I've set out to make an adventure game and now I'm trying to find a
set
of python-modules to help me do that. I know of the usual non-python
suspects (AGAST, AGS, Wintermute, ...) and while I they are really
good,
On 2007-08-13, Richard Jones [EMAIL PROTECTED] wrote:
Wildemar Wildenburger wrote:
Are there any?
An adventure game was written for one of the PyWeek challenges:
http://www.pyweek.org/e/aerunthar/
You might be able to use that as a starting point.
Here's an abondoned (since Python 2.2),
On 2007-08-13, Michael Bentley [EMAIL PROTECTED] wrote:
On Aug 12, 2007, at 7:05 PM, Rohan wrote:
Can some one tell me how do I get colored text. Say when I want to
write something in a text file , how do I get it colored.
You can use ANSI escape codes -- http://en.wikipedia.org/wiki/
_spitFIRE wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lawrence Oluyede wrote:
If the content producer doesn't provide the full article via RSS/ATOM
there's no way you can get it from there. Search for full content feeds
if any, otherwise get the article URL and feed it to
Ah, i forgot another one:
as any project evolves, you need to organize it in directories. So, i
have a project named Dev and Eclipse has provided me (in Navigator)
with Dev and Src. Inside Src i put my .py files. Let's say that i
want to create a directory there (will i make it in Src or in Dev)
On 2007-08-12, Alex Martelli [EMAIL PROTECTED] wrote:
Neil Cerutti [EMAIL PROTECTED] wrote:
...
OK, I've thought about this some more and I think the source
of my confusion was I thought assignment in Python meant
binding a name to something, not mutating an object. But in
the case of
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
Thanks.
--
Regards,
Ghirai.
--
I'm trying to make work this code in python 2.2.3:
check=datetime.datetime.today().strftime(%H%M)
but datetime is not supported in that version but just in the later.
I can't upgrade python, too many dependencies in a critical system.
How can i convert that string to have the same result?
Hope
Jeff McNeil a écrit :
(top-post corrected)
On 8/13/07, Astan Chee [EMAIL PROTECTED] wrote:
Hi,
I have a variable, I want to check if it is a dictionary or a string.
Is there any better way to do this than I've done. How I did it is by
doing a .items() and catching a AttributeError that it
yadin wrote:
hi!
how can i do polar plot in python with negative axes
that is the value of the magnitude is negative
Surely a negative magnitude doesn't make sense in polar coordinates,
since the magnitude is supposed to represent the distance from the center.
About the best interpretation
On Aug 13, 2:31 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
Use the same Queue; put a special kind of Action, or just a None object,
to tell the thread that there are no more things to process.
From the main thread, you can join() the others, waiting for them to
finish.
Ah, thank you very
Hi,
For nefarious javaesque reasons I've been trying to get started with
jpype (http://jpype.sourceforge.net). This looks like a potentially
useful tool for integrating java classes into C-python, but
frustratingly I've run into immediate problems. The documentation on
the project really doesn't
Ghirai wrote:
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
What about Gnuplot.py
Gah - I hate it when that happens: Just after posting I figured out my
silly mistake: my package is called myclasses and I was referencing
'myclass'
apologies for wasting your time
Hi,
For nefarious javaesque reasons I've been trying to get started with
jpype
Ghirai wrote:
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
Thanks.
ReportLab graphics
Just curious Dick, why are you making your own to_base method? Doesn't the
source I provided in my earlier email give you all that you need? I was
hoping my source might be useful to a few people, even though it's pretty
trivial code.
On 8/12/07, Dick Moores [EMAIL PROTECTED] wrote:
At 07:04 PM
On Aug 12, 2007, at 7:44 AM, Viewer T. wrote:
and Yes, Python
has awesome database support and can satisfy almost all database
needs.
Wow. Nobody ever told me Python was *that* kind of language :)
Erik Jones
Software Developer | Emma®
[EMAIL PROTECTED]
800.595.4401 or 615.292.5888
Neil Cerutti [EMAIL PROTECTED] wrote:
...
Then we get into unpacking assignments and augmented
assignments, but I don't really want to write two more pages
worth of summary...;-).
Thanks very much for taking the time to help clear up my
erroneous model of assignment in Python. I'd
Hello,
I know this might be a little cheeky, and if it is, please say, but I need a
little hand optimising some code. For the simple reason that this is
'company' code and I have no idea what I'm allowed to release and not as the
case may be I've changed anything that could give an indication
On Aug 13, 1:18 am, Lepi Duja [EMAIL PROTECTED] wrote:
All the informations about car air conditioners can be found on this
website...
http://car-air-conditioning.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
http://mail.python.org/pipermail/python-list/2001-August/100288.html
Did you ever finish writing this?
--
00
Ariel Balter
Swain Hall West 025
Department of Physics
Indiana University, Bloomington
737 E Third Street, 47404
[EMAIL PROTECTED]
Office: (812) 855-2441
Home: (812) 332-2721
Wildemar Wildenburger wrote:
I've set out to make an adventure game and now I'm trying to find a set
of python-modules to help me do that. I know of the usual non-python
suspects (AGAST, AGS, Wintermute, ...) and while I they are really good,
I'd like one that is cross platform.
OK,
special_dragonfly [EMAIL PROTECTED] wrote:
...
dom=xml.dom.minidom.parseString(text_buffer)
If you need to optimize code that parses XML, use ElementTree (some
other parsers are also fast, but minidom ISN'T).
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Aahz aahz at pythoncraft.com writes:
In article mailman.430.1183825935.22759.python-list at python.org,
=?utf-8?b?U3TDqXBoYW5l?= Larouche stephane.larouche at polymtl.ca wrote:
Aahz aahz at pythoncraft.com writes:
Can you reproduce your problem with stub code that only creates threads?
Flyzoneschrieb
I'm trying to make work this code in python 2.2.3:
check=datetime.datetime.today().strftime(%H%M)
but datetime is not supported in that version but
just in the later. I can't upgrade python, too many
dependencies in a critical system.
How can i convert that string to
Erik Max Francis [EMAIL PROTECTED] writes:
Alexander Schmolck wrote:
Is this any faster?
ordSum, orsSumSq = (lambda c:c.real,c.imag)(sum(complex(ord(x),ord(x)1)
for x in data))
That's pretty clever, but I neglected to mention that I need to accumulate the
sums as ints/longs to avoid
On Aug 13, 7:09 pm, Ariel Balter [EMAIL PROTECTED] wrote:
http://mail.python.org/pipermail/python-list/2001-August/100288.html
Did you ever finish writing this?
--
00
Ariel Balter
Swain Hall West 025
Department of Physics
Indiana University, Bloomington
737 E Third Street,
On 12 Sie, 21:09, Ghirai [EMAIL PROTECTED] wrote:
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
The New Way To Enjoy Satellite TV on your PC!
• Watch all your favorite shows on your Computer from anywhere in the
World!
• Save 1000's of $$$ over many years on cable and satellite bills
• Plus Get FREE Unlimited Downloads Movies, MP3s Music, etc !!!
• INSTANT DOWNLOAD
For More Details:
Grant Olson wrote:
Compyler is a pre-alpha x86 native code compiler.
In what ways is this similar or different to Shed
Skin?http://mark.dufour.googlepages.com/
--Irmen
I've never actually downloaded shedskin, but my understanding is that
it:
+ does type inference for speed, but means
+ has the exact same semantics as compiler code. I was more
This should read exact same semantics as python code
--
http://mail.python.org/mailman/listinfo/python-list
On 8/13/07, king kikapu [EMAIL PROTECTED] wrote:
Ah, i forgot another one:
as any project evolves, you need to organize it in directories. So, i
have a project named Dev and Eclipse has provided me (in Navigator)
with Dev and Src. Inside Src i put my .py files. Let's say that i
want to
special_dragonfly a écrit :
Hello,
(snip)
The function doesn't return anything, but it's called often enough and
depending on the optimisation I'll be able to use the same style in other
areas of the program.
previous code:
def CreatePerson(text_buffer):
Michele Simionato wrote:
SPECIALMETHODS = ['__%s__' % name for name in
'''
abs add and call concat contains delitem delslice div eq floordiv ge
getitem
getslice gt iadd iand iconcat idiv ifloordiv ilshift imod imul index
inv invert
ior ipow irepeat irshift isub iter itruediv ixor le len
On 8/12/07, Ghirai [EMAIL PROTECTED] wrote:
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
Thanks.
On Aug 13, 5:16 am, joe jacob [EMAIL PROTECTED] wrote:
I configured apache to execute python scripts using mod_python
handler. I followed below mentioned steps to configure apache.
1. In http.conf I added
Directory D:/softwares/Apache2.2/htdocs
AddHandler mod_python .py
PythonHandler
www.wingide.com
On 8/13/07, Ge Chunyuan [EMAIL PROTECTED] wrote:
On Aug 13, 10:24 am, _spitFIRE [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ge Chunyuan wrote:
hi Group:
I am a new comer for Python, I wonder which IDE is recommended in
Windows OS.
I'd like to do something like this:
var = '123'
%s = [], %var
So that, in the end, var is '123' and an empty list is named '123' as
well. The list assignments are created during a loop.
Thanks,
Brad
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 13, 1:00 pm, brad [EMAIL PROTECTED] wrote:
I'd like to do something like this:
var = '123'
%s = [], %var
So that, in the end, var is '123' and an empty list is named '123' as
well. The list assignments are created during a loop.
Thanks,
Brad
You probably want to use a dictionary
On Aug 13, 6:26 pm, Steven Bethard [EMAIL PROTECTED] wrote:
I doubt I'd want to slow down all attribute access on my
class just to do some cleanup, when it's probably better to just tell
everyone to use a ``with`` block. ;-)
Amen. The point is that finding an easy upgrade path for current code
Hello,
I want to embed Python in an application and use an API of the application
from Python.
The application uses a library that creates several threads and I the users
of the application will write Python scripts handling this events.
The problem is that I having problems with threads. I saw
Hello,
I want to embed Python in an application and use an API of the application
from Python.
The application uses a library that creates several threads and I the users
of the application will write Python scripts handling this events.
The problem is that I having problems with threads. I saw
Back in May, there was quite an extensive discussion of whether or not
Python should support Unicode identifiers (with the final result being
that this would be supported in Python 3). In my periodic googling
for pyparsing users, I stumbled upon Zhpy, a preprocessor that renders
on the fly
Michele Simionato [EMAIL PROTECTED] writes:
On Aug 11, 8:30 pm, Helmut Jarausch [EMAIL PROTECTED] wrote:
Hi,
are decorators more than just syntactic sugar in python 2.x and what
about python 3k ?
Well, I argued may times that syntactic sugar is important (all Turing
complete languages
Alexander Schmolck [EMAIL PROTECTED] writes:
Erik Max Francis [EMAIL PROTECTED] writes:
Alexander Schmolck wrote:
Is this any faster?
ordSum, orsSumSq = (lambda c:c.real,c.imag)(sum(complex(ord(x),ord(x)1)
for x in data))
That's pretty clever, but I neglected to mention that I need to
Paul McGuire schrieb:
Back in May, there was quite an extensive discussion of whether or not
Python should support Unicode identifiers (with the final result being
that this would be supported in Python 3). In my periodic googling
for pyparsing users, I stumbled upon Zhpy, a preprocessor that
1 - 100 of 170 matches
Mail list logo