Re: Is anyone using Python for embedded applications?

2006-12-13 Thread Andre Meyer
Not sure what your target embedded platform is, but there is a Python version for the Nokia S60 mobile phone platform (Symbian). http://s60.com/ Python for S60http://www.forum.nokia.com/info/sw.nokia.com/id/ee447e84-2851-471a-8387-3434345f2eb0/Python_for_S60.html Python for S60 allows

Re: funcs without () like print

2006-12-07 Thread Andre Meyer
print is supposed to become a function in Py3k, though. On 12/7/06, Georg Brandl [EMAIL PROTECTED] wrote: iwl wrote: Hello can I make funktions callable without () like print at time the interpreter seems to printout the adres when I type the function without () print is not a function,

Re: Python Plugin for Web Browser

2006-12-06 Thread Andre Meyer
Hi I was looking for something similar in the past and could not find it. It would be very useful to have Python applets in web pages. What would you use them for? kind regards André On 5 Dec 2006 23:59:29 -0800, Sébastien Ramage [EMAIL PROTECTED] wrote: des exemples de plugins pour IE oui

Re: Python Plugin for Web Browser

2006-12-06 Thread Andre Meyer
at this time but, I like Python and use it every day. Many time I want to make an applet for game, or webcam remote control but I don't understand and I don't want to learn Java when I know the powerful python. Are you a developper? C++ ? Seb 2006/12/6, Andre Meyer [EMAIL PROTECTED]: Hi I

route planning

2006-12-01 Thread Andre Meyer
Hi all Just a very simple question: where can I find a module for route planning? I have looked around and found some implementations of graph theory, e.g. http://sourceforge.net/projects/pynetwork/. But, what I need is not an abstract graph, but one where nodes/vertices have locations (2D),

synching with os.walk()

2006-11-24 Thread Andre Meyer
Hi all os.walk() is a nice generator for performing actions on all files in a directory and subdirectories. However, how can one use os.walk() for walking through two hierarchies at once? I want to synchronise two directories (just backup for now), but cannot see how I can traverse a second one.

Re: synching with os.walk()

2006-11-24 Thread Andre Meyer
That sounds like a good approach. On 24 Nov 2006 08:27:09 -0800, Paddy [EMAIL PROTECTED] wrote: Andre Meyer wrote: Hi all os.walk() is a nice generator for performing actions on all files in a directory and subdirectories. However, how can one use os.walk() for walking through two

Re: synching with os.walk()

2006-11-24 Thread Andre Meyer
What I forgot to mention is that I want this to run unmodified from both Windows and Linux (and Mac). Otherwise, there are enough options to choose from, besides developing it myself, I guess. On 24 Nov 2006 08:37:13 -0800, Paddy [EMAIL PROTECTED] wrote: Paddy wrote: Andre Meyer wrote

Re: synching with os.walk()

2006-11-24 Thread Andre Meyer
Cool, this seems to work. thanks! On 24 Nov 2006 08:12:08 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: os.walk() is a nice generator for performing actions on all files in a directory and subdirectories. However, how can one use os.walk() for walking through two hierarchies at once?

Re: Feature Request: Py_NewInterpreter to create separate GIL (branch)

2006-11-03 Thread Andre Meyer
Hi allStrange enough, there does not even seem to be interest in removing the GIL in Python 3000.For some interesting answers on this topic you may read through the thread Kill GIL on the py3k mailing list archives: http://mail.python.org/pipermail/python-3000/2006-September/thread.html.kind

Re: Help me use my Dual Core CPU!

2006-09-17 Thread Andre Meyer
You may, of course, also have a look at JavaSpaces or TSpaces (both in Java).JavaSpaceshttp://java.sun.com/docs/books/jini/javaspaces/ http://java.sun.com/developer/technicalArticles/tools/JavaSpaces/index.htmlhttp://www.javaworld.com/jw-11-1999/jw-11-jiniology.htmlTSpaces

Re: best small database?

2006-09-11 Thread Andre Meyer
buzhug is a nice one: http://buzhug.sourceforge.net/ (not sure about binaries, though).greetingsAndreOn 9/11/06, km [EMAIL PROTECTED] wrote: checkout gadfly database.regards,KMOn 9/11/06, David Isaac [EMAIL PROTECTED] wrote: I have no experience with database applications.This database will

Re: Building Python Based Web Application

2006-09-09 Thread Andre Meyer
Karrigell can really be recommended. Simple, but powerful. No need for SQL (though it can), just use the pure Python buzhug, Karrigell services and (Cheetah) templates. Works great.regardsAndre -- http://mail.python.org/mailman/listinfo/python-list

Re: the first arg to super() must be a type, not a class obj?

2006-09-08 Thread Andre Meyer
Another thing: how does super() work wrt. multiple inheritance? It seems like it returns only the first superclass.regardsAndreOn 9/8/06, Georg Brandl [EMAIL PROTECTED] wrote: metaperl wrote: On p.282 of Python Cookbook and in the Python docs on calling super:

Re: IDE

2006-09-06 Thread Andre Meyer
http://pydev.sourceforge.net/http://wiki.python.org/moin/PythonEditors -- http://mail.python.org/mailman/listinfo/python-list

