SWIG + expy

2010-04-26 Thread Yingjie Lan
Hi, Is it possible to use SWIG to parse C/C++, and provide an interface for me to generate some code? I thought it might be good to have SWIG help generate expy (see http://expy.sourceforge.net) files, then generate the python extension via expy. Yingjie -- http://mail.python.org/mai

"hollywood sexiest scenes" "hollywood blue films" "hollywood actress" "hollywood actress wallpapers" ""hollywood actress hot bed scene" "hollywood actress pictures" "hollywood actress angelina jolie"

2010-04-26 Thread Naeem
"hollywood sexiest scenes" "hollywood blue films" "hollywood actress" "hollywood actress wallpapers" ""hollywood actress hot bed scene" "hollywood actress pictures" "hollywood actress angelina jolie" ON http://hollywood6y.blogspot.com/ "hollywood sexiest scenes" "hollywood blue films" "hollyw

Re: Some objects missing from tkinter

2010-04-26 Thread Shane
On Apr 26, 11:58 am, Lie Ryan wrote: > On 04/27/10 03:50, Peter Otten wrote: > > > It is a bit unfortunate that your editor has side effects on your program, > > and I recommend that you never trust the result of importing a module from > > within idle's shell completely. > > In fact, never trust

Re: Detect OS shutdown or user logout across different operating systems

2010-04-26 Thread James Mills
On Tue, Apr 27, 2010 at 12:09 PM, wrote: > Is there a OS portable way to have a Python script detect when its operating > system is shutting down or a user is logging out? In the Linux world, you would normally create an rc/init style script that is invoked at boot and shutdown (usually by calli

Detect OS shutdown or user logout across different operating systems

2010-04-26 Thread python
Is there a OS portable way to have a Python script detect when its operating system is shutting down or a user is logging out? If not, any Windows specific tips on how to detect these events? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 8:47 pm, MRAB wrote: > "t" for "powers of a thousand", perhaps? (Or "m"?) Both of those letters are fine. I kinda like "m" for the whole Greco- Roman angle, now that you point it out :-) --Keith Brafford -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 7:56 pm, Mark Dickinson wrote: > On Apr 26, 6:47 am, Keith wrote: > > > From that document it appears that my decimal.Decimal(1234567) example > > shows that the module has a bug: > > > Doc says: > > [0,123,3] ===>  "123E+3" > > > But Python does:>>> import decimal > > >>> decimal.Deci

Re: Engineering numerical format PEP discussion

2010-04-26 Thread MRAB
Mark Dickinson wrote: On Apr 26, 4:36 am, Keith wrote: I am considering writing a PEP for the inclusion of an engineering format specifier, and would appreciate input from others. [...] I am thinking that if we simply added something like %n (for eNgineer) to the list of format specifiers

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 5:33 am, Stefan Krah wrote: > Keith wrote: > > Even though this uses the to_eng_string() function, and even though I > > am using the decimal.Context class: > > > >>> c = decimal.Context(prec=5) > > >>> decimal.Decimal(1234567).to_eng_string(c) > > '1234567' > > > That is not an engine

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
>Apparently either you and the General Decimal Arithmetic spec differ >on what constitutes engineering notation, there's a bug in the Python >decimal library, You've distilled it precisely, and as you've shown in a different post, it's the former. The Python decimal module seems to implement corr

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Mark Dickinson
On Apr 26, 6:47 am, Keith wrote: > From that document it appears that my decimal.Decimal(1234567) example > shows that the module has a bug: > > Doc says: > [0,123,3] ===>  "123E+3" > > But Python does:>>> import decimal > >>> decimal.Decimal(123000).to_eng_string() > > '123000' That's not a bug.

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Mark Dickinson
On Apr 26, 4:36 am, Keith wrote: > I am considering writing a PEP for the inclusion of an engineering > format specifier, and would appreciate input from others. > [...] > I am thinking that if we simply added something like %n (for eNgineer) > to the list of format specifiers that we could make

Re: Completely Deleting A Directory

2010-04-26 Thread Lawrence D'Oliveiro
In message <86bb4820-ab5a-49cc-9e64-7f7e609e4...@y6g2000prk.googlegroups.com>, MrJean1 wrote: > 2) Function rmtree in the shutil module considers symlinks to a > directory an error > since Python > 2.6. I don’t think that applies to subd

