gt; import distutils.sysconfig
>>> distutils.sysconfig.get_config_var('CONFIG_ARGS')
"'--prefix=/opt/local' '--enable-shared' '--mandir=/opt/local/share/
man' '--bindir=/opt/local/bin' '--with-readline' '--enable-framework'
'--enable-
ersion ('3.4')]
>>> print ' < '.join(map(str, version_list))
0.1.0 < 0.1.2 < 1.867b < 1.867c < 3.2.2 < 3.4
>>>
It should be noted that distutils.version provides a StrictVersion
class that offers less flexible but more predictable ordering -- see
the module docstrings for more details.
Regards,
Mark Rowe
<http://bdash.net.nz/>
--
http://mail.python.org/mailman/listinfo/python-list
"
extension.
A better method would be something along the lines of:
plugin = __import__(pluginName)
plugin.someMethod()
This avoids the potential security problem that `exec' poses as well as
the need to parse + interpret the string.
Regards,
Mark Rowe
<http://bdash.net.nz/>
--
http://mail.python.org/mailman/listinfo/python-list
at with msnp as it always
changes your state after sign-in, and it fails to group the buddy list
state into a single transaction so that you can tell when the entire
list has been retrieved... It should be relatively simple to adapt the
code to fix the problem.
Regards,
Mark Rowe
<http://b
int 'Got friend list update:', friend_list.lists
msn = msnp.Session(MsnListener())
msn.login('[EMAIL PROTECTED]', 'xxx')
msn.sync_friend_list()
while True:
msn.process()
time.sleep(1)
Any info would be great.
Thanks.
Hope this helps,
Mark Rowe
<http://
tricky matter, due to the lack of standards for C++ ABI's covering
name mangling and vtable layout etc. See the thread starting at
<http://mail.python.org/pipermail/python-list/2004-November/
249513.html> for more information.
Regards,
Mark Rowe
<http://bdash.net.nz/>
--
http://mail.python.org/mailman/listinfo/python-list