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 Ed

Re: Zope vs Php

2005-11-17 Thread Peter Maas
Templates. Most web frameworks have Templates. My favorite is Cheetah. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')

Re: Embedding a restricted python interpreter

2005-01-06 Thread Peter Maas
l designed language but progress is made by criticism not by satisfaction ;) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'c

Re: Embedding a restricted python interpreter

2005-01-06 Thread Peter Maas
th the id of an authenticated user. But this seems to be a problem with Apache or with Linux? -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZG

Re: Embedding a restricted python interpreter

2005-01-07 Thread Peter Maas
ems to be an OS issue. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --

Re: SuSE 9.1: updating to python-2.4

2005-01-09 Thread Peter Maas
regular upgrade via FTP. I didn't try that. -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --

Re: reference or pointer to some object?

2005-01-11 Thread Peter Maas
<-- inner local namespace {'fi': , 'u': 4, 'u2': 8} <-- outer local namespace 8 -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n

Re: a new Perl/Python a day

2005-01-11 Thread Peter Maas
if you don't want to waste your time. -- ------- 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: OT: MoinMoin and Mediawiki?

2005-01-11 Thread Peter Maas
ocal/pgsql/bin/createdb test /usr/local/pgsql/bin/psql test The first four lines are the same for every source based distribution, only 8 lines are PostgreSQL specific. I don't think this is too complex. -- --- Peter Maas, M+R In

Re: [perl-python] 20050112 while statement

2005-01-13 Thread Peter Maas
It's a time sink. It's up to you wether you want to post to this thread or do something useful. :) -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0B

Re: Refactoring; arbitrary expression in lists

2005-01-13 Thread Peter Maas
cer than more nicely. :) -- --- 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: (objects as) mutable dictionary keys

2005-01-14 Thread Peter Maas
p again in c.l.py. -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --- --

Re: python and macros (again) [Was: python3: 'where' keyword]

2005-01-14 Thread Peter Maas
can't satisfy them all at the same time. And goals provide a direction but are rarely reached. :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'

Re: why are some types immutable?

2005-01-16 Thread Peter Maas
latter reason see: http://www.python.org/moin/DictionaryKeys -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.deco

Re: (objects as) mutable dictionary keys

2005-01-17 Thread Peter Maas
ise a TypeError? Or did you wrap them with an object? -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'

Re: rotor replacement

2005-01-20 Thread Peter Maas
n the meantime. But this is unlikely because there is no export regulation to ban 512bit as far as I know :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'

Re: building Python: up arrow broken on SuSE Linux 8.2

2005-01-26 Thread Peter Maas
just prints "^[[A".) Do you have the GNU readline library installed and within Python's reach (lib in LD_LIBRARY_PATH or in /etc/ld.so.conf with subsequent call of ldconfig)? -- --- Peter Maas, M+R Infosysteme, D-52070 A

Re: "pickle" vs. f.write()

2005-01-26 Thread Peter Maas
t; age = 0 friends=[] comment="""""" me = person() # store pf = file('/tmp/pickletest', 'w') pickle.dump(me, pf) pf.close() # load pf = file('/tmp/pickletest', 'r') me2 = pickle.load(pf) pf.close() This is sequential access

Re: python without OO

2005-01-26 Thread Peter Maas
.price = price per = person(name = 'Smith', age = 35, sex = 'male') inv = invoice(name = 'Smith', product = 'bike', price = 300.0) print per print inv --snip--- Either your program is small. Then you can do it alone. Or you will reach step 4. -- --- 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: Help With Python

2005-01-26 Thread Peter Maas
nto Python (Advanced) -- --- 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: python without OO

2005-01-27 Thread Peter Maas
lad you like it :) -- --- 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: python without OO

2005-01-27 Thread Peter Maas
The bad thing about OO preachers is not OO but preaching. And you are preaching, too ;) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'c

Re: python without OO

2005-01-27 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: Next step after pychecker

2005-02-01 Thread Peter Maas
ogram with pychecker. -- --- 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: A tool for Python - request for some advice

2005-06-21 Thread Peter Maas
you were fishing for compliments: Your English IS good enough. ;) -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1

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 Infosys

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. Sor

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'.deco

Re: Boss wants me to program

2005-06-28 Thread Peter Maas
C# when doing .net. 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 'cGV0ZXIub

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

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

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,

Re: Opinions on KYLIX 3 (Delphi 4 Linux)

2005-07-25 Thread Peter Maas
t; your existing product when that happens? Re-train 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-mai

Re: API class creation

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

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

2005-08-17 Thread Peter Maas
7;s a framework. IOW Apache with modpython is a framework for web 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 ;) -- ----

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

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/~astr

Re: Testing for presence of arguments

2005-08-18 Thread Peter Maas
you a useful reply. "Thanks for the suggestion" or even no answer would have been sufficient. -- --- 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: variable hell

