Re: An ordered dictionary for the Python library?
Puh, what a discussion... most common use case I can think of is d = {'a': 1, 'b': 2, 'c': 3} for key in d: # do something that relies on order of keys as specified in the constructor It's a bit tireing having to type for key in sorted(d.keys()): do_somethig_with(d[key]) instead of a trustfully for value in d.values(): do_somethig_with(value) As far as I can see much cleaner. No black magic needed ++ sort the dict to another order and rely on the sort order being stable would be a really a nice thing to have. My 2 cents, Jürgen -- http://mail.python.org/mailman/listinfo/python-list
Re: Python for embedded systems with memory constraints
Who else is using python (programmers, scientists, finance)? Me! Graduated in fine arts. Python is what I do when I am fed up with all those colors. Much easier to manufacture sense with. -- http://mail.python.org/mailman/listinfo/python-list
Re: Get a control over a window
On 15 Mai, 15:06, Tom Gur [EMAIL PROTECTED] wrote: Hi, I was wondering how do I get control over a window (Win32). to be more specific, I need to find a handle to a window of a certain program and minimize the window. There are many ways to get the handle of a window. Assuming you have ctypes at hand, you could try: user32 = ctypes.windll.user32 hwnd = user32.FindWindowA(classname, title) if hwnd: user32.PostMessageA(hwnd, WM_SYSCOMMAND, SC_ICON, 0) If you need it more acurate you could search MSDN for how to enumerate all running processes and get the handles of their windows. Process32First (...) could be a start for reading. Jürgen -- http://mail.python.org/mailman/listinfo/python-list
html 0.4.0 released
Just released the 0.4.0 version of my html package. What is html? Bet you know. But this module lets you parse and construct html content without templating languages. Goal was to wrap tags in the simplest way python allows to. Sample code: f = ( HtmlFile() ( Doctype(), Html() ( Head(), Body()(Hello World!) ) ) ) f.save(''myFile.html) ...or for spaghetti code lovers: print HtmlFile()(Doctype(), Html()(Head(), Body()(Hello World!))).save() Get the package from here: http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: uuid-0.3.2 released
Happy to announce the release of uuid-0.3.2 (bugfix release) What is uuid? uuid is a python module to create RFC 4122 compatible UUIDs The module supports generation off RFC 4122 compatible time based, random, sha1 and md5 based UUIDs Whats new? x. some minor changes For download and documentation see http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: Eric3-IDE documentation and wiki
Happy to announce that the Eric3 python IDE has found a home for its documentation and wiki! Currently effords are taken to document the user interface of the Eric3-IDE. The documentation and wiki project is hosted at http://ericide.python-hosting.com/ . Everyone interested in Eric is heartly invited to take part in the ongoing effords, drop comments or whatever to help to improve usability of the IDE for the python comunity. What is Eric ? Eric is an advanced open source Python and Ruby IDE based on the pyQt GUI toolkit written and maintained mainly by Detlev Offenbachs. Currenlty usage on windows oses is quite limited due to Qt3 licence issues . This is going to change as soon as Eric is ported to pyQt4 with full GPL licence support for open source developers. See http://www.die-offenbachs.de/detlev/eric3 or http://ericide.python-hosting.com/ or for a more detailed description. Juergen Urner -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: uuid-0.3.1 released
Happy to announce the release of uuid-0.3.1 (bugfix release) What is uuid? uuid is a python module to create RFC 4122 compatible UUIDs The module supports generation off RFC 4122 compatible time based, random, sha1 and md5 based UUIDs Whats new? x. fixed a bug where a call to uuid_nd5() and uuid_sha1() could lead to infinite recursion For download and documentation see http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: uuid-0.3.0 released
Happy to announce the release of uuid-0.3.0 What is uuid? uuid is a python module to generate RFC 4122 compatible UUIDs The new release includes some bugfixes a new function format_mac_address(), other minor changes + an update on the documentation to provide some more background information. For download and documentation see http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: uuid-0.2 released
Happy to announce the release of uuid-0.2 What is uuid? uuid is a python module to create RFC 4122 compatible UUIDs The module supports generation off RFC 4122 compatible time based, random, sha1 and md5 based UUIDs Whats new? x. new function get_mac_address() x. get_variant() now returns VARIANT_UNKNOWN if the variant of a UUID is not recognized x. output decoration around UUIDs is no longer included if the module is used from commandline x. bugfixes For download and documentation see http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: uuid-0.1 Released
uuid is a python module to generate RFC 4122 compatible UUIDs Somehow this module was missing in python, so I took over the struggle with the C sources and all those quirky bits and bytes. Most of them should now be in place to form one of these handy 128 bit identifiers. The module is capable of producing time, random, sha1 and md5 based uuids. For details see: http://home.arcor.de/jurner/python/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html