Re: python interfaces

2008-01-05 Thread Peter Maas
nothing to do with multiple inheritance and are not about type safety in the first place. They just tell you how to connect, how to plug in. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: python interfaces

2008-01-05 Thread Peter Maas
is a software specification allowing you to use a software package without extensive code studies. This is a good thing. Interfaces have nothing to do with multiple inheritance. They just tell you how to connect, how to plug in. -- Regards/Gruesse, Peter Maas, Aachen E-mail

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-19 Thread Peter Maas
understanding in the programming world so I don't like them. I also don't like non-ascii domain names where the same arguments apply. Let the data be expressed with Unicode but the logic with ASCII. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http

Re: is laziness a programer's virtue?

2007-04-21 Thread Peter Maas
is to Larry's credit), when compared to the motherfucking Pythoners (who knew SHIT) as well as many of the self-appointed lisp bigwig characters. Be careful not to damage the English language by making motherfucking a compliment :) -- Regards/Gruesse, Peter Maas, Aachen E-mail

Re: scipy 0.52 det crashes python

2007-04-18 Thread Peter Maas
Robert Kern schrieb: Most likely your build of scipy was built with an ATLAS library that uses SSE2 instructions (IIRC) while your processor doesn't support those instructions. The solution is to rebuild scipy with an ATLAS library built for your platform. Thanks, Robert. -- Peter Maas

scipy 0.52 det crashes python

2007-04-17 Thread Peter Maas
I tried some scipy examples using scipy 0.52, numpy 1.02 and python 2.5 on a WinXP SP2 machine. numpy.linalg.det() works but scipy.linalg.det() crashes python. Has anybody experienced this and can point me to a solution? Thanks for your help. Peter Maas, Aachen -- http://mail.python.org/mailman

Re: explicit self revisited

2006-11-13 Thread Peter Maas
Michele Simionato wrote: Peter Maas wrote: All these reasons are valid and retained by the following suggestion: let self be represented by the dot snip This suggestion has been discussed in the past (I remember having the same idea myself when I first learned Python). But at the end I

Re: explicit self revisited

2006-11-13 Thread Peter Maas
that implicitly returns self, just don't bother.) No magic. Just a dot. But perhaps a dot is too tiny. We could take JUST_ME or ME_AND_BOBBY_MCGEE instead, of course as a reserved keyword followed by a dot ;) Thanks for your hints, Steven. -- Regards/Gruesse, Peter Maas, Aachen E-mail

explicit self revisited

2006-11-11 Thread Peter Maas
replace parameterless __init__ methods. Methods without leading dots could be considered static without a staticmethod decorator. For backward compatibility this behaviour should be explicitly activated e.g. by __autostatic__ = true. What do you think? -- Regards/Gruesse, Peter Maas, Aachen E-mail

Re: Python component model

2006-10-12 Thread Peter Maas
Kay Schluehr wrote: Peter Maas wrote: How many programmers don't use Python because of the self issue? The only reason I know why self shall not be inforced is reducing the number of troll postings. The only method that works to reduce the number of troll postings is: spot them, then ignore

Re: Python component model

2006-10-12 Thread Peter Maas
survival. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: Python component model

2006-10-11 Thread Peter Maas
Bruno Desthuilliers wrote: Peter Maas wrote: [...] a reference implementation for web programming as part of the standard library, wsgiref is part of the 2.5 stdlib. Yes, but it's not an implementation. Think of something like Tomcat for the Java Servlet Specification. -- Regards/Gruesse

Re: Python component model

2006-10-11 Thread Peter Maas
especially important to stop the uninformed rubbishing that advocates of certain other languages seem particularly inclined to indulge in. I don't think so because advocates tend to use arguments just because they are handy, not because they don't know better. -- Regards/Gruesse, Peter Maas

Re: Python component model

2006-10-10 Thread Peter Maas
). -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: Python component model

