wxPython, wxcombobox opening

2006-04-28 Thread Rony Steelandt
Hi, Does somebody knows a way to automaticely open the list part of a wxCombobox when it gets the focus ? tia, Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython, wxcombobox opening

2006-05-02 Thread Rony Steelandt
this: >> >> l_ev = wx.MouseEvent(wx.wxEVT_LEFT_DOWN) >> l_ev.SetEventObject(self.GetCombo()) >> self.GetEventHandler().ProcessEvent(l_ev) >> >> Which did send the event to the combo (which is in a pannel in my case) .. >> but that is apparently not the event that

We finally have a complete Python project

2006-05-03 Thread Rony Steelandt
bute, whatever :) feedback and interaction we will publish this as a free open source book (case study) Rony -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Unicode code has no method float() ?

2006-05-04 Thread Rony Steelandt
How can I get the value of a Unicode object ? When I do myobject.float() I get the error message that it doesn't have a float() attribute tia R_ -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi --

Re: Unicode code has no method float() ?

2006-05-04 Thread Rony Steelandt
loat builtin function, as in: float(myobject) instead of > a method. -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Re: Swaying A Coder Away From Python

2006-05-04 Thread Rony Steelandt
y!!) > > So that's two of the five Python has, one explicitly acknowledged, > plus the combination of lambda and functions-as-first-class-objects > is as good as (or better than) "anonymous functions (delegates)". > And then we get onto personal preferences as to how to

Progamming python without a keyboard

2006-05-04 Thread Rony Steelandt
http://www.newscientisttech.com/article/dn9066 To nice to be true ? R_ -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Job opportunity in France

2006-05-05 Thread Rony Steelandt
We have a vacancy for a python programmer for a 6 months assignement. If interested, please visit www.bucodi.com And don't worry we speak english :) R_ -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi --

Re: Job opportunity in France

2006-05-08 Thread Rony Steelandt
Well that would be one less, and countng > Rony Steelandt wrote: > >> We have a vacancy for a python programmer for a 6 months assignement. >> >> If interested, please visit www.bucodi.com >> >> And don't worry we speak english :) >> >>

RE: Tkinter Dialog Management problems:

2006-05-18 Thread Rony Steelandt
things not defined. > NameError: global name '_default_root' is not defined > Exception exceptions.AttributeError: "IntVar instance has no attribute > '_tk'" in > > > ignored > > 2) By deriving the 'dialog' from Tk, existing calls to self

Re: combining a C# GUI with Python code?

2006-05-20 Thread Rony Steelandt
e and easy way to create a GUI while still writing in Python, > if it's possible. -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Programming Books?

2006-05-24 Thread Rony Steelandt
to teach you the > creative parts. > > So now i'm hear to use all of your collective expertise for the ideal > book for a beginning programming who want's to start with python. > > Your help is greatly appreciated. -- --- Rony Steelandt BuCodi rony dot steelandt (at)

Re: Python Programming Books?

2006-05-24 Thread Rony Steelandt
I could be given a detailes > evaluation about it. > > Thanks again. -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Re: Python keywords vs. English grammar

2006-05-24 Thread Rony Steelandt
y: >raise foo > except: > > and now you've got a mix of verbs and (I think), a preposition. You can't > say, "You try to execute some code, but it raises a foo, which is excepted > by the handler". It just doesn't work grammatically. > >

Re: Best Python Editor

2006-05-31 Thread Rony Steelandt
> Manoj Kumar P enlightened us with: >> Can anyone tell me a good python editor/IDE? >> It would be great if you can provide the download link also. > > VIM 7 is great, http://www.vim.org/ > > Sybren Another VIM user here -- --- Rony Steelandt BuCodi rony dot st

Re: os.popen3() - how to close cmd window automatically?

