From g.forumz at gmail.com Wed Feb 20 06:00:34 2008 From: g.forumz at gmail.com (g sobers) Date: Wed, 20 Feb 2008 00:00:34 -0500 Subject: [melbourne-pug] Better WLAN detection Message-ID: I noticed that socket module offers some useful functions. But I was dissapointed in its implementation of WLAN networks detection. Even socket.select_access_point() neglects them! Smarter WLAN detection is possible. See: http://discussion.forum.nokia.com/forum/showthread.php?t=114522&highlight=wlan Where can I find study-material for modules, & associated functions, for WLAN connections? I have glossed over Pys60 API documentation at the following URL but found little ellaboration. http://sourceforge.net/project/showf...kage_id=171153 Wud appreciate advise. Best, wirefree -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/melbourne-pug/attachments/20080220/f0306786/attachment.htm From geoffc at trinity.unimelb.edu.au Fri Feb 22 04:22:24 2008 From: geoffc at trinity.unimelb.edu.au (Geoff Crompton) Date: Fri, 22 Feb 2008 14:22:24 +1100 Subject: [melbourne-pug] custom library version problems Message-ID: <47BE3FF0.6020601@trinity.unimelb.edu.au> I've recently started a new job, and I'm trying to maintain some python code (having never done any python programming). So they have a library called tcldap.py. It works fine on an Debian Sarge box with python 2.3.5, python-ldap 2.0.4 and libldap2 2.1.30 but on a Debian Etch box with python 2.4.4, python-ldap 2.2.0 and libldap2 2.1.30 I get an AttributeError exception thrown. The class inherits from ldap.ldapobject.SimpleLDAPObject, and wraps the result() method. It seems it grabs the data somehow, and uses KIDict (which is in the tcldap.py file higher up) to give case insensitive keys. The exception is raised when I call self._ldap_call(self._l.result2... It seems in this version of python-ldap there is no self._l.result2. But I don't know how to work out what I should call The code is: class TCLDAPObject(ldap.ldapobject.SimpleLDAPObject): """ Class which provides case-insensitive result dictionaries, as well as default values for Trinity College. """ def result(self,msgid=_ldap.RES_ANY,all=1,timeout=None): if timeout is None: timeout = self.timeout #pdb.set_trace() type, data, msgid = self._ldap_call(self._l.result2,msgid,all,timeout) # put the data into a case-insensitive dict if data: newdata = [] for dn, attrs in data: newdata.append( (dn, KIDict(attrs)) ) data = newdata return type, data There are two things I'm trying to achieve. First, to make it work on the Etch system. Then to make the same code work on both the etch system and the sarge system. Any tips? -- +-Geoff Crompton +--Debian System Administrator +---Trinity College From john.larooy at gmail.com Sat Feb 23 11:58:39 2008 From: john.larooy at gmail.com (John La Rooy) Date: Sat, 23 Feb 2008 21:58:39 +1100 Subject: [melbourne-pug] custom library version problems In-Reply-To: <47BE3FF0.6020601@trinity.unimelb.edu.au> References: <47BE3FF0.6020601@trinity.unimelb.edu.au> Message-ID: Hi Geoff. Replace this type, data, msgid = self._ldap_call(self._l.result2,msgid,all,timeout) with this type, data, msgid = self.result2(msgid,all,timeout) Cheers, John La Rooy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/melbourne-pug/attachments/20080223/3cb57d27/attachment.htm From bob.blanchett at ieee.org Sun Feb 24 08:48:31 2008 From: bob.blanchett at ieee.org (Bob Blanchett) Date: Sun, 24 Feb 2008 18:48:31 +1100 Subject: [melbourne-pug] plone vacancy.. Message-ID: <9b6688810802232348i4f98a12x7f091a326d878e49@mail.gmail.com> My info is this site may be switching to plone/python.. so if you want to get in and build this from the ground up.. ---- *Technical Web Designer* *Posted: *18-02-2008 *Employment Sector: * Information Technology, Infoxchange Australia has developed a customised News, Document and content Management application and other community sector-related web applications predominantly developed in Perl in an Apache/Unix Environment with an SQL (PostgreSQL) database backend. The Technical Web Designer will be required to configure/design these web applications, provide advice and guidance regarding system interface design and layout from a user functionality perspective. The role includes working on projects from beginning to end encompassing; consulting with clients, developing specifications, website/system configuration and establishment, testing and applying feedback from testing. Qualifications and Experience ? Ability to function in a collaborative team environment by demonstrating sensitivity to others, high levels of integrity and ability to generate trusting alliances both internally and externally. ? Excellent decision making skills ? Excellent strategic conceptual and design skills ? High level of communication skills and interpersonal skills ? Working knowledge of Open Source CMS such as Plone will be well considered A qualification in multimedia/software development or equivalent experience is essential. The position is not a programming position, but rather requires a person with an interest in Web Development as well as Web Design. *Organisation: Infoxchange Australia * *State: Victoria * *Work Type: Full-time * *Closing Date: 03/03/2008 * *Contact Name: Deslie Latta * *Contact Phone: 03 9418 7400 * *Contact Email: deslie at infoxchange.net.au * *Document: Please click here for position description * -- --- Robert Blanchett +61 (0)403 911 552 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/melbourne-pug/attachments/20080224/4ecbeecd/attachment.htm From richardjones at optushome.com.au Thu Feb 28 09:18:48 2008 From: richardjones at optushome.com.au (Richard Jones) Date: Thu, 28 Feb 2008 19:18:48 +1100 Subject: [melbourne-pug] pyglet presentation next Tuesday, the 4th of March Message-ID: <200802281918.48617.richardjones@optushome.com.au> "Alex Holkner and Richard Jones will demonstrate pyglet (http://www.pyglet.org), a relatively new module for Python for developing graphics/multimedia applications and games. pyglet allows programs to open multiple windows on multiple screens, draw in those windows with OpenGL, and play back audio and video in most formats. Unlike similar libraries available, pyglet has no external dependencies (such as SDL) and is written entirely in Python. After introducing the major features and uses of pyglet, we'll give a half-hour tutorial, in which a complete game will be written from scratch, right before your eyes. We'll also talk about the issues we encountered in writing a Python-only library for Linux and how they were resolved, and the benefits and pitfalls of using Python as a cross-platform development language." We'll be starting about 7:30pm. It's at the Evan Burge Building at the South-East corner of Trinity College in Melbourne University. See details on http://www.luv.asn.au/node/12 (which sadly seems to be not responding at the moment...) Richard