2006-10-10 Thread Peter Maas
the silliness into account instead of laughing about those silly folks. I for my part would be happy to see a Delphi-like RAD tool for Python, a reference implementation for web programming as part of the standard library, Jython 2.5, Python for PHP or whatever attracts new programmers. Peter Maas

Re: New-style classes slower than old-style classes? (Was: n-body problem at shootout.alioth.debian.org)

2006-10-08 Thread Peter Maas
. But the runtime penalty for using new-style classes remains. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: New-style classes slower than old-style classes? (Was: n-body problem at shootout.alioth.debian.org)

2006-10-08 Thread Peter Maas
Peter Maas schrieb: 1 runs of nbody.py, time in sec Correction: 1 iterations of advance(). -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: n-body problem at shootout.alioth.debian.org

2006-10-07 Thread Peter Maas
arrays in the Perl program are on the same track. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: n-body problem at shootout.alioth.debian.org

2006-10-07 Thread Peter Maas
Giovanni Bajo wrote: Did you try using an old-style class instead of a new-style class? The original program has an old style class, changing it to a new style class increases run time by 25% (version is 2.4.3 btw). -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n

Re: n-body problem at shootout.alioth.debian.org

2006-10-07 Thread Peter Maas
increases runtime by 19%! If it weren't for the shootout I would of course take psyco and numpy. -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

n-body problem at shootout.alioth.debian.org

2006-10-06 Thread Peter Maas
for the difference? It's pure math so I expected Perl and Python to have about the same speed. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: n-body problem at shootout.alioth.debian.org

2006-10-06 Thread Peter Maas
, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: n-body problem at shootout.alioth.debian.org

2006-10-06 Thread Peter Maas
but I was curious why plain Python was slower than plain Perl. Thanks for your hints, guys! -- Regards/Gruesse, Peter Maas, Aachen E-mail 'cGV0ZXIubWFhc0B1dGlsb2cuZGU=\n'.decode('base64') -- http://mail.python.org/mailman/listinfo/python-list

Re: Create TarFile using python

2006-09-12 Thread Peter Maas
?: http://docs.python.org/lib/tar-examples.html Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Test for number?

2006-09-04 Thread Peter Maas
not break old code :) Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you want in a new web framework?

2006-09-02 Thread Peter Maas
Alex Martelli wrote: Peter Maas [EMAIL PROTECTED] wrote: Cliff Wells wrote: On Wed, 2006-08-23 at 22:13 +0200, Peter Maas wrote: Alex Martelli wrote: [...] I have already suggested to the BDFL that he can remedy this situation in Py3k: all he has to do, of course, is to add a LOT more

Re: What do you want in a new web framework?

2006-08-29 Thread Peter Maas
Cliff Wells wrote: On Wed, 2006-08-23 at 22:13 +0200, Peter Maas wrote: Alex Martelli wrote: [...] I have already suggested to the BDFL that he can remedy this situation in Py3k: all he has to do, of course, is to add a LOT more keywords. Here is another remedy: he adds one of the frameworks

Re: What do you want in a new web framework?

2006-08-29 Thread Peter Maas
[EMAIL PROTECTED] wrote: Here is another remedy: he adds one of the frameworks to the standard library :) Peter Maas, Aachen But there are already 3 ;-) http://docs.python.org/lib/module-BaseHTTPServer.html http://docs.python.org/lib/module-SimpleHTTPServer.html http://docs.python.org

Re: What do you want in a new web framework?

2006-08-23 Thread Peter Maas
remedy: he adds one of the frameworks to the standard library :) Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the ascii code of Chinese characters?

2006-08-19 Thread Peter Maas
closest to what the OP wants. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Import bug: Module executed twice when imported!

2006-06-30 Thread Peter Maas
- I claim this as a well documented (and thus exspectable) Python behaviour. execfile() just executes a file unconditionally without searching in sys.modules. That's its purpose, otherwise it would be a synonym of the import statement. Peter Maas, Aachen -- http://mail.python.org/mailman