Re: PyDev : undefined variable from import

2010-04-26 Thread Fabio Zadrozny
On Mon, Apr 26, 2010 at 12:08 PM, Wanderer wrote: > Since the last Java update, I get the error, "undefined variable from > import" in Pydev in the Eclipse editor. I can still run the program in > Eclipse. If I add a blank line and save the program, the error goes > away, but that screws up the re

Re: pyjamas 0.7 released

2010-04-26 Thread Patrick Maupin
On Apr 26, 4:12 pm, lkcl wrote: >  and, given that you can use AJAX (e.g. JSONRPC) to communicate with a > server-side component, installed on 127.0.0.1 and effectively do the > exact same thing, nobody bothers. I suppose, but again, that pushes off the security thing. There are a lot of obviou

Re: chr(i) ASCII under Python 3

2010-04-26 Thread Alf P. Steinbach
On 26.04.2010 22:26, * Dodo: Le 26/04/2010 22:26, Alf P. Steinbach a écrit : On 26.04.2010 22:12, * Dodo: Hi all, Under python 2.6, chr() "Return a string of one character whose ASCII code is the integer i." (quoted from docs.python.org) Under python 3.1, chr() "Return the string of one charact

Re: Download Proprietary Microsoft Products Now

2010-04-26 Thread Andrej Mitrovic
On Apr 26, 12:16 pm, Lawrence D'Oliveiro wrote: > Just been looking at this review of Visual Studio 2010 > : > >     ... the 2GB ISO was quicker to download than it was to install - not >     even counting the several reboots required. > >

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Tim Roberts
Tim Golden wrote: > On 26/04/2010 09:49, Richard Lamboj wrote: >> thanks for your response. No, i don't mean the MAC Address. I mean >> the GUID -> >> Sample: {1E2428C1-9F2C-48D7-AB53-3229DFB7E217} >> >> I want to change TcpAckFrequency and TcpDelTicks of a Network >> Interface. I Try >> to change

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 6:52 pm, Patrick Maupin wrote: > On Apr 26, 8:44 am, lkcl wrote: > > >  the purpose of browsers is to isolate the application, restrict its > > access to the rest of the desktop and OS, so that random applications > > cannot go digging around on your private data. > > Well, I would agr

Re: chr(i) ASCII under Python 3

2010-04-26 Thread Dodo
Le 26/04/2010 22:26, Alf P. Steinbach a écrit : On 26.04.2010 22:12, * Dodo: Hi all, Under python 2.6, chr() "Return a string of one character whose ASCII code is the integer i." (quoted from docs.python.org) Under python 3.1, chr() "Return the string of one character whose Unicode codepoint is

Re: chr(i) ASCII under Python 3

2010-04-26 Thread Alf P. Steinbach
On 26.04.2010 22:12, * Dodo: Hi all, Under python 2.6, chr() "Return a string of one character whose ASCII code is the integer i." (quoted from docs.python.org) Under python 3.1, chr() "Return the string of one character whose Unicode codepoint is the integer i." I want to convert a ASCII code b

chr(i) ASCII under Python 3

2010-04-26 Thread Dodo
Hi all, Under python 2.6, chr() "Return a string of one character whose ASCII code is the integer i." (quoted from docs.python.org) Under python 3.1, chr() "Return the string of one character whose Unicode codepoint is the integer i." I want to convert a ASCII code back to a character under py

Re: can't get python 2.5.5 to work on mac os x 10.4.11

2010-04-26 Thread Diez B . Roggisch
new2Cocos wrote: > Hi everyone, > > I posted this in the cocos2d and pyglet discussion group, I thought > I'll get a response right away since my problem is quite general but I > got no response. I hope you will help me!!! this is the original post > > http://groups.google.com/group/cocos-discu

Re: py2exe sets error message

2010-04-26 Thread MRAB
Ron Adelman wrote: getting following error message when trying to run my setup file ...\py2exe\build_exe.py:16: DeprecationWarning: the sets module is deprecated import sets Removing files in directory :./dist,keeping protedted files... python 2.65 new install. Any work arounds(Hacks)??

