Wavy Navy 1.00 is now available at http://sizer99.com/wavy/
under BSD License.
This is a Pygame shoot-em-up based on the 1983 Sirius Software
game by Rodney McAuley.
Created from scratch in about 3 weeks of my spare time using Python and
Pygame as a test project for Pygame (which was easily up
Announcing
--
I'm pleased to announce the 2.5.5.1 release of wxPython, now available
for download at http://wxpython.org/download.php. This is mostly a
bug-fix release, but there are a few new features as well. See the
changes list below for details.
What is wxPython?
-
Hi all,
I am pleased to announce release 0.29 of Task Coach. This release fixes
two bugs and adds a couple of features:
Bugs fixed:
- New effort in the context menu did not work in release 0.28.
- When selecting 'View' - 'Completed tasks' in the task tree, only
completed root tasks were hidden.
ReleaseForge 0.7 is now available for download at:
http://releaseforge.sourceforge.net
---
About ReleaseForge 0.7:
This new version adds the ability for users to submit project news to
SourceForge. This feature is available from the newly
Hi Mage,
You can use for in instead of while break. I start from C# and I
found python is wonderfull, some style is strange but it fun anyway to
learn new way of thinking.
Best Regards,
Pujo
--
http://mail.python.org/mailman/listinfo/python-list
praba kar said unto the world upon 2005-04-11 00:50:
Dear All,
I am new to Python. I am in need of
some sorting functions (eg) numerical sorting
functions and alphapetical sorting functions.
I have searched through net But I cannot
find any regarding this so If anyone know
regarding
Hello,
I have a Python module written in C that spawns and kills processes
using OS-specific mechanisms. I want to kill all spawned processes when
the interpreter exits. I tried to wrap every spawned process in a
Python object like this:
import cmodule
class Process:
The message below (subject: Server Report) that you sent was not delivered
because it contained one or more prohibited attachments. The prohibited
attachment filenames are below:
- epclrti.zip was prohibited
---
Received: from pop3.nildram.co.uk by
Robert Kern wrote:
(the Linux distributors know how to do this: look for good stuff that's
either actively maintained or simple and solid enough to live for a while,
make sure the licenses are good enough, bundle the latest and greatest
version, ship tested versions at regular intervals,
[EMAIL PROTECTED] wrote:
I have a Python module written in C that spawns and kills processes
using OS-specific mechanisms. I want to kill all spawned processes when
the interpreter exits. I tried to wrap every spawned process in a
Python object like this:
import cmodule
class
In EmPy, your template would look something like this::
ul
@[for record in records]@
lia href=@record.id@record.title/a/li
@[end for]@
/ul
Batch expanding the template would look like something as simple as
(substituting in your
Martin v. Löwis wrote:
if I were in charge
Would you like to be?
I can help build an infrastructure that makes it easier to create a more
complete standard distribution, sure. (and since this isn't exactly a new
idea, I'm 100% confident that I don't have to do all the work myself.)
if this
Brandon J. Van Every wrote:
Ideally, I would like an open source website + html design tool implemented
in Python
didn't you just say that ideally, you wanted a tool written in lisp or scheme?
did you try the one frank wrote for you?
On Mon, 11 Apr 2005 05:14:47 GMT, Brandon J. Van Every
[EMAIL PROTECTED] wrote:
As is easily noticed, my website sucks. Enough people keep ragging
on me about it, that maybe I'll up and do something about it. However,
I currently have FrontPage 2000 and I hate it. Ideally, I would like an
open
http://www.reportlab.org/preppy.html
Looks very close to what I was looking for :)
Thanks!
--
Ksenia
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
set the PYTHON_PATH to include your home directory
Its correct name is 'PYTHONPATH'.
Under C shell:
setenv PYTHONPATH /home/yourlogin/pythonlibs
Under bourne/bash:
set PYTHONPATH=/home/yourlogin/pythonlibs
export PYTHONPATH
--
Hi,
I have some questions specifically about python win32com extensions,
and I thought it might be more appropriate to ask them on a mailing
list / newsgroup / webforum etc. dedicated to that. But is there such a
thing anywhere? I couldn't find links to it from the pywin32 homepage
or
BrianS wrote:
File /usr/share/printconf/util/printconf_conf.py, line 83, in ?
from xml.utils import qp_xml
ImportError: No module named utils
It seems that the xml package have been changed.
Not exactly. xml.utils is part of the XML processing package PyXML -
you don't get it in the
On 11 Apr 2005 00:45:08 -0700, Tim N. van der Leeuw
[EMAIL PROTECTED] wrote:
I have some questions specifically about python win32com extensions,
and I thought it might be more appropriate to ask them on a mailing
list / newsgroup / webforum etc. dedicated to that. But is there such a
thing
Hallo!
Look at the comment in the code! I have posted the decorate module in
Uuups, sorry, I'll RTFM myselfe *g*
Lg,
AXEL.
--
Aber naja, ich bin eher der Forentyp. Wolfibolfi's outing in
http://www.informatik-forum.at/showpost.php?p=206342postcount=10
--
Fredrik Lundh wrote:
Robert Kern wrote:
(the Linux distributors know how to do this: look for good stuff that's
either actively maintained or simple and solid enough to live for a while,
make sure the licenses are good enough, bundle the latest and greatest
version, ship tested versions at
Fredrik Lundh wrote:
Dhruva Hein wrote:
results = pc()
=== what is the difference between pc and pc()?
pc refers to an object, pc() calls it. in this case, it looks like pc is
the
portal catalog, and calling the catalog returns the contents.
Unfortunately there is
Hello NG,
I don't know if this is the right place to post this question, but
noting that it is os-related probably someone will have some nice idea.
I have built an application using Python+wxPython, and I have compiled it
into an exe file using py2exe. In my app, I use a call:
{'a':1,'b':'2','c':[3,4]}.keys()
['a', 'c', 'b']
How come? :-)
-jag
Python 2.3.3 (#1, May 7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
inline: Pasted Graphic.tiffJoshua Ginsberg -- [EMAIL PROTECTED]
Brainstorm Internet Network Operations
970-247-1442 x131--
I learned from http://www.jorendorff.com/articles/unicode/python.html that
one can specify a unicode character by u'\N {name of the character}'.
Is there any method that I do the reverse of this process? For example,
when
I have a unicode character '', uc.method() should return the character name
Dave Cook wrote:
On 2005-04-09, flupke [EMAIL PROTECTED] wrote:
i create my GUIs mainly via wxGlade. However when you start of to
program and want to do some rearranging to the gui, wxglade overwrites
your file and you've got to put your own code back in.
How about generating XRC files instead
Hello !
I've been trying desperately to access http://www.stackless.com but it's
been down, for about a week now !
I desperatly need to download stackless python...
Of course the stackless mailing list is on their server, so it's down,
too.
Does anybody has any info ?
Does
In article [EMAIL PROTECTED],
Daewon YOON [EMAIL PROTECTED] wrote:
I learned from http://www.jorendorff.com/articles/unicode/python.html that
one can specify a unicode character by u'\N {name of the character}'.
Is there any method that I do the reverse of this process? For example,
when
Jeremy Bowers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
On Fri, 08 Apr 2005 09:32:37 +, Sbastien de Menten wrote:
Hi,
When I need to make sense of a python exception, I often need to parse the
string exception in order to retrieve the data.
What exactly are
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
You will need to install the Python module MySQLdb. --
http://sourceforge.net/projects/mysql-python
There should be plenty of examples online too for using MySQLdb with
Python.
If you
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports no
transactions, foreign keys, procedures, triggers, concurrency, etc.
Postgresql is a lot better, free, and the
Bengt Richter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
See if this does what you want:
[snipped]
Yes, that's pretty much what I had in mind. I particularly liked the
idea of mirroring automagically the nested class inheritance in each
version. So I tried to refine this
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports
no transactions, foreign keys, procedures, triggers, concurrency, etc.
On Apr 11, 2005 7:57 AM, Joshua Ginsberg [EMAIL PROTECTED] wrote:
{'a':1,'b':'2','c':[3,4]}.keys()
['a', 'c', 'b']
How come? :-)
Dicts are not ordered.
See note (3) on this page :
http://www.python.org/doc/current/lib/typesmapping.html
--
Stephen Thorne
Development Engineer
--
German Windows 2000, SP 4
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
IPython 0.6.10 -- An enhanced Interactive Python.
Is it already known, that after switching
the keyboard input scheme on German
Windows 2000 to english USA International
IPython generates \x00 instead
Thanks for the answer... I subscribed, but meanwhile found the answer
to my problem via the MS-Word documentation already.
cheers,
--Tim
--
http://mail.python.org/mailman/listinfo/python-list
Dear Sirs,
I am trying to learn the way Python invokes system or primitive calls.
I tried to locate the function in Python's source that handles such requests, but I found it's like picking a needle in ocean.
Maybe you can let me know where to look for the documents and background readings
Hi
I have a problem with passing a runtime license key for an ActiveX
control to the method CreateControl() of the class
pywin.mfc.activex.Control.
Can anybody give me a hint in which form the license key string must be
passed to this method?
I got the license key for the ActiveX control using
Dictionary keys have no defined order. This is what the docs say about that:
Keys and values are listed in random order. If items(), keys(),
values(), iteritems(), iterkeys(), and itervalues() are called with no
intervening modifications to the dictionary, the lists will directly
correspond.
jw
[EMAIL PROTECTED] wrote:
I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what
kind of database suitable for python light and easy to learn. Is
mySQL a nice start with python ?
It depends... mySQL is fine for more or
On Apr 10, 2005 11:08 PM, Bengt Richter [EMAIL PROTECTED] wrote:
On Sat, 9 Apr 2005 19:22:16 +0200, Fredrik Lundh [EMAIL PROTECTED] wrote:
open('mywidget_v2.txt','w').write(repr(mywidget.textview)
How about a pickle hook?
You'd just unpack the pickle data, and end up with a pointer to a
Hi
I have a problem with passing a runtime license key for an ActiveX
control to the method CreateControl() of the class
pywin.mfc.activex.Control.
Can anybody give me a hint in which form the license key string must be
passed to this method?
I got the license key for the ActiveX control using
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what kind
of database suitable for python light and easy to learn. Is mySQL a
nice start
James Yu wrote:
I am trying to learn the way Python invokes system or primitive calls.
I tried to locate the function in Python's source that handles such
requests, but I found it's like picking a needle in ocean.
what system or primitive calls? Python's OS-level modules usually rely on the
Robert Kern wrote:
Agreed, which is why I think that proper package management and a CPyAN-type
system is the way to
go, not trying to stuff everything into a single distribution.
I think we're looking at this in two different ways: you're looking at it from
the sumo
python distribution
[EMAIL PROTECTED] [EMAIL PROTECTED] said :
Hello I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what kind
of database suitable for python light and easy to learn. Is mySQL a
nice start with python ?
There are a
If you want Simple you can use the following piece of code.
It won't work if you have a million records, but it's a nice intelligent
flatfile storage with a select where + order by and limit emulator.
# #
class ListMgr( object ):
Claudio == Claudio Grondi [EMAIL PROTECTED] writes:
Claudio Is it already known, that after switching the keyboard
Claudio input scheme on German Windows 2000 to english USA
Claudio International IPython generates \x00 instead of when
Claudio trying to input quotation marks?
You may want to take a look at www.websafe.com. If I can be so
bold (since I'm one of the developers), we belive it is both simple
and secure. We provide web, WebDAV, and HTTPS interfaces (I can
provide you with sample Python code). At-rest encryption is AES.
It is a hosted ASP-type application
how testing if a variable exists in python as isset in php??
thanks
--
http://mail.python.org/mailman/listinfo/python-list
I named a file 'try.py' and then was stumped, for a while, when
import try
gave a syntax error... So, how about a
'YouAreUsingAReservedWordStupid' exception ?
Matt Feinstein
--
There is no virtue in believing something that can be proved to be true.
--
Tim Roberts wrote:
Bob Then [EMAIL PROTECTED] wrote:
how can i change all files from one extension to another within a direcory?
In Windows, the quickest way is:
os.system( rename *.old *.new )
I have a vague memory that this won't work on
all versions of Windows... possibly it isn't
supported
On Monday 11 April 2005 11:01, Pierre-Frédéric Caillaud wrote:
psycopg ... has a dictfetchall() method which is worth its weight in
donuts !
It's very simple to write one for MySQLdb:
def dictfetchall(cursor):
'''Takes a MySQLdb cursor and returns the rows as dictionaries.'''
fabian wrote:
how testing if a variable exists in python as isset in php??
try:
variable
except NameError:
print variable not set
but that is really lousy Python; better make sure you always assign to
all variables, and use None (or another suitable value) to mark that some
variable
Martin v. Löwis wrote:
I personally find the notion of path objects confusing. Is this a
real path name on the local system, or merely a potential one? If
potential, why does it have a .size attribute
(what is the size of a non-existing file)?
Logically (and, I feel, quite intuitively), it's an
Hi, I am trying to install NumPy (v23.8) onder Macosx (panther
version). Python (v2.3) is bundled into panther and I installed the
IDE on top of that. After having untarred the source distribution in
the desktop directory and typed
python setup.py install
as recommended in the attached
I was unable to use the ZipFile class in the zipfile module in Python2.4. I
got an error that zlib could not be found. Comparing my Python 2.2
installation I noticed Python 2.4 was missing a certain file:
/usr/lib/python2.2/lib-dynload/zlibmodule.so. Unable to find a more elegant
solution, I
try:
myVariable
except NameError:
print Not bound
else:
print Bound
If you want to distinguish between the local an the global environment:
if globals().has_key( myVariable ):
...
versus
if locals().has_key( .
HTH,
Gerald
fabian schrieb:
how testing if a variable exists in python as isset
syd == syd [EMAIL PROTECTED] writes:
syd As for matplotlib, I checked it out. Looks amazing! I
syd really, really like what demos I tried.
syd HOWEVER, I could not find a good way to do smoothing. I like
syd the gnuplot bezier smoothing. This wouldn't be the hardest
syd
Because Python allows you to replace built-in methods with
your own. Later you will find that this can be extremely
powerful. You will stumble on this if you name a list 'list'
a string 'str', integer 'int', float 'float', dictionary
'dict', ... (at least I did grin).
-Larry Bates
Matt
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports no
transactions,
Transactions available since 3.23.17 (June 2000)
Sebastien de Menten wrote:
Jeremy Bowers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
On Fri, 08 Apr 2005 09:32:37 +, Sbastien de Menten wrote:
Hi,
When I need to make sense of a python exception, I often need to parse the
string exception in order to retrieve the data.
What
Well, I compiled a fresh version of Python 2.3.5 from python.org to
test the datetime theory... and I'm still getting 150sec execution
times. :-/ I'm gonna test the string vs. strop now...
-jag
inline: Pasted Graphic.tiffJoshua Ginsberg -- [EMAIL PROTECTED]
Brainstorm Internet Network
Hello, ... I am John McCormick (Systems Programmer ) and I am currently
working on a python program which will connect (user) specified inputs
and connect them to (user) selected outputs (like screen or
video/audio-recording devices) and would like to know if there's a
technique to test or sense
Ola Natvig wrote:
MySQL has support for transactions and foreign keys in it's InnoDB
engine. In 5.0 it supports views procedures. Some people seems to hate
MySQL :-) but a whole lot of other people like it a lot.
There are other problems, such as failing silently in many
circumstances, as
Larry Bates wrote:
Matt Feinstein wrote:
import try
gave a syntax error... So, how about a
'YouAreUsingAReservedWordStupid' exception ?
Because Python allows you to replace built-in methods with
your own. Later you will find that this can be extremely
powerful.
Powerful, but not involved in
Hi,
I've been looking into ways of creating singleton objects. With Python2.3 I
usually used a module-level variable and a factory function to implement
singleton objects.
With Python2.4 I was looking into decorators. The examples from PEP 318
http://www.python.org/peps/pep-0318.html#examples
This is a reminder that there are just ten days left before the UK
Python
Conference. This is the one chance in the UK each year to hear
in-depth
talks on a wide variety of topics from top Python experts. It
takes place at the Randolph Hotel in Oxford on 21-23 April.
I've been using python to write a simple 'launcher' for one of our Java
applications for quite a while now. I recently updated it to use python
2.4, and all seemed well.
Today, one of my colleagues noted that on her machine the launcher would
complain it was missing a DLL - msvcr71.dll
Wavy Navy 1.00 is now available at http://sizer99.com/wavy/
under BSD License.
This is a Pygame shoot-em-up based on the 1983 Sirius Software
game by Rodney McAuley.
Created from scratch in about 3 weeks of my spare time using Python and
Pygame as a test project for Pygame (which was easily up
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports
no transactions, foreign keys, procedures, triggers, concurrency, etc.
Alan Toppen wrote:
When running my Python script it gives a warning:
/usr/local/lib/python2.4/zipfile.py:7: RuntimeWarning: Python C API
version
mismatch for module zlib: This Python has C API version 1012, module zlib
has version 1011.
import zlib # We may need its compression method
Larry Bates wrote:
Because Python allows you to replace built-in methods with
your own. Later you will find that this can be extremely
powerful. You will stumble on this if you name a list 'list'
a string 'str', integer 'int', float 'float', dictionary
'dict', ... (at least I did grin).
Michael Kearns [EMAIL PROTECTED] writes:
I've been using python to write a simple 'launcher' for one of our
Java applications for quite a while now. I recently updated it to use
python 2.4, and all seemed well.
Today, one of my colleagues noted that on her machine the launcher
would
Hello, ... I am John McCormick (Systems Programmer ) and I am currently
working on a python program which will connect (user) specified inputs
and connect them to (user) selected outputs (like screen or
video/audio-recording devices) and would like to know if there's a
technique to test or sense
##
John W. McCormick, Systems Programmer / DBA
High Performance Computing Scientific Visualization
Lockheed Martin Information Technology, Supporting the EPA
Research Triangle Park, NC
919-541-0890
Federal Infrastructure Contact - Ravi Nair
Hello, ... I am John McCormick (Systems Programmer ) and I am currently
working on a python program which will connect (user) specified inputs
and connect them to (user) selected outputs (like screen or
video/audio-recording devices) and would like to know if there's a
technique to test or
Thomas Heller wrote:
For commercial development, it should not be a problem to buy a license
for MSVC 7.1, which gives you the right to distribute msvcrt71.dll.
And maybe that's the reason that few people care about this issue?
Hi Thomas,
There are a few problems with this as I see it. In theory,
On Apr 11, 2005, at 8:00 AM, Joshua Ginsberg wrote:
On Apr 10, 2005, at 4:14 PM, Bob Ippolito wrote:
On Apr 10, 2005, at 2:46 PM, Joshua Ginsberg wrote:
I writing some python code to do some analysis of my mail logs. I
took a 10,000 line snippet from them (the files are about 5-6
million
Fredrik Lundh said unto the world upon 2005-04-11 10:14:
fabian wrote:
how testing if a variable exists in python as isset in php??
try:
variable
except NameError:
print variable not set
but that is really lousy Python; better make sure you always assign to
all variables, and use None (or
Title: ANNOUNCE: SiGeFi v0.3.1
We're proud to announce the 0.3.1 version of SiGeFi, which you can find
at:
http://sourceforge.net/projects/sigefi
What is SiGeFi?
---
SiGeFi is a Financial Management System, with focus in the needs of
the administration of the money in
I guess the other thing to compare to is something like SciPy, which
is a kind of specialized distribution of Python for scientific
applications.
Robert No, Scipy is just a (large) package. Enthon, on the other hand,
Robert is just such a distribution.
I'm sorry, you lost
{'a':1,'b':'2','c':[3,4]}.keys()
['a', 'c', 'b']
Joshua How come? :-)
Because:
{'A':1,'b':'2','Cat':[3,4]}.keys()
['A', 'b', 'Cat']
:-)
For more detail:
http://www.python.org/doc/faq/general.html#id48
Skip
--
http://mail.python.org/mailman/listinfo/python-list
[Michael Kearns]
...
Also, I don't believe that just 'owning' MSVC 7.1 is enough. From
cursory glances at the various redist files, I would also have to ship
the EULA, and as an end-user (of python) I can't just redistribute the
files - perhaps I could write a place holder application in
Ron_Adam [EMAIL PROTECTED] wrote in
http://www.igda.org/seattle/
http://www.cyphondesign.com/
http://www.alphageeksinc.com/
http://www.gamasutra.com
These top three where done with text editors. If you view the source,
you will notice the formatting has good consistent indenting and there
The automatic reply to this e-mail which you should have
received in response to your e-mail to [EMAIL PROTECTED] has not been defined.
Please contact [EMAIL PROTECTED] for assistance.
--
http://mail.python.org/mailman/listinfo/python-list
Ilias Lazaridis wrote:
[EVALUATION] - E02 - Support for MinGW Open Source Compiler
http://groups-beta.google.com/group/comp.lang.python/msg/f5cd74aa26617f17
-
In comparison to the E02 thread, now a more practical one.
-
Here is a simple evaluation template (first part) which can be applied
to the
[EMAIL PROTECTED] wrote:
def funcSort(myList):
result = myList[:]
result.sort()
return result
In Python 2.4, funcSort is called sorted:
py sorted([1.2,1.23,4.5,2])
[1.2, 1.23, 2, 4.5]
py sorted([a,c,b,A,C,B])
['A', 'B', 'C', 'a', 'b', 'c']
STeVe
--
Ideally, I would like an open source website + html design tool
implemented in Python
didn't you just say that ideally, you wanted a tool written in lisp or
scheme?
I honestly got a little tired of the tone of the answers I was getting
from that crowd, about what an idiot I am. My query there is
Here is a snippet of code which does not send to all recipients.
However, it also does not inform me of this error. My suspicion is
that this only fails for users with longer usernames. The two I seem
to regularly fail on have 9 and 11 characters respectively. Most users
have names = 8
Brian van den Broek wrote:
Fredrik Lundh said unto the world upon 2005-04-11 10:14:
fabian wrote:
how testing if a variable exists in python as isset in php??
try:
variable
except NameError:
print variable not set
but that is really lousy Python; better make sure you always assign to
all
I am sorry if this is obvious, but I am not seeing it. How would I go
about creating a new type that is of the same type as a class sent into
the function?
new = foo.__init__() refers to the current foo, not a new fresh
instance of my class. The only way I can think of is to make a large
Uwe Mayer wrote:
Hi,
I've been looking into ways of creating singleton objects. With Python2.3 I
usually used a module-level variable and a factory function to implement
singleton objects.
With Python2.4 I was looking into decorators. The examples from PEP 318
ChinStrap wrote:
I am sorry if this is obvious, but I am not seeing it. How would I go
about creating a new type that is of the same type as a class sent into
the function?
new = foo.__init__() refers to the current foo, not a new fresh
instance of my class. The only way I can think of is to
I changed debuglevel to 1 and looked at the response on the recipient
names. They are BOTH accepted, but still only my id (d123456) receives
the e-mail. The long id (d1234567890) never gets the e-mail. Here is
the excerpt of the exchange.
send: 'mail FROM:[EMAIL PROTECTED] size=160\r\n'
reply:
Steven Bethard wrote:
It looks like you want to create a new _instance_ of the same type as an
_instance_ passed in to a function. If this is correct, you can do this
by:
...
If you need to support old-style classes, replace type(obj) with
obj.__class__.
You can use obj.__class__ for both
[EMAIL PROTECTED] a écrit :
Reading the language tututorial would help you a lot :(
=== what is the difference between pc and pc()?
pc = getToolByName() - returnes a refference to a method
Nope.
pc is a refference to a method,
Nope.
pc is not 'a reference to a method', it's a callable
Hi,
I am trying to excuate the follwong code:
[
import sys
from omniORB import CORBA, PortableServer
]
I get the following error:
[
Traceback (most recent call last):
File
C:\omniORBpy-2.5-win32-python2.3\omniORBpy-2.5\examples\echoMyTest\example_echo_coloc.py,
line 9, in ?
from omniORB
You can create your own Exception class, based on this recipe:
Thank you for your answer, the recipe you have suggested gives a very
big output, but it doesn't contain what I've asked for... :-) I was
asking to see that faulty method/function parameters (or the first line
of its docstring).
Mentre io pensavo ad una intro simpatica Michael Kearns scriveva:
I've been using python to write a simple 'launcher' for one of our Java
applications for quite a while now. I recently updated it to use python
2.4, and all seemed well.
Today, one of my colleagues noted that on her machine
1 - 100 of 163 matches
Mail list logo