> "Christian" == Christian Tismer <[EMAIL PROTECTED]> writes:
>> PyPy is written in python, if it can be compiled then the programs
>> can
>> be as well.
Christian> Well, this is not really true. PyPy is written in
Christian> RPython, a sub-language of Python that is impli
"ÒÊÃÉɽÈË" <[EMAIL PROTECTED]> wrote:
>When i use the below code to create a comserver on Windows OS£¬i find that
>the com was configed in the file
>python23com.dll,why? if i want to config it in my customize dll,how should i
>do?
Python is not a compiled language. It does not produce DLLs. Th
>
>>Hi,all!
>>
>>How i can manually start CellEditor in wxGrid for spicified Cell in grid
>>in
>>my programm:
>>
>>mygrid.SetGridCursor(2,3)
>>mygrid.MakeCellVisible(2,3)
>># starting editing... ??
>>mygrid.ShowCellEditControl() don't working...
>>
>>help me, please...
>>
> Tr
Hello all,
I would like to be able to take a module full of class instances,
functions, etc and bind all its names to a separate container class in
a different module. I have come up with the following way to do it..
(module "globals")
class Container:
pass
container = Container()
(module "
richard wrote:
> "bug against PyPI". Where did I say bug against distutils?
Apologies for the dupe response.
The bug has now been fixed.
Richard
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 22 May 2005 10:29:50 +0300, "gralex" <[EMAIL PROTECTED]> wrote:
>Hi,all!
>
>How i can manually start CellEditor in wxGrid for spicified Cell in grid in
>my programm:
>
>mygrid.SetGridCursor(2,3)
>mygrid.MakeCellVisible(2,3)
># starting editing... ??
>mygrid.ShowCellEdi
John Machin wrote:
> FYI, there are a few unreconstructed diehards out here who neither run
> on a *x platform nor run bleeding-edge Python straight out of last
> night's CVS.
I think you need to pull your head in, mate.
The bug you discovered in PyPI is plain and simple a bug in its attempts to
Tony Meyer wrote:
> setup.py sdist --format=zip
Try without the --format arg. The code is being too paranoid.
>>>
>>> Result: (A) produces a zip file with only minor differences
>>> (presumably a timestamp):
>>
>> Oh, so even without --format, a ZIP source dist file is
>> produced
John Machin wrote:
> I presume you mean a bug report. Done.
Thankyou.
> I wrote:
>> He wrote:
>>> I wrote:
The code is being too paranoid
>>>
>>> Which code (distutils or PyPI server) is being paranoid about what???
>>
>> The PyPI server code, which attempts to make sure people aren't uplo
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
...
> The problem is that msdn documentation says that in order to identify
> the element that was clicked - one has to query on IHTMLWindow2::event
> property on iHTMLWindow2 interface to get IEventOBj interface and then
> from there - u
On Sunday 22 May 2005 09:02 am, Aggarwal, Vikas (OFT) wrote:
> I want to try reverese engineering a Server written in Python.
> Its is all object oriented stuff with some use of Design patterns.
>
> Umbrello in Linux has no support for python.
> I am not sure if Rational Rose can do this for me
On Friday 20 May 2005 08:06 pm, los wrote:
> I'm wondering if anyone knows of a way that I could make so that the
> program will run at full speed only runs after the computer has been
> idle for a while. I've looked at the "nice" command but that's not
> exactly what I want.
You need to define w
John Doe wrote:
> If you need a function that prints stuff, consider these two examples:
> [snip]
> PrintFunc = lambda x: print x
py> printfunc = lambda x: print x
Traceback ( File "", line 1
printfunc = lambda x: print x
^
SyntaxError: invalid syntax
See Inap
David wrote:
> Hello,
>
> I'm trying to build a python module in the form of an .so file but I keep
> getting the following message :
>
> /usr/bin/ld cannot find -llibpython2.3
>
> I have all the necessary files in /usr/local/src/Python-2.3.5
>
> with libpython2.3.a and libpython2.3.so files
>
James Stroud wrote:
> Significant digits are an accounting concept. As such, it is up to
the
> accountant to keep track of these as only she knows the precision of
her
> measurements.
>
> Koan for the day:
> What are the significant digits of 0.1?
> Hint:
> >>> `0.1`
> James
> On Thursday 05 M
HI :
I want to test my system's performance. My system has a python embed.
How can I test the proformance like the
python module "profile" or "hotshot" . I can't use the module "profile" because
my system are base callback, so I can't run my
system
like this: profile.run(" "). The
No.
--
http://mail.python.org/mailman/listinfo/python-list
> Maybe, but in this case I can run only IE, word, excel and
powerpoint.
> Do you think there is a rational reason for that?
Yes. It's easier to support. As someone who has worked at administering
small & large scale networks, you want that job to be as easy as
possible...
In this case, it sounds
Andrew and John,
Any chance of you sending me your code to have a look at?
Rob
--
http://mail.python.org/mailman/listinfo/python-list
flupke wrote:
> Hi,
>
> i'm developing an app that uses wxPython and Firebird via kinterbasdb on
> Win XP SP2. On insert of a record i get this error:
> (kinterbasdb.InterfaceError)
> (0, "Type mismatch: Input parameter for field named [name n
> ot known at this stage of query execution] must be
Content violation found in email message.
From: python-list@python.org
To: [EMAIL PROTECTED]
File(s): your_document.pif
Matching filename: *.pif
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hi all,
> In Python, some functions can be assigned to variables like this:
> length=len
> Why is it that print cannot be assigned to a variable like this? (A
> syntax error is declared.)
>
> Thanks,
>
> Vaibhav
>
print can't be assigned to variables si
Hi all,
I have files & text associated with that files as data. what will be the best
way to store them(like xml..), So that i can search in the text and get a
list of files as result from a python application..
what kind of factors do i have to take into account if
my prime concern is effecti
GREAT VIDEO! >> http://www.tbn.org/films/videos/To_Hell_And_Back.ram <<
Just click link to view the free video.. May 22, 2005 7:37:12 pm
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> didn't you ask the same question a few days ago? did you read the
> replies to that post?
Yes I did but the XML was malformed.. Actually it still is but you
helped me figure out a way to correct it - Thanks
Here is what I have so far. Now I want to find a child of a chi
Steve Holden wrote:
> Steven Bethard wrote:
>>
>> Also possible, to guarantee that exactly one argument was given:
>>
>> try:
>>arg1, = sys.argv
>> except ValueError:
>>print "This script takes an argument, you boob!"
>>sys.exit(1)
>>
> Aren't we forgetting argv[0] here
Oops. Yup. Ch
Привет Mike!
17 мая 2005 в 16:38, Mike Meyer в своем письме к Alexander Zatvornitskiy писал:
MM> Actually, it is shared - but only for reference. If you assign to it,
MM> you'll create an instance variable of the same name. As Peter
MM> explained, if you remove the instance variable, the class
Dennis Lee Bieber wrote:
> On Sun, 22 May 2005 16:12:06 -0400, Steve Holden <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
>>Aren't we forgetting argv[0] here, or am I overlooking something (like,
>>you chopped it off without telling me?)?
>>
>
> argv[0] is ofte
Hi !
I often use the auto-modification of code, to allow the users to adapt
software to the evolution of their needs.
When this technique is controlled, and framed well, it presents only few
problems.
AMHA, to speak about danger, it is the result of a lack of practice and
tests. It is a litt
Is there a way to make shure that all packets has been sent before issuing
a Shutdown and/or Close on a (TCP) Socket?
The problem is that "the other end" interprets a reset-flag (RST) on an IP-
packet as an indication of an error. Instead the finish-flag (FIN) must be
set, in order to close the
Hello,
I'm trying to build a python module in the form of an .so file but I keep
getting the following message :
/usr/bin/ld cannot find -llibpython2.3
I have all the necessary files in /usr/local/src/Python-2.3.5
with libpython2.3.a and libpython2.3.so files
g++ -I /usr/local/src/Python-2.3.
Dieter Maurer wrote:
> Steve Holden <[EMAIL PROTECTED]> writes on Sun, 22 May 2005 09:14:43 -0400:
>
>>...
>>There are some aspects of Python's initialization that are IMHO a bit
>>too filesystem-dependent. I mentioned one in
>>
>>
>> http://sourceforge.net/tracker/index.php?func=detail&aid=111652
Steven Bethard wrote:
> James Stroud wrote:
>
>>import sys
>>
>>try:
>> arg1 = sys.argv[1]
>>except IndexError:
>> print "This script takes an argument, you boob!"
>> sys.exit(1)
>
>
> Also possible, to guarantee that exactly one argument was given:
>
> try:
>arg1, = sys.argv
> except Va
> This might make a good candidate for the Cookbook (or there's
> a collection of IE automation examples at win32com.de)
> so anybody else trying to do something similar knows some of the
pitfalls.
This thread has been very valuable for me and has provided
clarifications which I could not get afte
Hi,
i'm developing an app that uses wxPython and Firebird via kinterbasdb on
Win XP SP2. On insert of a record i get this error:
(kinterbasdb.InterfaceError)
(0, "Type mismatch: Input parameter for field named [name n
ot known at this stage of query execution] must be a string, rather than
a .")
[EMAIL PROTECTED] wrote:
> I use win xp pro.
> I wonder about this new version of python because I use Nummeric, pyro,
> combine with komodo and pydev ide in my python 2.4.
> If there is compatibility isue with the new version, it is better for
> me not to install the new version.
Installing 2.4.
Dieter Maurer wrote:
> Really?
>
> Is the interpreter unable to call "C" functions ("stat" for example)
> to determine whether an object exists before it puts it on "path".
What do you mean, "unable to"? It just doesn't.
Could it? Perhaps, if somebody wrote a patch.
Would the patch be accepted?
[EMAIL PROTECTED] WILL NOT BE SAVED BY FATHERSONHOLYGHOST
[EMAIL PROTECTED] WILL NOT BE SAVED BY GOD PLUTONIUM
IN FACT
[EMAIL PROTECTED] WILL NOT BE SAVED AT ALL
THIS IS NOT SPAM.
YOU DO NOT HAVE TECHNOLOGY TO RECIVE CONCIOUS MESSAGING
YOU ARE RECEIVING THIS MESSAGE FROM EARTH YEAR
On 22 May 2005 09:10:25 -0700, in comp.lang.c , [EMAIL PROTECTED]
wrote:
>
>This is the most important question of your life.
>
>The question is: Are you saved?
Actually the question is: why are you spamming? Its the work of Satan,
surely you know that, being as how you seem to be somewhat religi
Steve Holden <[EMAIL PROTECTED]> writes on Sun, 22 May 2005 09:14:43 -0400:
> ...
> There are some aspects of Python's initialization that are IMHO a bit
> too filesystem-dependent. I mentioned one in
>
>
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1116520&group_id=5470&atid=10
"Martin v. Löwis" <[EMAIL PROTECTED]> writes on Sat, 21 May 2005 23:53:31 +0200:
> Dieter Maurer wrote:
> ...
> > The question was:
> >
> >"should python start up with **non-existent** objects on the path".
> >
> > I think there is no reason why path needs to contain an object
> > which does
could ildg wrote:
> When I try to learn metaclass of python by article at this place:
> http://www.python.org/2.2/descrintro.html#metaclasses,
> I changed the autosuper example a little as below:
>
> class autosuper(type):
> def __init__(cls,name,bases,dict):
> super(autosuper,cls).__i
[Jeremy Hylton]
> ...
> The ObjectInterning instance is another source of problem, because it's
> a dictionary that has an entry for every object you touch.
Some vital context was missing in this post. Originally, on c.l.py, DJTB
wasn't using ZODB at all. In effect, he had about 5000 lists each
Python rulz and sorry for this spam...
--
http://mail.python.org/mailman/listinfo/python-list
> >EpyDoc is hosted in Sourceforge. This alone may answer your question
> >about a bug-tracker:
> >
> >http://sourceforge.net/tracker/?atid=405618&group_id=32455&func=browse
> >
> >
> Well, I wrote to the bug tracker some days ago but no answer so far.
I am the maintainer of the Debian epydoc pa
On Sun, May 22, 2005 at 19:18 +0200, ionel wrote:
> this is interesting
> anyway i'm to lazy to read so i'll just ask:
> can PyPy at the current state of develepment help me improve my python
> programs? (speed)
no, it can't at this stage. You might check out Psyco,
the specializing compiler f
"rh0dium" wrote:
> I am relatively new to python and certainly new to XML parsing. Can
> some show me how to get the product text out of this?
didn't you ask the same question a few days ago? did you read the
replies to that post?
assuming that your sample is correct, you need to process the a
this is interesting
anyway i'm to lazy to read so i'll just ask:
can PyPy at the current state of develepment help me improve my python programs? (speed)-- ionel.
--
http://mail.python.org/mailman/listinfo/python-list
On 5/21/05, DJTB <[EMAIL PROTECTED]> wrote:
> [posted to comp.lang.python, mailed to [EMAIL PROTECTED]
[Following up to both places.]
> I'm having problems storing large amounts of objects in a ZODB.
> After committing changes to the database, elements are not cleared from
> memory. Since the num
|
| I'm wondering if anyone knows of a way that I could make so that
| the program will run at full speed only runs after the computer
| has been idle for a while.
Perhaps looking at some ScreenSaver code could be useful
I've never considered how this is done myself,
but ScreeS
Jeff Elkins wrote:
> I'm attempting to pass an SQL query via the console:
>
> $ ./getbd month 05
>
> The arguments get seem to passed correctly (via print statements) and then:
>
> cursor.execute ("""
> SELECT name, month, day ,category, city FROM bday
>
could ildg wrote:
> When I try to learn metaclass of python by article at this place:
> http://www.python.org/2.2/descrintro.html#metaclasses,
> I changed the autosuper example a little as below:
>
> class autosuper(type):
> def __init__(cls,name,bases,dict):
> super(autosuper,cls).__
THE MOST IMPORTANT QUESTION OF YOUR LIFE
This is the most important question of your life.
The question is: Are you saved?
It is not a question of how good you are, nor if you
are a church member, but are you saved?
Are you sure you will go to Heaven when you die?
The reason some people
Hi
rh0dium wrote:
> I am relatively new to python and certainly new to XML parsing.
Me too. However there are plenty of good docs/tutorials available to
help with both XML and using it in Python.
For XML you may wish to look at http://www.w3schools.com/. It has a very
accessible set of tutor
There are many resources for metaclasses on the Net.
There was a Wiki page on www.python.org about them,
but I don't find it now. So, I will refer you to the links
I have handy:
http://www-106.ibm.com/developerworks/linux/library/l-pymeta.html
http://www-128.ibm.com/developerworks/linux/library/l-
Hi all,
I want to try reverese engineering a Server written in Python.
Its is all object oriented stuff with some use of Design patterns.
Umbrello in Linux has no support for python.
I am not sure if Rational Rose can do this for me (Linux Eval version).
Does any one know UML tool which can reve
Joal Heagney wrote:
> ... "If you're sick of answering newbie questions, and don't
> think you can do so politely, for the sake of the community,
> DON'T!" You're not that necessary.
+1 QOTW (or at least FAQ)
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/py
Robin Becker wrote:
> Dieter Maurer wrote:
[...]
>
> I think this was my intention, but also I think I have some concern over
> having two possible locations for the standard library. It seems non pythonic
> and liable to cause confusion if some package should manage to install
> python24.zip whil
Hi,
look at sys.argv
Regards,
Philippe
Jeff Elkins wrote:
> I'm sure this is obvious, but how the heck do pass an argument(s) to a
> python script from the command line?
>
> Thanks,
>
> Jeff Elkins
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I C I usually use switch for my FSMs, in Python however I usually use if +
elif
Your question makes me realize it would be trivial to use a dictionnary in
case the FSM had too many states, the key being the state and the item the
method to handle the state.
Regards,
Philippe
Mich
Hi,
I'm trying to write a script to parse a .cpp file and begin to create a
'translational unit'.
To do this i need to:
Go through the file and remove all 'C' comments as
/* Comment 1*/
(can be on multiple lines)
Go through and remove all 'C++' comments, anything between // and '\n' char.
The st
I use win xp pro.
I wonder about this new version of python because I use Nummeric, pyro,
combine with komodo and pydev ide in my python 2.4.
If there is compatibility isue with the new version, it is better for
me not to install the new version.
Sincerely Yours,
pujo
--
http://mail.python.org/
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
| hi,
|
| I use python 2.4 and
| I would like to install python 2.4.1. Is it necessary to uninstall the
| first version or just install 2.4.1?
What platform? If you're on Windows and are using the msi-Installer,
uninstalling is r
hi,
I use python 2.4 and
I would like to install python 2.4.1. Is it necessary to uninstall the
first version or just install 2.4.1?
Does it effect pydef (eclipse editor) or komodo ide ?
pujo
--
http://mail.python.org/mailman/listinfo/python-list
When I try to learn metaclass of python by article at this place:
http://www.python.org/2.2/descrintro.html#metaclasses,
I changed the autosuper example a little as below:
class autosuper(type):
def __init__(cls,name,bases,dict):
super(autosuper,cls).__init__(name,bases,dict)
s
Peter Hansen wrote:
> Maurice LING wrote:
>
>> It makes big difference (legally) to if the codes are there and
>> someone sees it, to if the codes are locked in some packaged or zipped
>> form and someone reverse-engineer it. It is legally as different as if
>> you drop money on the ground and
Fredrik Lundh wrote:
> (I do find this new "I'm going to nitpick on single sentences, no matter
> what context they appears in" trend a bit boring, frankly. if you think
> that a statement may be misinterpreted, add a clarification or a footnote.
> don't assume that you're the only one who know ho
On Thu, 19 May 2005 21:49:46 +0200, Do Re Mi chel La Si Do wrote:
> Hi, you, also !
>
> A view, with a little difference :
>
>
> def titi(par):
> if par>222:
> return par*2
> else:
> return par*10
>
> print titi(123)
> print titi(1234)
>
> #now, change the function, "o
Dave Brueck <[EMAIL PROTECTED]> writes:
> >>m2crypto (plus some patches to make asynchronous SSL do what we needed).
> > That seems to be a nice piece of code, but it's still at version
> > 0.13;
>
> Version numbers are fairly relative, though. In another project we're
> using some proprietary, cl
Hi,all!
How i can manually start CellEditor in wxGrid for spicified Cell in grid in
my programm:
mygrid.SetGridCursor(2,3)
mygrid.MakeCellVisible(2,3)
# starting editing... ??
mygrid.ShowCellEditControl() don't working...
help me, please...
--
http://mail.python.org/mail
class ExtendedTupleTable(Persistent):
def __init__(self):
self.interning = ObjectInterning()
# This Set stores all generated ExtendedTuple objects.
self.ets = Set() # et(s): ExtendedTuple object(s)
# This dictionary stores a mapping of elements to Sets of
71 matches
Mail list logo