Re: Programming language productivity

2006-05-21 Thread Peter Maas
. Python indent/unindent would of course also count as block delimiters. I think this would be a more precise measure for software size. Peter Maas, Aachen. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can Python installation be as clean as PHP?

2006-05-10 Thread Peter Maas
://dada.perl.it/shooutout for win32 and http://shooutout.alioth.debian.org for linux. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Missing interfaces in Python...

2006-04-18 Thread Peter Maas
with interfaces, missing methods will suddenly appear out of thin air ? He probably means that with interfaces one could test compliance with the interface as a whole instead of testing each member and each signature as a single piece. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python

Re: Missing interfaces in Python...

2006-04-18 Thread Peter Maas
Roy Smith schrieb: Python is a very dynamic language. Java is a very static language. What is the difference between static and very static? Is Java more static than Fortran I? ;) Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: convert hex to decimal

2006-03-09 Thread Peter Maas
know how to covert 26 to 38 but I haven't figured out how to pad it or place Have look at ljust/rjust(width[, fillchar]) the decimal point between the while number and the decimal. What's a while number? Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python advocacy in scientific computation

2006-03-06 Thread Peter Maas
++. Peter Maas, AAchen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python advocacy in scientific computation

2006-03-06 Thread Peter Maas
and not you :) I think there is a more convincing reply to indentation phobia: It is natural that compiler and programmer agree on how to identify block structures. Anybody who disagrees should bang his code against the left side or put everything in one line to get rid of annoying line breaks. :) Peter

Re: PEP 354: Enumerations in Python

2006-03-01 Thread Peter Maas
a type that cannot be instantiated i.e. a useless type. I don't like Python enums at all. It is kind of I want to have that C++ thing, too. In Python enums can be emulated so there's no need to have syntactical support for them. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python

Re: how do you pronounce 'tuple'?

2006-02-13 Thread Peter Maas
I have no idea wether it sounds ridiculous to English ears. If simple is too simple for you just call it simplum or simplon or simplex. ;) Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: how do you pronounce 'tuple'?

2006-02-13 Thread Peter Maas
single is correct. Consider coronary bypass operations -- single, double, triple, quadruple... That's OK but single stems from singularis (one-of-a-kind) rather than from simplex (onefold) and doesn't fit as nicely to the other tuples. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo

Re: how do you pronounce 'tuple'?

2006-02-13 Thread Peter Maas
Peter Maas schrieb: But tuples mean threefold, twofold etc. and the Latin equivalents are triplex duplex simples. triplex duplex simplex Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: What editor shall I use?

2006-02-09 Thread Peter Maas
-1.67-setup-3.exe Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: beta.python.org content

2006-01-26 Thread Peter Maas
motives in this remark :) - I really liked the different looking Pythons in the logo corner. Couldn't they find asylum somewhere in the new site? - I would prefer stronger, less flimsy colours. But apart from these superficial points: well done :) Peter Maas, Aachen -- http://mail.python.org

Re: beta.python.org content

2006-01-26 Thread Peter Maas
and right angles - it's a contradiction. This is just my personal taste. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Dynamic website content

2006-01-22 Thread Peter Maas
for information about HTTP push. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie with some doubts.

2006-01-13 Thread Peter Maas
who can't imagin to program without classes, so don't conclude that there is a contradiction here - it's just the question of taste It's not a question of taste it's a question of the kind of problem to solve. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python obfuscation

2005-12-28 Thread Peter Maas
solves the money problem for consumers _and_ producers is wrong IMO. There are conditions for OSS for to succeed. It is worthwile to get to know these conditions. To claim that there are no conditions at all and OSS is successful by itself is certainly not true. Peter Maas, Aachen -- http

Re: Python obfuscation

2005-12-25 Thread Peter Maas
: continue praising OSS (as I do) but don't make ideological claims that it fits everywhere. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

