Re: Reaching the real world
On 4 Jan 2005 at 6:55, Fuzzyman wrote: > What I'd like is an electronic interface that connects to several > relays and a python extension module to switch on and off the relays. > I've had a quick google and can't see anything too similar to what I > want. pyro (python robotics) seems to require expensive (relatively) > robotic equipment. Look at pyParallel (http://pyserial.sourceforge.net/pyparallel.html) to control the parallel port. From the parallel port you can control external devices. Please note that you will need to add a transistor to control a relay. There is also pySerial, (http://pyserial.sourceforge.net/) to control the serial port. If you know how to use a microcontroller (AVR, PIC, 8031, etc) you can communicate with it through the sereial port, and let the micro control the "real world". Regards, Alejandro. -- http://mail.python.org/mailman/listinfo/python-list
Re: micro-python - is it possible?
Evil Bastard wrote: > Hi, > > Has anyone done any serious work on producing a subset of python's > language definition that would suit it to a tiny microcontroller > environment? Take a look at PyMite : http://www.python.org/pycon/papers/pymite/ From the abstract : "PyMite is a flyweight Python interpreter written from scratch to execute on 8-bit microcontrollers as well as desktop computers..." Regards, Alejandro. -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter vs wxPython
> I am especially interested in terms of learning curve, documentation, > portability across platforms Linux/Windows and anything else you care > to add. As I know only what I have read on this forum & surfing the > web I would really appreciate the input of those who have used both, > or decided to use one over the other. I was in the same shoes a time ago. I started with Tkinter since is the standard GUI for Python. I read some tutorials, but didn't go to far, and didn't like the Tkinter looks too much. Then I tried wxPython, and things were better. And were much better when I started using wxGlade. IMO, wxPython has a softert learning curve (specially if you use wxGlade), is portable between unix/windows/mac, with the advantage over Tkinter that it has a native look. Regarding documentation, there is plenty of it. I must admit that my background regarding GUIs comes from Delphi, so that might bias my opinion. In case you take the Tkinter route, I founded this tutorial useful : http://www.bembry.org/tech/python/notes/tkinter_1.php Regards, Alejandro. -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter vs wxPython
> Sure wxGlade/Boa/etc can help speed design and layout up, but what > happens when you want to do non standard things or just get stuck > because some thing just isn't working. Then you add the necesary hand crafted code to the automatic generated code. At least is what I did when I needed. -- http://mail.python.org/mailman/listinfo/python-list