2005-08-25 Thread Peter Maas
> pseudo code line follows : > > a%s = str(value) >>> suffix = 'var' >>> vars()['a%s' % suffix] = 45 >>> avar 45 -- --- Peter Maas, M+R Infosysteme, D-52070

Re: variable hell

2005-08-26 Thread Peter Maas
t; > The returned dictionary should not be modified: the effects on the > corresponding symbol table are undefined. I tried this once and it worked. This may be too naive, so thanks for the warning :) -- --- Peter Maas,

Re: Python doc problems example: gzip module

2005-08-31 Thread Peter Maas
le.read() fuckedfile.close() # write unfucked unfuckedfile = file('somefile','w') unfuckedfile.write(content) unfuckedfile.close() Please feel free to insert this fucking example into the fucking docs. Have a nice ... eh fucking day :) -- -

.pth files in working directory

2005-08-31 Thread Peter Maas
file 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-

module not found in IIS virtual dir

2005-08-31 Thread Peter Maas
py still sees upgrade/ 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. -- ----

Re: .pth files in working directory

2005-08-31 Thread Peter Maas
er putting a .pth file into .../site-packages. -- ------- 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: 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&quo

Re: .pth files in working directory

2005-08-31 Thread Peter Maas
y have to change 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

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

Re: Bicycle Repair Man usability

2005-08-31 Thread Peter Maas
uot; ;) I don't know BRM nor any other refactoring tool but for a thorough decision one would have to know the ratio time(learningTool)/time(doingByHand) to calculate the break even point in terms of number(doingByHand). -- -------

Re: Python versus Perl ?

2005-02-07 Thread Peter Maas
es some benchmarks (http://dada.perl.it/shootout and http://shootout.alioth.debian.org) show that Python is probably the fastest among these (Perl is 25% faster at regex matching). -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Te

Re: An Ode To My Two Loves

2005-02-08 Thread Peter Maas
multi language implementation layer. I hope these ideas will become more influential in Unix like systems as well just to stop this resource wasting source code issue. -- ------- Peter Maas, M+R Infosysteme, D-52070 Aache

Re: Is Python as capable as Perl for sysadmin work?

2005-02-08 Thread Peter Maas
SE" and "DO PLEASE" constructions. Sysadmin work with Intercal? Go ahead! ;) But what's wrong with a protecting try .. except block vs. "... or die" for every command to be protected? -- ---

Re: Is Python as capable as Perl for sysadmin work?

2005-02-08 Thread Peter Maas
efore the second 1, giving the exact result, not a numeric approximation. Boy, you are cheating us Wake up, this isn't April 1st! :))) -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-

Re: hard_decoding

2005-02-10 Thread Peter Maas
write a helper class genmap for this: >>> g = genmap() >>> g.add(u'ÀÁÂÃÄÅ', u'A') >>> g.add(u'èéêë', u'e') >>> 'László'.translate(g.cmap()) Laszlo -- --- 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: sre is broken in SuSE 9.2

2005-02-10 Thread Peter Maas
LANG? I have SuSE 9.1 and LANG = de_DE.UTF-8. Your example is running well on my computer. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'

Re: PyINI : Cross-Platform INI parser

2005-02-11 Thread Peter Maas
an end to roll-your-own config formats and parsers. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c

Re: For American numbers

2005-02-14 Thread Peter Maas
can manage to say "kibibyte" with a straight face :) -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --

replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
an ASP session. Thanks for any help. -- --- 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 do

Re: replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
t list 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). -- --

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 - IIS frontend - MSSQL db server -

Re: replacing ASP/VBScript with Python

2005-02-15 Thread Peter Maas
anks for the URL and your advice. -- --- 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 - Support for MinGW Open Source Compiler

2005-02-16 Thread Peter Maas
in this thread. -- --- 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
en do something useful :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') --

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 po

Re: - E02 - Support for MinGW Open Source Compiler

2005-02-23 Thread Peter Maas
the python dll 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 M

Re: list of all type names

2005-03-01 Thread Peter Maas
ns__ del __builtins__ Then you 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. :) -- ----

Re: Creating module skeleton from unit tests

2005-03-04 Thread Peter Maas
skeleton - you would 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

Re: Debugging Python Scripts inside other processes

2005-03-13 Thread Peter Maas
your 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

Re: Python becoming less Lisp-like

2005-03-15 Thread Peter Maas
urn it into a type. scope -> dictionary -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') ---

Re: Python becoming less Lisp-like

2005-03-16 Thread Peter Maas
that he is thinking of a pychecker-like 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

Re: Python becoming less Lisp-like

2005-03-17 Thread Peter Maas
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: Simple account program

2005-03-18 Thread Peter Maas
acctype == "liability": bal = -bal return bal -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')

Re: Building web graphics with Python

2004-11-29 Thread Peter Maas
. I was wondering if there is something similar for Python. You can create a Python wrapper for gd with SWIG or Pyrex. PIL (Python Imging Library) and Piddle are native Python solutions. -- --- Peter Maas, M+R Infosysteme, D-52070