py2exe sets error message

2010-04-26 Thread Ron Adelman
getting following error message when trying to run my setup file ...\py2exe\build_exe.py:16: DeprecationWarning: the sets module is deprecated import sets >Removing files in directory :./dist,keeping protedted files... python 2.65 new install. Any work arounds(Hacks)?? -- http://mail.pyth

Re: Some objects missing from tkinter

2010-04-26 Thread Lie Ryan
On 04/27/10 03:50, Peter Otten wrote: > It is a bit unfortunate that your editor has side effects on your program, > and I recommend that you never trust the result of importing a module from > within idle's shell completely. In fact, never trust IDLE. IDLE is a nice IDE when the alternative is

Re: Completely Deleting A Directory

2010-04-26 Thread Patrick Maupin
On Apr 26, 4:09 am, Lawrence D'Oliveiro wrote: > It doesn’t seem to mention in the documentation for os.walk > that symlinks to directories are > returned in the list of directories, not the list of files. This will lead > to an error in the os.rmdir call i

Re: pyjamas 0.7 released

2010-04-26 Thread Patrick Maupin
On Apr 26, 8:44 am, lkcl wrote: >  the purpose of browsers is to isolate the application, restrict its > access to the rest of the desktop and OS, so that random applications > cannot go digging around on your private data. Well, I would agree that a "requirement" for the browser is to help insu

Re: dictionary

2010-04-26 Thread Peter Otten
gopi krishna wrote: > When I give a dictionary with key and value in order how can get back iy > in same order You can't. You either have to maintain a list of the keys in parallel, or use an ordered dictionary like the following: http://code.activestate.com/recipes/576693/ It will be include

Re: dictionary

2010-04-26 Thread Benjamin Kaplan
On Mon, Apr 26, 2010 at 2:04 PM, gopi krishna wrote: > When I give a dictionary with key and value in order how can get back iy > in same order > > You can't using the standard dict type. If you're using Python 3.1, you can use collections.OrderedDict instead. Otherwise, you'll just have to defin

dictionary

2010-04-26 Thread gopi krishna
When I give a dictionary with key and value in order how can get back iy in same order -- http://mail.python.org/mailman/listinfo/python-list

Re: Some objects missing from tkinter

2010-04-26 Thread Peter Otten
Shane wrote: > I'm new to Python, so I'll try to be clear about my problem. > > I'm using Python 3.1 (latest stable version from python.org) on > Windows 7. > I have a program using tkinter for UI, and it works properly from both > pything GUI shell, and running from command prompt, EXCEPT that I

Some objects missing from tkinter

2010-04-26 Thread Shane
I'm new to Python, so I'll try to be clear about my problem. I'm using Python 3.1 (latest stable version from python.org) on Windows 7. I have a program using tkinter for UI, and it works properly from both pything GUI shell, and running from command prompt, EXCEPT that I have a menu command to in

Re: running .py files on Linux

2010-04-26 Thread alex goretoy
make sure the tar, zip or package you downloaded isn't corrupt. verify it with a md5sum and then extract it. just a thought. Thank you, -Alex Goretoy http://launchpad.net/~a1g On Mon, Apr 26, 2010 at 11:05 AM, Tingting HAN wrote: > Dear Officer, > I downloaded a C code packet which contains man

Propietary binary serial port protocols

2010-04-26 Thread jon vs. python
Hi, I'm working in several helper tools to parse, simulate, etc. propietary binary serial port protocols. I'm trying to find out which is the best internal data representation. Bytearrays seem to be the best choice, but I'd like some feedback from more experienced developers; because I took a look

Re: Re: how to select column

2010-04-26 Thread mannu jha
Dear Sir, Thanks for your help..but yes my files are having column like: # RESIDUE AA STRUCTURE BP1 BP2 ACC N-H-->OO-->H-NN-H-->O O-->H-NTCO KAPPA ALPHA PHI PSIX-CA Y-CA Z-CA 12 A I 0 0 91 0, 0.038,-0.1 0, 0.0 5

Re: Completely Deleting A Directory

