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
--
http://mail.python.or
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
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
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 Ch
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
--
http://mail.python.org/mailman/listinfo/py
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
>>
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 somethi
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 ha
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
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 pyAdv
_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
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
--
http://mail.python.org/m
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
-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 t
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
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?
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 fi
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
>
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?
Checkin
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 perc
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:
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
http://docs.python.org/dev/li
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
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
2. Then I added the line "LoadModule python_module modules/
mod_python.s
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 wa
"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
> l
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
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 a
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 und
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, Tablelis
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 Eclip
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=[ch
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
> g
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 Pyth
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/wik
_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 t
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 i
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
>> th
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.
--
http://mail.python.org/m
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 t
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 interpretati
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 y
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 d
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
htt
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 (http://jpype.sourceforge.
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 gra
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
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
61
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 Pytho
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 of
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?
--
<>0<>0<>0<>0<>0<>0<>0<>0<>0<>0
Ariel Balter
Swain Hall West 025
Department of Physics
Indiana University, Bloomington
737 E Third Street, 47404
[EMAIL PROTECTED]
Office: (812) 855-2441
H
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 pythoncraft.com> writes:
>
> In article python.org>,
> =?utf-8?b?U3TDqXBoYW5l?= Larouche polymtl.ca> wrote:
> >Aahz pythoncraft.com> writes:
> >>
> >> Can you reproduce your problem with stub code that only creates threads?
> >> If yes, that indicates that you're messing with a thread s
"Flyzone"schrieb
> 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 st
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/lo
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?
>
> --
> <>0<>0<>0<>0<>0<>0<>0<>0<>0<>0
>
> Ariel Balter
>
> Swain Hall West 025
> Department of Physics
> Indiana University, Blo
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
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: http://
> 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
>
> + 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
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):
> dom=xml.dom.minidom.p
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 l
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?
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
>
>
> AddHandler mod_python .py
> PythonHandler mptest
> PythonDebug On
>
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
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
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
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 t
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 t
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 Chinese
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
> complet
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 neglecte
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 t
Steve Holden wrote:
> About the best interpretation I can think of is to add 180 degrees to
> the angle and reverse the sign of the magnitude, but this would be a
> hack. Where are those coordinates coming from?
Well, sometimes in polar coordinates (r, theta), r is allowed to be
negative. The
On Aug 13, 10:37 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> 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
Wildemar Wildenburger wrote:
>
> OK, thanks. I should, of course, have been more specific. By saying
> "adventure" I mean the graphical variant (say, Monkey Island or Broken
> Sword), preferably but not necessarily in 2D.
Perhaps you could get a start from this game:
http://www.pygame.org/project
In article <[EMAIL PROTECTED]>, I mused:
>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 iss
Bruno Desthuilliers wrote:
> Ritesh Raj Sarraf a écrit :
>>
>> if lock is None or lock != 1:
>> self.DispLock = False
>> else:
>> self.DispLock = threading.Lock()
>> self.lock = True
>>
>> if os.name == 'posix':
>>self.platf
Bruno Desthuilliers wrote:
> Ritesh Raj Sarraf a écrit :
>
> The initializer will be called *each time* you instanciate the class.
> And nothing prevents client code from calling it explicitelly as many
> times as it wants - ok, this would be rather strange, but this is still
> technically possi
Steve Holden wrote:
> Ritesh Raj Sarraf wrote:
>> class Log:
>>
>> def __init__(self, verbose, lock = None):
>>
>> if verbose is True:
>> self.VERBOSE = True
>> else: self.VERBOSE = False
>>
> Better:
>
> self.VERBOSE = verbose
>
> or, if you suspect verbose mi
> Anyway, I don´t see the point in this. Why don´t you just use
> something like X['g'] instead?
While it's not what the original author is intending, it seems to me
that dynamically adding fields could be useful when something like a
database schema changed frequently. For example, a row in a da
On Monday 13 August 2007, Ariel Balter wrote:
> http://mail.python.org/pipermail/python-list/2001-August/100288.html
>
> Did you ever finish writing this?
YAML (without flow style) could qualify as "tree format". example:
yaml.dump ( {"alpha": 1, "beta": 2, "otherstuff": {"bug": None, "cool":
T
I ended up using matplotlib (http://matplotlib.sourceforge.net).
Thanks for the input everyone.
--
Regards,
Ghirai.
--
http://mail.python.org/mailman/listinfo/python-list
Dustan wrote:
> On Aug 11, 12:32 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
>> 4. don't do something you don't fully understand (in this case
>>installing Python 2.5 and uninstalling Python 2.4)
>
> If we were all limited by that rule, none of us would never have used
> a computer in the fi
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Alex Martelli <[EMAIL PROTECTED]> wrote:
>> Because of this, a Google search for
>>
>> " " python
>>
>> may sometimes help; when you get 116,000 hits, as for "Steve Holden"
>> python, that may be a reasonable indication that the poster is one of
>> t
On 8/13/07, 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.
You can't assign a variable whose name is 123, but you
On Aug 11, 12:59 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> Have you checked out the processing [1] package? I've currently the
> impression that people want to change the whole language before they
> checkout a new package. It would be nice to read a review.
>
> [1]http://cheeseshop.python.org/
1 - 100 of 151 matches
Mail list logo