Re: [newbie] Embedding Flash OCX object

2005-04-30 Thread Zoool
Thanks Kartic, Don't know if i have understand everything, but i 'll try using your lights, To integrate a flash movie using wx, here is a piece of code (the Flash.py is auto-generated by makepy.py) ### testFlash.py from wxPython.wx import * import os if wxPlatform == '__WXMSW__': from

Re: User Directory Path

2005-04-30 Thread Zoool
Thanks a lot, os.environ["HOMEDRIVE"] os.environ["HOMEPATH"] are what i was looking for "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > os.getenv or os.envoron, see http://docs.python.org/lib/os-procinfo.html > -- http://mail.python.org/m

[Py Windows] User Directory Path

2005-04-30 Thread Zoool
Hi, Is there a way to know the main directory path of a user session? I mean the "C:\Documents and Settings\username" Directory of the user logged into a windows session. In .NET you can do this with a : System.Environment.GetEnvironmentVariable("HOMEDRIVE") System.Environment.GetEnvironmentVaria