Re: Still Loving Python

2005-12-13 Thread Peter Maas
menus and toolbars by writing code. It's not as bad as creating an image by typing addpixel(x,y,color) a million times but it comes close. Creating visual resources visually is the direct way, creating them in code is a detour. Code is too lengthy and too versatile for such a job. -- Peter Maas

Re: SciPy python 2.4 wintel binaries

2005-11-12 Thread Peter Maas
jelle schrieb: I dearly miss having the power of SciPy on my python 2.4 installation. The topic of SciPy python 2.4 wintel binaries has been discussed before on this list, but I haven't been able to find a compiled binary. If you really need SciPy, you should install Python 2.3 (Enthought

Re: Python doc problems example: gzip module

2005-08-31 Thread Peter Maas
) unfuckedfile.close() Please feel free to insert this fucking example into the fucking docs. Have a nice ... eh fucking day :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode

.pth files in working directory

2005-08-31 Thread Peter Maas
in .../site-packages works but I prefer to have everything inside the directory tree so that removing the tree is sufficient for a complete uninstall. Any hints are appreciated, thanks. -- --- Peter Maas, M+R Infosysteme, D-52070

module not found in IIS virtual dir

2005-08-31 Thread Peter Maas
/ in the Python Path but upgrade/util/logonUser.py can no longer be found by selectfiles.py (os.path.exists returns false). This is strange because other modules, e.g. odbc.py are still importable. Hope you can help me. Thanks. -- --- Peter

Re: .pth files in working directory

2005-08-31 Thread Peter Maas
its own calls to site.addsitedir() and such. Try help(site) for more. But sitecustomize.py changes the Python installation, doesn't it? This wouldn't be an advantage over putting a .pth file into .../site-packages. -- --- Peter

Re: module not found in IIS virtual dir

2005-08-31 Thread Peter Maas
Peter Maas schrieb: I'm trying to call python scripts from IIS in the following tree: [...] If I run selectFiles.py from the command line everything is ok. But if I call it via IIS (http://localhost/vselect/selectFiles.py) there is an error No module named util [...] Forget it. It was an ACL

Re: .pth files in working directory

2005-08-31 Thread Peter Maas
wd at the beginnig of every module. Each module would read the top location from a .pth file in its directory. Yes that's possible. Thanks for your help. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E

Re: .pth files in working directory

2005-08-31 Thread Peter Maas
Peter Hansen schrieb: Peter Maas wrote: But sitecustomize.py changes the Python installation, doesn't it? This wouldn't be an advantage over putting a .pth file into .../site-packages. You can have a local sitecustomize.py in the current directory, which wouldn't change the Python

Re: variable hell

2005-08-26 Thread Peter Maas
tried this once and it worked. This may be too naive, so thanks for the warning :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: variable hell

2005-08-25 Thread Peter Maas
= str(value) suffix = 'var' vars()['a%s' % suffix] = 45 avar 45 -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Testing for presence of arguments

2005-08-18 Thread Peter Maas
a built-in class. If you are interested in getting help on usenet you should abstain from devaluating efforts to give you a useful reply. Thanks for the suggestion or even no answer would have been sufficient. -- --- Peter Maas, M+R

Re: Library vs Framework (was Dr. Dobb's Python-URL!)

2005-08-17 Thread Peter Maas
apps because it calls your Python handlers. According to Andy Smith the Apache/ modpython combo sucks because it takes away the freedom to call a HTTP library and write your own HTTP server ;) -- --- Peter Maas, M+R Infosysteme, D

Re: Obfuscator for Python Code

2005-08-17 Thread Peter Maas
codecraig schrieb: Is there any obfuscator out there that obfuscates the python code (byte code i guess)??? http://www.lysator.liu.se/~ast rand/projects/pyobfuscate/ -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49

Re: Obfuscator for Python Code

