How can I get the target platform info of a dll with Python 3.1.1?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Dec 21 02:35:14 EST 2009


En Mon, 14 Dec 2009 07:25:45 -0300, W00D00 <istvan.szirtes at gmail.com>
escribió:
> On dec. 12, 03:18, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
>> En Fri, 11 Dec 2009 16:39:37 -0300, Isti <istvan.szir... at gmail.com>  
>> escribió:
>>
>> > I have manydllfiles and I would like to select them into two
>> > different folders (PC and PPC). For this I need to know the target
>> > platform of thedllfile or any other details about its platform.
>>
>> Look at sys.platform and the platform module.
>
> The platform module gives you information about the platform where you
> are running on with your script and not about the not loaded dll(s).

Sorry, I misunderstood you.
(completely unrelated to your problem: see PEP8 at  
http://www.python.org/dev/peps/pep-0008/ )

-- 
Gabriel Genellina




More information about the Python-list mailing list