2010-04-26 Thread MrJean1
The answer to 1) is no, due to topdown = False in the call to os.walk. /Jean On Apr 26, 8:31 am, MrJean1 wrote: > Two comments: > > 1) Should delete_dir not be called instead of os.rmdir in this line > >                 (os.rmdir, os.remove)[os.path.islink(item)](item) > > 2) Function rmtree in

running .py files on Linux

2010-04-26 Thread Tingting HAN
Dear Officer, I downloaded a C code packet which contains many .py files. When I try to run these.py files on my computer with Linux system, for every .py file the following error occurs: hantingt...@tityro:~/Downloads/triMC3D/python$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC

Re: Python date time API

2010-04-26 Thread Jason Scheirer
On Apr 26, 8:21 am, rk wrote: > Hi, > >  I am python novice, trying to convert a boost::gregorian::date out to > python using PyDateTime C-api interface. I was coring because the C- > API failed to initialize. The error was: > > AttributeError: "module" object has not attribute datetime_CAPI > > A

[ANN]: 'tren' Cross-Platform Batch Renaming Tool, Version 1.217 Released

2010-04-26 Thread Tim Daneliuk
'tren' Version 1.217 is now released and available for download at: http://www.tundraware.com/Software/tren - What's New In This Release? --- This is the initial public release. What Is 'tren'?

Re: Completely Deleting A Directory

2010-04-26 Thread MrJean1
Two comments: 1) Should delete_dir not be called instead of os.rmdir in this line (os.rmdir, os.remove)[os.path.islink(item)](item) 2) Function rmtree in the shutil module considers symlinks to a directory an error since

Python date time API

2010-04-26 Thread rk
Hi, I am python novice, trying to convert a boost::gregorian::date out to python using PyDateTime C-api interface. I was coring because the C- API failed to initialize. The error was: AttributeError: "module" object has not attribute datetime_CAPI As indicated by the error, a dir(datetime) give

Re: how to select column

2010-04-26 Thread J. Cliff Dyer
It depends on what you mean by a column. I assume your data is more complex than what you've shown us. If your data is really single words separated by spaces, you can do: for line in open('file'): columns = line.split() return columns[0], columns[3] If your columns can ha

Re: how to select column

2010-04-26 Thread Gary Herron
mannu jha wrote: Dear all, I am new in python, can anyone help me that how can I select two column out of 6 column from a file. For example if I have file like: a1 a2 a3 a4 a5 a6 b1 b2 b3 b4 b5 b6 c1 c2 c3 c4 c5 c6 d1 d2 d3 d4 d5 d6 and I want output like: a1 a4 b1 b4 c1 c4 d1 d4 then how

PyDev : undefined variable from import

2010-04-26 Thread Wanderer
Since the last Java update, I get the error, "undefined variable from import" in Pydev in the Eclipse editor. I can still run the program in Eclipse. If I add a blank line and save the program, the error goes away, but that screws up the revision with SVN. Has anyone else seen this or have a fix.

how to select column

