Re: PyPy questions

2008-07-01 Thread Stephan Diehl
Allen schrieb: > I read the website of some information about PyPy, and how a translator > translates the RPython code to C/CLI/Java/etc to be compiled to a native > executable or something like that. Would it be possible, in PyPy, to > write such an extension that could easily be compiled to nati

Re: money data type

2008-06-09 Thread Stephan Diehl
Lie wrote: > On Jun 9, 10:22 pm, Stephan Diehl <[EMAIL PROTECTED]> wrote: >> Hi lazyweb, >> I'm wondering, if there is a usable money data type for python available. >> A quick search in pypi and google didn't convey anything, even though the >> decima

money data type

2008-06-09 Thread Stephan Diehl
Hi lazyweb, I'm wondering, if there is a usable money data type for python available. A quick search in pypi and google didn't convey anything, even though the decimal data type seemed to be planned as a money data type originaly. Thanks for any pointers Stephan -- http://mail.python.org/mailman/

Re: Access to CAN-Bus

2008-06-09 Thread Stephan Diehl
Thin Myrna schrieb: I'd like to access some drive hardware via CAN bus from Python under Linux (sending rec'ing PDOs). Googling around I couldn't find a Python package, but people who said that they are doing this, though. I guess they are using their home brewn software. Any pointer to - suc

Re: Eurosymbol in xml document

2008-03-04 Thread Stephan Diehl
Hallo Helmut, > Hi, > i'm new here in this list. > > i'm developing a little program using an xml document. So far it's easy > going, but when parsing an xml document which contains the EURO symbol > ('€') then I get an error: > > UnicodeEncodeError: 'charmap' codec can't encode character u'\xa4

Re: appwsgi

2008-02-14 Thread Stephan Diehl
gert wrote: > can my http://appwsgi.googlecode.com/ be on the http://wsgi.org/ page > somewhere please :) you are free to register yourself on wsgi.org and put a link to your software at the appropriate place. It's a wiki, after all. -- http://mail.python.org/mailman/listinfo/python-list

Berlin (Germany) Python User Group is meeting on 23.1.

2008-01-21 Thread Stephan Diehl
The Berlin Python User Group is meeting on the 23.1. at newthinking store at 7pm. All details can be found at http://wiki.python.de/User_Group_Berlin. The Berlin Python User Group is planning to meet every two month to talk about Python. Most talking will be done in german, but I can assure you th

Re: "Standard" Full Text Search Engine

2007-10-26 Thread Stephan Diehl
Martin Marcher wrote: > Hello, > > is there something like a standard full text search engine? > > I'm thinking of the equivalent for python like lucene is for java or > ferret for rails. Preferrably something that isn't exactly a clone of > one of those but more that is python friendly in terms

next python berlin user group meeting / naechstes berliner python treffen

2007-03-30 Thread Stephan Diehl
time: 3.4., 7pm place: c-base info: http://groups.google.de/group/python-berlin -- http://mail.python.org/mailman/listinfo/python-list

Re: A little more advanced for loop

2007-02-09 Thread Stephan Diehl
Horta wrote: > Hi folks, > > Suppose I have to loop over 3 lists being the same size at the same > time and order. How can I do that without using the range() function > or whatever indexing? > > Example using range: > > a = ['aaa', ''] > b = ['bb', ''] > c = ['c', ''] > > for

Re: next berlin python-group meeting fr., 2.2.

2007-01-29 Thread Stephan Diehl
Stephan Diehl wrote: > http://starship.python.net/cgi-bin/mailman/listinfo/python-berlin argghhh, wrong link. please try http://starship.python.net/mailman/listinfo/python-berlin -- http://mail.python.org/mailman/listinfo/python-list

next berlin python-group meeting fr., 2.2.

2007-01-29 Thread Stephan Diehl
after a long (veeeyy) long time, I'm pleased to announce our next python meeting in berlin. time: friday 2.2. 7pm place:Cafe & Restaurant UNENDLICH Boetzowstrasse 14 10407 Berlin (Prenzlauer Berg "Boetzowviertel") This is a fun meeting without offical talks. If you haven't done so already, su

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

2006-10-10 Thread Stephan Diehl
Cameron Laird wrote: > goon summarizes WSGI resources: > http://groups.google.com/group/comp.lang.python/msg/f7d67bc039748792 > THE wsgi resource at the moment is http://wsgi.org . (sorry, I've missed the original thread) Stephan -- http://mail.python.org/mailman/listinfo/python-lis

