Re: Distributing programs

2005-10-02 Thread Wouter van Ooijen (www.voti.nl)
A non-python programming friend of mine has said that any programs made with Python must be distributed with, or an alternative link, to the source of the program. Yes, and you must also include a blank sheet, signed by you in blood. Seriously, whatever the license of Python itself is, a

Re: micro-python - is it possible?

2005-08-30 Thread Wouter van Ooijen (www.voti.nl)
No, not a tiny microcontroller environment. In the microcontroller world, tiny means 100 bytes of ram and 4KB of code space. That's medium :) PIC10F200: 256 12-bit instructions, 16 bytes RAM. Wouter van Ooijen -- http://www.voti.nl Webshop for PICs and

Re: Doubt C and Python

2005-08-28 Thread Wouter van Ooijen (www.voti.nl)
I use Python when my time is most valuable (in most cases it is), in the very few cases the computer's time is more valuable I write in C/C++. In cases when the computer's time is more valuable, why not use CPython with C/C++ API? Only most time consuming parts can be replaced to C/C++ codes

Re: python image thumbnail generator?

2005-08-28 Thread Wouter van Ooijen (www.voti.nl)
I'm thinking it would be nice and easy, if we could just upload a jpg into a dir called gallery/. When the client clicks the gallery link, a cgi script could search the gallery/ dir, and create thumbnails of any jpeg images that don't already have a thumbnail associated with them. The script

Re: Should I move to Amsterdam?

2005-08-26 Thread Wouter van Ooijen (www.voti.nl)
True. Unless you have two proper locks. In that case your bike will last a very long time. Nope. You will probably retrieve your two locks from the fencing you attached them to (if you did!), with your bike gone. Wouter van Ooijen -- http://www.voti.nl

file access dialog

2005-08-26 Thread Wouter van Ooijen (www.voti.nl)
I have a tool in Python to which I want to add a small GUI. The tools currently runs everywhere PySerial is supported. I need a file-access dialog. What is the preffered way to to this? Is there a platform-independent file-access dialog available, or should I use the windows native version when

Re: file access dialog

2005-08-26 Thread Wouter van Ooijen (www.voti.nl)
Tkinter has a file acces dialog available with the same API on all platforms. It is also mapped to the standard dialog on Windows. Since Tkinter is certainly installed by default with Python, if a file dialog is everything you need, you probably don't have to look further. Great :) Wouter

Re: Should I move to Amsterdam?

2005-08-24 Thread Wouter van Ooijen (www.voti.nl)
Nice little series by Seth Stevenson for Americans daydreaming about emigration. Somewhere, anywhere ... maybe Amsterdam? I've never been to the Netherlands myself, but it sounds very civilized. It used to be, until some lunatic (alledged to be a left-winger) killed an (alledged right-wing)

Re: Doubt C and Python

2005-08-23 Thread Wouter van Ooijen (www.voti.nl)
I want to know the link between c and python. Apart from the fact that the inner part of Python is written in C I know no link? Some people with C background use Python instead of programming in C.why? I use Python when my time is most valuable (in most cases it is), in the very few

Re: Doubt C and Python

2005-08-23 Thread Wouter van Ooijen (www.voti.nl)
For me, the choice is typically among C++, Perl, Python, and Java. The arguments for Python relative to these languages are: add: I develop on my platform (which happens to be XP, but that is irrelevant), I put the Python source on my website, and I never worry about the platform my users will