2005-08-17 Thread Peter Maas
Peter Maas schrieb: codecraig schrieb: Is there any obfuscator out there that obfuscates the python code (byte code i guess)??? http://www.lysator.liu.se/~ast rand/projects/pyobfuscate/ Delete space: http://www.lysator.liu.se/~astrand/projects/pyobfuscate

Re: API class creation

2005-08-04 Thread Peter Maas
= aModule.c() -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org

Re: Opinions on KYLIX 3 (Delphi 4 Linux)

2005-07-25 Thread Peter Maas
on a new platform, and re-write from scratch? Port it to FreePascal :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Will Guido's Python Regrets ever get implemented/fixed?

2005-07-04 Thread Peter Maas
George Sakkis schrieb: Given that the latest 2.x python will be 2.9 Why not 2.13 or 2.4711? Version strings are sequences of arbitrary integers separated by dots and not decimal numbers, or are they? -- --- Peter Maas, M+R

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Jun 29)

2005-07-01 Thread Peter Maas
Simon Brunning schrieb: Sibylle Koczian needs to sort part of a list. His first attempt made the natural mistake - sorting a *copy* of part of the list: I think it was _her_ first attempt. -- --- Peter Maas, M+R

Re: When someone from Britain speaks, Americans hear a British accent...

2005-06-29 Thread Peter Maas
muldoon schrieb: Now, what forum would you recommend? Any help would be appreciated. alt.culture.us.* -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode

Re: Boss wants me to program

2005-06-28 Thread Peter Maas
. Basic is the ugliest and most mind corrupting language I've come across. And the OP has a C/C++ background. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Daten Kinderheilkunde

2005-06-27 Thread Peter Maas
Peter Maas schrieb: vielen Dank für die Zusendung der Daten. Es handelt sich allerdings nicht um jpeg-Dateien, wie die Erweiterung nahelegt. Wir konnten sie nur mit dem PictureViewer auf einem Apple anzeigen. Sie werden unter MacOS als Adobe-Photoshop-Dokument angezeigt. Sorry, my fault

Daten Kinderheilkunde

2005-06-27 Thread Peter Maas
Dateien als jpegs bekommen oder sollen wir sie selbst umwandeln? Mit freundlichen Gruessen, Peter Maas -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Python API to manipulate CAB files.

2005-06-22 Thread Peter Maas
Isaac Rodriguez schrieb: Does anyone know of a Python API to manipulate CAB files? If there is a Windows API you can probybly call it from Python using Mark Hammond's Win32 extensions. -- --- Peter Maas, M+R Infosysteme, D-52070

Re: A tool for Python - request for some advice

2005-06-21 Thread Peter Maas
: Your English IS good enough. ;) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: What is different with Python ?

2005-06-15 Thread Peter Maas
Magnus Lycka schrieb: Peter Maas wrote: Learning is investigating. By top-down I mean high level (cat, dog, table sun, sky) to low level (molecules, atoms, fields ...). Aha. So you must learn cosmology first then. I don't think so. ;) I wasn't talking about size but about sensual

Re: What is different with Python ?

2005-06-14 Thread Peter Maas
Andrea Griffini schrieb: On Mon, 13 Jun 2005 13:35:00 +0200, Peter Maas [EMAIL PROTECTED] wrote: I think Peter is right. Proceeding top-down is the natural way of learning. Depends if you wanna build or investigate. Learning is investigating. By top-down I mean high level (cat

Re: What is different with Python ?

2005-06-13 Thread Peter Maas
will follow driven by curiosity. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: The need to put self in every method

2005-06-02 Thread Peter Maas
://www.python.org/doc/faq/general.html -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: The need to put self in every method

2005-06-02 Thread Peter Maas
:) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org/mailman/listinfo

Re: Newbie Here

2005-05-31 Thread Peter Maas
(backup scripts) - web applications (replacing asp/php) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Newbie Here