Re: Behavior on non definded name in Cheetah

2006-08-02 Thread Stephan Diehl
Paolo Pantaleo wrote: > [I hope I am posting to the right place] > > I have a cheetah template something like this: > > x is: $x > y is: $y > z is: $z > > [Actually more complicated] > > If for example $y is not defined I get an exception and the parsing > of the template stops. Is there any

Re: Registry of Methods via Decorators

2006-06-22 Thread Stephan Diehl
bayerj schrieb: > I want to make a registry of methods of a class during creation. My > attempt was this > > """ classdecorators.py > > Author: Justin Bayer > Creation Date: 2006-06-22 > Copyright (c) 2006 Chess Pattern Soft, > All rights reserved. """ > > class decorated(object): > > meth

Re: Dumb-as-rocks WSGI serving using standard library

2006-05-22 Thread Stephan Diehl
On Mon, 22 May 2006 18:18:34 +1000, Ben Finney wrote: [...] > > Everything else that I can find leads to dependencies I don't want for > flexibility I don't need: cherrypy, paste, et al. > > Any suggestions for how to serve up a simple WSGI application with > just the standard library? the easi

Re: Active Directory Authentication

2006-05-05 Thread Stephan Diehl
On Fri, 05 May 2006 05:39:08 -0700, D wrote: > Is it possible to have Python authenticate with Active Directory? > Specifically what I'd like to do is have a user enter a > username/password, then have Python check the credentials with AD - if > what they entered is valid, for example, it returns

Re: Stackless Python for 2.4.3

2006-03-30 Thread Stephan Diehl
On Thu, 30 Mar 2006 06:04:27 -0800, Fuzzyman wrote: > > Richard Tew wrote: >> Hi, >> >> Stackless Python is now available for the recent release of Python >> 2.4.3 (final). >> > > Does anyone happen to know if Stackless Python is compatible with > existing third party extension modules (like e.g

Re: Alternatives to Stackless Python?

2005-09-20 Thread Stephan Diehl
On Tue, 20 Sep 2005 08:50:44 -0700, [EMAIL PROTECTED] wrote: > After recently getting excited about the possibilities that stackless > python has to offer > (http://harkal.sylphis3d.com/2005/08/10/multithreaded-game-scripting-with-stackless-python/) > and then discovering that the most recent vers

Re: Python CGI and Firefox vs IE

2005-09-07 Thread Stephan Diehl
On Wed, 07 Sep 2005 10:50:15 -0700, Jason wrote: > Hey y'all, this falls under the murky realm of HTML, CGI and > Python...and IE. > > Python 2.4, using CGI to process a form. > > Basically I've got 3 buttons. Here's the HTML code: > > > All > Servers > type='submit'>WKPEA1 > type='submit'>

Re: curious about slice behaviour

2005-09-05 Thread Stephan Diehl
On Mon, 05 Sep 2005 14:26:14 -0400, Terry Reedy wrote: > > "Stephan Diehl" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >>I just found out by accident, that slice indices can be larger than >> the length of the object. For example >

curious about slice behaviour

2005-09-05 Thread Stephan Diehl
I just found out by accident, that slice indices can be larger than the length of the object. For example >>> 'test'[:50] 'test' >>> 'test'[40:50] '' I'd rather expected to be confronted with an IndexError. (This is actually described in http://docs.python.org/lib/typesseq.html, so my expectation

Re: python and ajax

2005-08-30 Thread Stephan Diehl
On Mon, 29 Aug 2005 12:04:46 -0700, Steve Young wrote: > Hi, I was wondering if anybody knew of any good > tutorial/example of AJAX/xmlhttprequest in python. > Thanks. > > -Steve As all the others have said already, AJAX has nothing to do with python, but everything with JavaScript. You might wa

Re: variable arguments question

2005-03-15 Thread Stephan Diehl
On Tue, 15 Mar 2005 03:48:40 -0400, vegetax wrote: > if i have a dictionary: > d = {'a':2,'b':3 } > l = (1,2) > > how can i pass it to a generic function that takes variable keywords as > arguments? same thing with variable arguments, i need to pass a list of > arguments to the function > > def

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

2005-01-04 Thread Stephan Diehl
On Tue, 04 Jan 2005 05:43:32 -0800, michele.simionato wrote: > Holger: > >> FWIW, i added the recipe back to the online cookbook. It's not > perfectly >> formatted but still useful, i hope. > >> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/361742 > > Uhm... on my system I get: > >