Re: python vs java

2006-09-06 Thread Andre Meyer
http://www.ferg.org/projects/python_java_side-by-side.html -- http://mail.python.org/mailman/listinfo/python-list

Re: threading support in python

2006-09-05 Thread Andre Meyer
This seems to be an important issue and fit for discussion in the context of Py3k. What is Guido's opinion?As a developer of a multi-threaded system I would like to know more about these issues, so it's no time wasted for me... ;-) regardsAndreOn 9/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: dictionaries vs. objects

2006-08-31 Thread Andre Meyer
On 8/28/06, Steve Holden [EMAIL PROTECTED] wrote: Andre Meyer wrote: Hi all I have the following question: I need a representation of a physically inspired environment. The environment contains a large number of objects with varying attributes. There may be classes of objects

Re: Pros/Cons of Turbogears/Rails?

2006-08-28 Thread Andre Meyer
Hi allIt might be interesting to watch the videos about Django and Rails (http://www.djangoproject.com/snakesandrubies/). Django makes a good impression, although I would not agree with all of their arguments (eg. templating language, ajax). Most striking, though, is the difference in attitude!

Re: Persistent Session in CGI

2006-08-27 Thread Andre Meyer
Karrigell is a very easy-to-use pure-Python web framework. It has examples of session management.http://karrigell.sourceforge.net/regardsAndre On 27 Aug 2006 14:48:05 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Hi,I have started a new small web project, and was wondering if there are any

Re: Learning Python

2006-08-26 Thread Andre Meyer
http://www.python.org/download/releases/2.4/bugs/IDLE now executes code in a separate process. To communicate between the main process and executing processes, IDLE opens a socket to 127.0.0.1 (the local machine). Some firewalls running on Windows machines interfere with this and can cause

performance of dictionary lookup vs. object attributes

2006-08-25 Thread Andre Meyer
Hi all I was wondering about the performance comparison of either using a dictionary or an object for a large collection of things. Therefore I have run the attached test. I create a dictionary and an object. Both get the same number of items/attributes, respectively. Then, for both the values

Re: performance of dictionary lookup vs. object attributes

2006-08-25 Thread Andre Meyer
, because attribute lookup uses dicts itself. Is that correct? thanks Andre On 8/25/06, Fredrik Lundh [EMAIL PROTECTED] wrote: Andre Meyer wrote: Is the test meaningful and are you surprised by the results? surprised by the amount of code you needed to test this, at least. and you might wish

dictionaries vs. objects

2006-08-24 Thread Andre Meyer
Hi allI have the following question: I need a representation of a physically inspired environment. The environment contains a large number of objects with varying attributes. There may be classes of objects, but there is not necessarily a strictly defined hierarchy among them. Object access should

Re: How to download a web page just like a web browser do ?

2006-08-23 Thread Andre Meyer
You get websucker.py in the standard Python installation. On Win look at C:\Python24\Tools\webchecker or similar.regardsAndre -- http://mail.python.org/mailman/listinfo/python-list

Re: state of SOAP and python?

2006-08-16 Thread Andre Meyer
I had success with ZSI: http://pywebsvcs.sourceforge.net/It worked very nicely for publishing a SOAP we service and accessing it from a client writtenusing the same library. What I didn't manage to achieve was to write the client in AJAX (tried

Re: Best IDE for Python

2006-08-15 Thread Andre Meyer
PyDev is really nice. I use it a lot and it works great.It's just a bit heavy and why should one need a Java IDE for Python development ;-)Another issue is the lack of integration with a UML tool (code generation and reverse engineering), though an ArgoUML plugin is in the making (not for

Re: Easy to use distributed system?

2006-08-14 Thread Andre Meyer
Hi allWe are using Pyro, too, for our Multi-Agent System framework Spyse (http://spyse.sf.net). We support mobile agents, distributed environments, various threading models and a lot more. Just ask if you are interested, but use the svn version, mot the 0.1 download. Our 1.0 release should be

Re: class variables

2006-08-08 Thread Andre Meyer
On 7/31/06, Bruno Desthuilliers [EMAIL PROTECTED] wrote: Colin J. Williams wrote: Andre Meyer wrote: Hi all I am trying to understand the magic of Python's class variables and tried the following code (see below). Just out of curiosity, I tried to define a property that provides

singleton decorator

2006-08-07 Thread Andre Meyer
While looking for an elegant implementation of the singleton design pattern I came across the decorator as described in PEP318.Unfortunately, the following does not work, because decorators only work on functions or methods, but not on classes. def singleton(cls):instances = {}def

class variables

2006-07-27 Thread Andre Meyer
Hi allI am trying to understand the magic of Python's class variables and tried the following code (see below).Just out of curiosity, I tried to define a property that provides access to a seemingly instancae variable which is in fact a class variable. All seems to work fine (case 4), but when a

class variables

2006-07-27 Thread Andre Meyer
Hi allI am trying to understand the magic of Python's class variables and tried the following code (see below).Just out of curiosity, I tried to define a property that provides access to a seemingly instancae variable which is in fact a class variable. All seems to work fine (case 4), but when a