2006-05-31 Thread Rony Steelandt
g "py2exe" > (http://www.py2exe.org/). This creates a "shortcut.exe" file. > If I run "shortcut.exe" everything works fine but a black empty cmd window > opens and its kept open until I close the application > "ExternalApplication.exe". >

Re: Best Python Editor

2006-06-01 Thread Rony Steelandt
asken has taken enough precautions > to prevent the spread of viruses. However the company accepts no liability > for any damage caused by any virus transmitted by this email -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Re: Change value of element in list

2006-06-19 Thread Rony Steelandt
985-2001 Microsoft Corp. C:\Documents and Settings\Administrateur>python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> list=['spam

Re: wxPython GUI designer

2006-06-19 Thread Rony Steelandt
rs to be > confident with it. So if you know how to use sizers, you don't really need a > tool. > Regards, > jm I use wxDesigner -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi -- http://mail.python.org/mailman/listinfo/python-list

Re: Specifing arguments type for a function

2006-06-20 Thread Rony Steelandt
#x27;t do is make python complain about this: > > def f(arg): > for e in arg: > print e > > > f(100) > > before actually calling f. It will always fail at runtime. > > Diez What about def f(arg): if type(arg)=='list': #do some

Sudoko solver

2006-07-04 Thread Rony Steelandt
Hi all, I wonder if somebody had a Sudoko solver written in Python ? Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: Sudoko solver

2006-07-04 Thread Rony Steelandt
"Sybren Stuvel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Rony Steelandt enlightened us with: >> I wonder if somebody had a Sudoko solver written in Python ? > > Check out http://www.stuvel.eu/sodoku - it is a Sudoku game with the

Re: Sudoko solver

2006-07-04 Thread Rony Steelandt
"Sybren Stuvel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Rony Steelandt enlightened us with: >> I wonder if somebody had a Sudoko solver written in Python ? > > Check out http://www.stuvel.eu/sodoku - it is a Sudoku game with the

Re: Sudoko solver

2006-07-04 Thread Rony Steelandt
"Sybren Stuvel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Rony Steelandt enlightened us with: >> it looks like both zip files are corrupted (for windows platform)? > > Can you tell me more? So far I can only tell you that they work ju

Troubles with SQLDict

2006-07-05 Thread Rony Steelandt
TBLVat' -- This is allmost a copy of the instructions in the module, so I have no idea what goes wrong. Any ideas ? tia Rony Steelandt -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie

2006-07-13 Thread rony steelandt
Le Thu, 13 Jul 2006 12:45:44 +0100, Gueorgui Vaskes a écrit : > Could anyone feel me in what do you mostly use python for? > > > > ___ > The all-new Yahoo! Mail goes wherever you go - free your email address from your Inter

Re: TextCtrl focus events in wxWidgets

2006-07-19 Thread rony steelandt
Since the event handler of a textctrl inherits from wxCommandEvent, I would guess that the binding should be to EVT_COMMAND_KILL_FOCUS Not tested... Rony Le Wed, 19 Jul 2006 03:15:36 -0700, Simon Hibbs a écrit : > > Steve Holden wrote: > >> It should be quite simple: you need to handle EVT

Project organisation

2006-07-19 Thread rony steelandt
Imagine I have x projects and they all use util.py What would be the best way to organise this 1. c --\project1\*.py | |-\project2\*.py | --\globals\util.py This organisation has the problem that if I have to modify something to util.py that I need in project2, I'll have to retest projec

Re: Project organisation

2006-07-19 Thread rony steelandt
Le Wed, 19 Jul 2006 14:31:06 +0100, Phil Thompson a écrit : > On Wednesday 19 July 2006 3:12 pm, rony steelandt wrote: >> Imagine I have x projects and they all use util.py >> >> What would be the best way to organise this >> >> 1. >> c --\project1\*.py >

Re: Isn't there a better way?

2006-07-21 Thread rony steelandt
Le Fri, 21 Jul 2006 07:51:15 -0700, T a écrit : > > I am using an optparse to get command line options, and then pass them > to an instance of another class: > > > > # Class that uses optparse.OptionParser > foo = Parse_Option() > > # Class that does the real work > bar = Processor() > > bar

Missing rotor module

2006-07-25 Thread rony steelandt
I'm in the midle of porting a python 1.5 application to 2.4 I just discovered that the rotor encryption module isn't part anymore of the 2.4 distribution. Is there a way to add this module to 2.4, or what would be the simplest way to replace this. The existing application makes use of the rotor m

Re: Missing rotor module

2006-07-26 Thread rony steelandt
.python.org/pipermail/python-list/2005-January/261304.html > It is much slower because it was written in Python while the original > rotor was in C, and I am not sure if it is _exactly_ the same. > > Good luck, > Nick V. > > > rony steelandt wrote: >> I'm in t