2005-05-31 Thread Peter Maas
anything any major programming language is used for is probably too wide. I would e.g. exclude device drivers, router firmware etc. ;) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail

Re: blabla

2005-05-23 Thread Peter Maas
Noud Aldenhoven schrieb: Python rulz and sorry for this spam... news.test is made for testing :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: goto statement

2005-04-21 Thread Peter Maas
from line marked as 'a' to current line) :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Is Python appropriate for web applications?

2005-04-15 Thread Peter Maas
. But with interpreted code Python seems to be approximately 3-4 times faster than PHP (http://dada.perl.it/shootout/). What are the pros and cons? http://www.allsites.com/Top.Computers.Programming.Languages.Comparison_and_Review.html -- --- Peter Maas

Re: Programming Language for Systems Administrator

2005-04-12 Thread Peter Maas
were quite hard to read especially for beginners. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64

Re: Getting the word to conventional programmers

2005-03-22 Thread Peter Maas
or config issue? -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org

Re: Simple account program

2005-03-18 Thread Peter Maas
bal -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org/mailman

Re: Python becoming less Lisp-like

2005-03-17 Thread Peter Maas
such boilerplate code is understandable. This is original Delphi-Style, btw. But why is this boilerplate code? You define a property, and tell how it is read and written. How does your preferred code look like? -- --- Peter Maas, M+R

Re: Python becoming less Lisp-like

2005-03-16 Thread Peter Maas
mechanism for validating programs at compile time. There's nothing wrong with defining interfaces and conditions and being able to check them before actually running the program. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel

Re: Python becoming less Lisp-like

2005-03-15 Thread Peter Maas
- dictionary -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org

Re: Debugging Python Scripts inside other processes

2005-03-13 Thread Peter Maas
embedded scripts where you want debugging to start. If your C++ program doesn't have a console then perhaps you can provide one with a Win32 call? Just guessing here. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878

Re: Creating module skeleton from unit tests

2005-03-04 Thread Peter Maas
be creating tests before the code, but many people wouldn't regard it as TDD then. You shouldn't care if your approach works for you. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail

Re: list of all type names

2005-03-01 Thread Peter Maas
can define what you like but you will have to reference dict, list etc. as bi.dict, bi.list, ... For a fast check simply type e.g. dict in the interactive Interpreter. If you get a NameError it is not built-in. :) -- --- Peter Maas, M

Re: - E02 - Support for MinGW Open Source Compiler

2005-02-23 Thread Peter Maas
with COFF2OMF because the library interfaces of python.dll and the Borland binaries were different. If your MinGW experience described above is typical then I'll get a stop watch and give it a try ;) -- --- Peter Maas, M+R Infosysteme, D-52070

Re: [EVALUATION] - E02 - ULTIMATE RECIPE TO RESOLVE ALL ISSUES

2005-02-18 Thread Peter Maas
Terry Reedy schrieb: Peter Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] http://nobelprize.org/medicine/educational/pavlov/ and then do something useful :) Thanks. I showed this to my daughter, who enjoyed the game, and explained your point re Pavlov posting, and about Pavlov

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-16 Thread Peter Maas
. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org/mailman/listinfo/python-list

Re: [EVALUATION] - E02 - ULTIMATE RECIPE TO RESOLVE ALL ISSUES

2005-02-16 Thread Peter Maas
useful :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org

replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- -- http://mail.python.org/mailman/listinfo/python-list

Re: replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
Peter Maas schrieb: I have inherited an extremely messy ASP/VBScript application which is a pain for me to support. Now the customer is thinking about a redesign. I'd like to rewrite the whole thing in Python but the app has to meet some conditions like [...] Just noticed that this posting doesn't

Re: replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
and generate orders to the company's internal or external suppliers. The orders are stored in a database and emails are generated to the addresses of the buyer and the suppliers. There is no direct interface to an erp app (like SAP). -- --- Peter

  1   2   >