tkinter and visual ocx

2005-11-09 Thread Rony
I've managed to register succesfuly an oxc with makepy and my python programm reconises the ocx. But now i have a problem to place the ocx on a tkinter frame. Perhaps somebody could show me a code snippet how to do it ? tia Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: Ruby/Python/REXX as a MUCK scripting language

2006-11-25 Thread rony
e RexxLA has been organizing a yearly "International Rexx Symposium", the 2007 symposium to probably take place in Tampa, Florida, USA, from April 29th, 2007, through May 3rd, 2007. Maybe you or your partners may want to stop by there (the conferences are rather personal, you get to

Creating a PYD file

2010-08-19 Thread Rony
Is a PYD file created from Pyrex faster in execution then a PYD file created from python source ? Tia Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a PYD file

2010-08-19 Thread Rony
Sorry that was a typo... The question actually is, is a PYD file created from C faster then a PYD file from Pyrex ? I know it will depend on how it is written, but let's imagine a tiny example, like (Pseudo code) result = arg1 + arg2 return result Tia Rony On 19 août, 20:47, T

A question to experienced Pythoneers

2010-08-20 Thread Rony
the developpers and did a presentation of python with wxwindow, mostly with an open source project where I contribute to the development. They didn't see any big problems to learn Python fast and they allready know C. All opinions, advice here is welcome :) Tia Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: A question to experienced Pythoneers

2010-08-20 Thread Rony
ound > long enough for this to be a problem for me', but you may have the > tools to deal with that. > I'll keep this in mind Thank you Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: A question to experienced Pythoneers

2010-08-20 Thread Rony
It looks like I forgot to specify that the product is a totaly new product build from scratch, not an upgrade from an existing product. Interesting answers ! Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: scope of variable

2010-08-20 Thread Rony
print dept > > >>>> mud() > > Traceback (most recent call last): > >  File "", line 1, in > >    mud() > >  File "", line 2, in mud > >    dept+=1 > > UnboundLocalError: local variable 'dept' referenced before assignment Just put a global dept at the start of your function and it will work Rony -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie

2006-07-13 Thread rony steelandt
address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html Full db client-server applications. Python is our main developpement tool here. See www.bucodi.com Rony -- http://mail.python.org/mailman/listinfo/python-list

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

Project organisation

2006-07-19 Thread rony steelandt
there another even better solution ? Rony -- http://mail.python.org/mailman/listinfo/python-list

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
hat both classes do, but can this be a solution ? class Processor(Parse_Option) self.index = self.option.index self.output = self.option.output def run(self): # code bar.run() Rony -- http://mail.python.org/mailman/listinfo/python-list

Missing rotor module

2006-07-25 Thread rony steelandt
the rotor module everywhere, which means in a lot of modules. Thanks for any ideas Rony -- http://mail.python.org/mailman/listinfo/python-list

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

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
I have to admit that I'm testing eclipse with pydev at the moment, and it looks realy good Rony > Hi, > > Can anyone tell me a good python editor/IDE? > It would be great if you can provide the download link also. > > Thank You, > -Manoj- > > > "SASKEN

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

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
That is what I was afraid for Thanks for answering, Rony > Hi, > > From the wxPython list: > >> Hi, >> >> Which event must I catch to be called when the user clicks on the combo >> "button" to make the drop down list to appear ? > >

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
Works, thank you > Le 04-05-2006, Rony <[EMAIL PROTECTED]> nous disait: >> 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 > > Try to use the f

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
Isn't it a bit overkill to implement the whole .net framework 'Just' for a GUI ?? If you want to build quickly nice GUI's for your python program, have a look at wxpython & wxdesigner Rony > Is it possible to construct a C# form (using Visual Studio) but write

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. > >

Rockin phone u r rit

2010-05-03 Thread Rony Mascreen
I wasnt intend to buy any of the samsung phones. but i was fascinated of its new corby series and buy this phone. really amazing phone with lots social networking programs. i have written more on http://hubpages.com/hub/Samsung-Corby-TxT-B3210 This phone is worth to buy. -- http://mail.python.org/

Re: Buy Samsung Corby TXT B3210 Mobile

2010-05-03 Thread Rony Mascreen
On Apr 12, 3:05 pm, "mohanti.si...@yahoo.in" wrote: > Samsung Corby TXT is a GSM phone. Samsung Corby TXT, a SmartPhone > mobile comes with a great list of features. > >  Samsung Corby TXT B3210 is a mobile with a user memory of 38 MB and > MicroSD support up to 8 GB of external memory. This simpl