Re: Protecting Python source

2004-11-29 Thread Peter Maas
ts. Protecting source has nothing to do with innovation. It's about making money. -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWF

Re: Protecting Python source

2004-11-29 Thread Peter Maas
Craig Ringer schrieb: On Mon, 2004-11-29 at 18:04, Peter Maas wrote: I can think of 3 reasons to prevent tampering: [...] My understanding is that that's never guaranteed safe, no? Or are restrictions against reverse engineering now commonly enforcable? It's not guaranteed but if protec

Re: Protecting Python source

2004-11-30 Thread Peter Maas
Grant Edwards schrieb: On 2004-11-29, Peter Maas <[EMAIL PROTECTED]> wrote: If the "reverse engineering" argument boils down to "protecting source doesn't make sense" then why does Microsoft try so hard to protect its sources? To avoid embarassment. :) This cann

installing wxPython on Linux and Windows

2004-12-02 Thread Peter Maas
fine piece of software otherwise I wouldn't have tried so hard to get it working. -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('

Re: Python 3000 and "Python Regrets"

2004-12-02 Thread Peter Maas
Dave Benjamin schrieb: LOL! Better yet: import __past__ del __past__.__mistakes__ Boy, what a load off! Merry Christmas in advance, from __future__ import NewYear A Happy New Year to everybody! ;) -- --- Peter Maas, M+R Infosysteme

Re: installing wxPython on Linux and Windows

2004-12-02 Thread Peter Maas
this would be really helpful. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') -

Re: os.path.islink()

2004-12-08 Thread Peter Maas
the truth. Windows "links" are a special Windows feature (shortcuts) and must be detected via Win32 api calls or by searching for content characteristics of shortcuts. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, T

Re: os.path.islink()

2004-12-09 Thread Peter Maas
I was using Win2k for two years and never saw a link, neither at system nor at application locations. How nasty of Microsoft to add this feature so silently :) -- ------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-2

Re: Suggestion for "syntax error": ++i, --i

2004-12-13 Thread Peter Maas
#x27; exec(target+sign+operand) -- ------- 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

objects as mutable dictionary keys

2004-12-27 Thread Peter Maas
t's because of the existence of list literals. If you would use id() as a hash function for lists how should d[[1,2,3]] be stored? For instances of user defined classes there is no literal and accordingly no problem to use id() as a hash function and instances as dictionary key

Re: objects as mutable dictionary keys

2004-12-27 Thread Peter Maas
ou give me an example of a program for which you consider such behavior to be useful? I'm not interested in using lists as dict keys. I was just searching for an explanation why user defined objects can be used as dict keys contrary to lists. -- ---

Re: objects as mutable dictionary keys

2004-12-27 Thread Peter Maas
e are no literals for user defined objects. -- ------- 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: objects as mutable dictionary keys

2004-12-28 Thread Peter Maas
t, then he doesn't supply such a method, and it won't work. Except for classic objects which can be used as dictionary keys without having __hash__(). -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +4

Re: objects as mutable dictionary keys

2004-12-28 Thread Peter Maas
Peter Maas schrieb: There was a huge and sometimes heated debate about tuples, lists and dictionaries recently, and the mainstream opinion was that dictionary keys must not be mutable, so lists are not allowed as dictionary keys. Warning, long posting (~ 100 lines) The existence of lists and

Re: Getting the word to conventional programmers

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

Re: Programming Language for Systems Administrator

2005-04-12 Thread Peter Maas
h scripts which were quite hard to read especially for beginners. -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZG

Re: Is Python appropriate for web applications?

2005-04-15 Thread Peter Maas
at CPU speed. 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 -- ---

Re: goto statement

2005-04-21 Thread Peter Maas
begin of line, starting from line marked as 'a' to current line) :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZX

Re: Still Loving Python

2005-12-13 Thread Peter Maas
e direct way, creating them in code is a detour. Code is too lengthy and too versatile for such a job. -- Peter Maas, Aachen, Germany -- http://mail.python.org/mailman/listinfo/python-list

Re: Python obfuscation

2005-12-25 Thread Peter Maas
g or at least not enough. So please: 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: Python obfuscation

2005-12-28 Thread Peter Maas
culously 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://mail.python.org/mailman/listinfo/python-list

Re: Newbie with some doubts.

2006-01-13 Thread Peter Maas
this is not a genuine feature of OOP. Bad code can be written in lots of ways. > There are sure many others 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

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

2006-08-19 Thread Peter Maas
ked in a byte string in big endian order. This is probably closest to what the OP wants. Peter Maas, Aachen -- http://mail.python.org/mailman/listinfo/python-list

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

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

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

2006-10-06 Thread Peter Maas
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
egards/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-06 Thread Peter Maas
be speeded up by psyco and numpy 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

  1   2   >