2010-04-26 Thread mannu jha
Dear all, I am new in python, can anyone help me that how can I select two column out of 6 column from a file. For example if I have file like: a1 a2 a3 a4 a5 a6 b1 b2 b3 b4 b5 b6 c1 c2 c3 c4 c5 c6 d1 d2 d3 d4 d5 d6 and I want output like: a1 a4 b1 b4 c1 c4 d1 d4 then how to do Thanks -- h

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Grant Edwards
On 2010-04-26, Keith wrote: > I am considering writing a PEP for the inclusion of an engineering > format specifier, and would appreciate input from others. I very regularly do something similar in various apps, though I often want to specify the exponent (e.g. I always want to print a given val

"HOLLYWOOD ACTRESS" "BRITENY SPEARS" "ANGLIANA JOLI" "KATE VINSLATE" "NICOLE KIDMAN" "HOLLYWOOD ACTRESS" "BOLLYWOOD ACTRESS" "LOLLYWOOD ACTRES" "SEXY HOLLYWOOD ACTRESS" "GIRLS WITHOUT CLOTHS" ON http

2010-04-26 Thread Naeem
"HOLLYWOOD ACTRESS" "BRITENY SPEARS" "ANGLIANA JOLI" "KATE VINSLATE" "NICOLE KIDMAN" "HOLLYWOOD ACTRESS" "BOLLYWOOD ACTRESS" "LOLLYWOOD ACTRES" "SEXY HOLLYWOOD ACTRESS" "GIRLS WITHOUT CLOTHS"ON http://hollywood6y.blogspot.com/ "HOLLYWOOD ACTRESS" "BRITENY SPEARS" "ANGLIANA JOLI" "KA

RE: Need help with basic DOM XML tree traversing

2010-04-26 Thread Barak, Ron
> -Original Message- > From: Stefan Behnel [mailto:stefan...@behnel.de] > Sent: Sunday, April 25, 2010 6:42 PM > To: python-list@python.org > Subject: Re: Need help with basic DOM XML tree traversing > > Barak, Ron, 25.04.2010 17:06: > > This is my first try at XML with Python, and though

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 9:37 pm, Wolfgang Strobl wrote: > Daniel Fetchinson : > > >> for fits and giggles, to show what's possible in only 400 > >> lines of python, here is a game of asteroids, written by joe rumsey. > >> yes, it runs underpyjamas-desktop too. > > >>    http://pyjs.org/examples/asteroids/publi

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 8:38 pm, Patrick Maupin wrote: > On Apr 25, 8:49 am, Luke Kenneth Casson Leighton > wrote: > > >pyjamas- the stand-alone python-to-javascript compiler, and separate > > GUI Widget Toolkit, has its 0.7 release, today.  this has been much > > delayed, in order to allow the community plen

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 12:45 pm, Jean-Michel Pichavant wrote: > Luke Kenneth Casson Leighton wrote: > > > [snip] > > Am I the only one getting this error ? yes, because you're the only one using easy_install. you'll need to read and follow the instructions in README and INSTALL.txt the installation proce

Re: [ANN] pyjamas 0.7 released

2010-04-26 Thread Jean-Michel Pichavant
Luke Kenneth Casson Leighton wrote: [snip] Am I the only one getting this error ? easy_install --prefix /home/jeanmichel -m pyjamas Searching for pyjamas Reading http://pypi.python.org/simple/pyjamas/ Reading http://pyjs.org Best match: pyjamas 0.7 Downloading http://pypi.python.org/packag

GOZERBOT 0.9.2 BETA1 released

2010-04-26 Thread Bart Thate
I just released the first BETA of GOZERBOT version 0.9.2 Please test this release if you can. Best is to run of the mercurial repo: hg clone http://core.gozerbot.org/hg/dev/0.9 or run easy_install -U gozerbot gozerplugs (make sure there is no gozerbot dir in your working directory.) docs are a

Re: [ANN] pyjamas 0.7 released

2010-04-26 Thread Daniel Fetchinson
>>> for fits and giggles, to show what's possible in only 400 >>> lines of python, here is a game of asteroids, written by joe rumsey. >>> yes, it runs under pyjamas-desktop too. >>> >>> http://pyjs.org/examples/asteroids/public/Space.html >> >>This URL returns a blank page for me on firefox 3.

Re: Making special method names, work with __getattr__

2010-04-26 Thread Chris Rebert
On Mon, Apr 26, 2010 at 3:57 AM, Antoon Pardon wrote: > Op 2010-04-23, Chris Rebert schreef : >> On Fri, Apr 23, 2010 at 2:41 AM, Antoon Pardon >> wrote: >>> The result I get is: >>> >>> 5 >>> 8 >>> 15 >>> Traceback (most recent call last): >>>  File "Symbolics", line 54, in >>>    test() >>>  

Re: Making special method names, work with __getattr__

2010-04-26 Thread Antoon Pardon
Op 2010-04-23, Chris Rebert schreef : > On Fri, Apr 23, 2010 at 2:41 AM, Antoon Pardon > wrote: >> test() >> >> -- >> >> The result I get is: >> >> 5 >> 8 >> 15 >> Traceback (most recent call last): >>  File "Symbolics", line

Re: How to choose a debugger

2010-04-26 Thread Fabio Zadrozny
2010/4/25 sanam singh : > Hi, > I want to debug my c++blocks which are dynamically loaded into python for > execution. I am using wingide for debugging python. But its limitation is > that when c++module is called in python script it doent take me into c++ > module. What I want is that I should be

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Tim Golden
On 26/04/2010 11:47, Tim Golden wrote: OK; I'm going to hope that Tim Roberts or someone equally knowledgeable can kick in here as devices really isn't my area. However this looks like it *might* be doing what you want: import wmi for nic in c.Win32_NetworkAdapter (MACAddress=i.MACAddress):

Re: DLLs loading in interpreter but not with direct run on Windows

2010-04-26 Thread JTimoty
Sorry guys, the problem seems to be less general. Actually, the error is triggered when I try to import numpy before PyQt4. It imports without any problems after PyQt4. I still don't know what the problem actually is, but at least my scripts work. Thanks, Tim. -- http://mail.python.org/mailman

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Tim Golden
On 26/04/2010 09:49, Richard Lamboj wrote: thanks for your response. No, i don't mean the MAC Address. I mean the GUID -> Sample: {1E2428C1-9F2C-48D7-AB53-3229DFB7E217} I want to change TcpAckFrequency and TcpDelTicks of a Network Interface. I Try to change it over the Registry, but maybe there

Re: Download Proprietary Microsoft Products Now

2010-04-26 Thread Lawrence D'Oliveiro
Just been looking at this review of Visual Studio 2010 : ... the 2GB ISO was quicker to download than it was to install - not even counting the several reboots required. Since when do you need to REBOOT just to install a developm

Make money online

2010-04-26 Thread kutty
=== www.workpartorfulltime.blogspot.com === -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Stefan Krah
Keith wrote: > Even though this uses the to_eng_string() function, and even though I > am using the decimal.Context class: > > >>> c = decimal.Context(prec=5) > >>> decimal.Decimal(1234567).to_eng_string(c) > '1234567' > > That is not an engineering notation string. To clarify further: The spec

Completely Deleting A Directory

2010-04-26 Thread Lawrence D'Oliveiro
It doesn’t seem to mention in the documentation for os.walk that symlinks to directories are returned in the list of directories, not the list of files. This will lead to an error in the os.rmdir call in the example directory-deletion routine on that pag

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Stefan Krah
Chris Rebert wrote: > c = decimal.Context(prec=5) > decimal.Decimal(1234567).to_eng_string(c) > > '1234567' > > > > That is not an engineering notation string. > > Apparently either you and the General Decimal Arithmetic spec differ > on what constitutes engineering notation, there's a

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Richard Lamboj
Am Monday 26 April 2010 10:14:24 schrieb Tim Golden: > On 26/04/2010 09:06, Richard Lamboj wrote: > > is there a way to get the GUID from a Network Device? > > Are you talking about the MAC address? If so, here's > one way: > > > import wmi > > for nic in wmi.WMI ().Win32_NetworkAdapterConfigurat

Re: how to debug python application crashed occasionally

2010-04-26 Thread Helmut Jarausch
On 04/25/10 08:32, jacky wang wrote: > could anyone help me? > > > On Apr 21, 2:55 pm, jacky wang wrote: >> Hello >> >> recently, I met a problem with one python application running with >> python2.5 | debian/lenny adm64 system: it crashed occasionally in our >> production environment. The pro

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Tim Golden
On 26/04/2010 09:06, Richard Lamboj wrote: is there a way to get the GUID from a Network Device? Are you talking about the MAC address? If so, here's one way: import wmi for nic in wmi.WMI ().Win32_NetworkAdapterConfiguration (): print nic.caption, "=>", nic.MACAddress If you're not, th

WIN32 - get the GUID of a Network Device

2010-04-26 Thread Richard Lamboj
Hello, is there a way to get the GUID from a Network Device? Kind Regard, Richi -- http://mail.python.org/mailman/listinfo/python-list

ANN: expy 0.6.4 released!

2010-04-26 Thread Yingjie Lan
expy is an express way to extend python. It is written in pure python and very light weight. I have been using this in a big project and the outcome is quite satisfying. What's New: 1. now generated header files are separate from implementation files. 2. bug fixes. 3. updated documentation. F