Re: wxPython code giving strange errors.

2008-07-13 Thread Thin Myrna
teh_sAbEr wrote: > I'm busy trying to learn wxPython, and i'm trying to run the following > piece of code (its from the wxPyWiki tutorial): > > import wx > > ID_ABOUT = 101 > ID_EXIT = 110 > > class MainWindow(wx.Frame): > def __init__(self,parent,id,title): > wx.Frame.__init__(self

Re: ActiveState Code: the new Python Cookbook site

2008-07-11 Thread Thin Myrna
Trent Mick wrote: > Stef Mientki wrote: >> one small remark, >> If I want to browse 200 recipes, at 10 per page >> ... please make something like 100 available per page, >> are internet is fast enough nowadays. > > Touche. Done: > >http://code.activestate.com/recipes/?paginate_by=100 >

Re: Access to CAN-Bus

2008-06-09 Thread Thin Myrna
Thin Myrna wrote: Thanks for all your answers. I've just contacted the vendor for Linux support. If I went for an other vendor (I'm on a notebook, so USB-hardware is needed): Does anyone have especially good experiences with a particular one? Anyone I should stay away from? Kind re

Access to CAN-Bus

2008-06-09 Thread Thin Myrna
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 - such software (anyone wil

Re: Py2exe and Multi Treading problem.

2008-03-12 Thread Thin Myrna
Farsheed Ashouri wrote: > NO it dont work. If I remove threading part, it works like a charm. > Any Idea? Of course it does then. Try to join the thread or do something else to prevent the non-threading part to exit prematurely. HTH Thin -- http://mail.python.org/mailman/listinfo/python-list

PyInstaller: Need some hints (perhaps a good example?)

2008-01-02 Thread Thin Myrna
I gave PyInstaller a shot and was pleased by the results so far. The usual problems occurred with missing data and icon files (the latter for splash screens only). However, it's a bit hard for me to overcome them. I tried COLLECT but the files don't seem to be added to the install. The reason i

Re: Suggested Reading

2007-12-15 Thread Thin Myrna
Benoit wrote: > I got myself into programming late in the summer and have dabbled in > python for the most part in that time, recently beginning work on a > music player. In January, I start my minor in Information > Technology. I'd like to get ahead a bit, however, and over the break > would lik

Re: wxPython unexpected exit

2007-09-07 Thread Thin Myrna
"Jimmy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, wxPython is cool and easy to use, But I ran into a problem > recently when I try to write a GUI. > The thing is I want to periodically update the content of StatixText > object, so after create them, I pack them into a list

Re: Why canNOT import from a local directory ?

2007-05-18 Thread Thin Myrna
Jia Lu wrote: > Hi all > > I created a folder named *lib* and put a py file *lib.py* in it. > In the upper folder I created a py file as: > > > import lib.lib > > def main(): > """ > __doc__ > """ > lib.lib.test() > > > # > if __name

Python for Smartcards on Windows XP (Python 2.4)

2007-05-18 Thread Thin Myrna
Dear all I headed for for a Smartcard lib for Python and found PyCSC. The zipped sources do not build [1] and the installer (exe file) wants to see a Python 2.5 installation. Does anyone know of an installer for Python 2.4? Kind regards Thin Myrna [1] "python setup.py install"