From tibs at tibsnjoan.co.uk Sat Oct 2 21:41:33 2010 From: tibs at tibsnjoan.co.uk (Tony Ibbs) Date: Sat, 2 Oct 2010 20:41:33 +0100 Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 5th October In-Reply-To: References: Message-ID: On 27 Sep 2010, at 13:20, John Pinner wrote: > Hello Tony, > > Don't forget the FLOSSUK unconfernce, Saturday 16th October, > incorporating the PyCon UK 2010 Unconf I've mentioned it on our local google group, and just bought train tickets for myself. So, who else is going (for the Python group)? I'm assuming some people are... From andy at reportlab.com Thu Oct 7 17:41:52 2010 From: andy at reportlab.com (Andy Robinson) Date: Thu, 7 Oct 2010 16:41:52 +0100 Subject: [python-uk] ReportLab is hiring - Wimbledon Message-ID: Hi everyone, ReportLab, one of the oldest Python shops in the UK, is looking for people in up to three different roles - typically graduates or those with up to 3 years commercial experience. * Software Development * Business Development / Marketing * Design / Information Architecture For more info and how to apply, see... http://www.reportlab.com/about/careers/ We'll also happily consider people who bridge the above job descriptions... Best Regards, -- Andy Robinson Managing Director ReportLab Europe Ltd. Media House, 3 Palmerston Road, Wimbledon, London SW19 1PG, UK Tel +44-20-8545-1570 From dan.fairs at gmail.com Fri Oct 8 14:04:26 2010 From: dan.fairs at gmail.com (Dan Fairs) Date: Fri, 8 Oct 2010 13:04:26 +0100 Subject: [python-uk] Next Django Bath and Bristol Meetup: 26th October Message-ID: <81E705AF-756E-4E3F-849A-BFCD3C85FA6E@gmail.com> Hi, The next Django Bath and Bristol (DBUG) meetup will be at 7pm on Tuesday 26th October, at the ILRT on Berkeley Square, Bristol. This will be a lightning talk session. Full details can be found here: http://django-lightning-talks.eventbrite.com/ Talk submissions are welcome - please email me directly. Thanks, Dan -- Dan Fairs | dan.fairs at gmail.com | www.fezconsulting.com From rami.chowdhury at gmail.com Mon Oct 11 12:16:55 2010 From: rami.chowdhury at gmail.com (Rami Chowdhury) Date: Mon, 11 Oct 2010 11:16:55 +0100 Subject: [python-uk] Fwd: [PyCon-Organizers] PyCon 2011 Poster Session CFP Now Open! Message-ID: <201010111116.56181.rami.chowdhury@gmail.com> ==== PyCon 2011 Call for Posters ==== PyCon 2011 will be held March 9th-17th, 2011 in Atlanta, Georgia, USA. (Home of some of the best southern food you can possibly find on Earth!) The PyCon conference days will be March 11-13, preceded by two tutorial days (March 9-10), and followed by four days of development sprints (March 14-17). This is the second year that PyCon is offering a poster pession. A poster is a 4' x 4' graphical summary of the key points about your project, and a poster session provides another way of presenting that encourages more one-on-one communication between the presenter and the audience. Poster sessions are particularly suited for topics of interest to a subset of the community and/or presenters who are more comfortable interacting with smaller groups. Poster sessions also are a great incubator for further hallway track discussions. Poster proposals will be accepted on a rolling basis until January 19 or we reach the limit of 35 posters. For general information on the poster session visit the PyCon site at http://us.pycon.org/2011/speaker/posters/ , for a list of last year's posters go to http://us.pycon.org/2010/conference/posters/accepted/, or see the full CFP for poster proposals at http://us.pycon.org/2011/speaker/posters/cfp/. To submit a poster proposal use the PyCon speaker submission system found at http://us.pycon.org/2011/speaker/ See you in Atlanta! From christopher.steele at uea.ac.uk Thu Oct 14 11:34:50 2010 From: christopher.steele at uea.ac.uk (Christopher Steele) Date: Thu, 14 Oct 2010 10:34:50 +0100 Subject: [python-uk] processing input from multiple files Message-ID: Hi I've been trying to decode a series of observations from multiple files (each file is a different time) and put each type of observation into their own separate file. The script runs successfully for one file but whenever I try it for more they just overwrite each other. I'm new to python and I'm not sure how to go about efficiently running through the process once and then appending to the output file for all other input files. Has anyone done something similar to this before? cheers Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at timgolden.me.uk Thu Oct 14 11:43:33 2010 From: mail at timgolden.me.uk (Tim Golden) Date: Thu, 14 Oct 2010 10:43:33 +0100 Subject: [python-uk] processing input from multiple files In-Reply-To: References: Message-ID: <4CB6D0C5.8080107@timgolden.me.uk> On 14/10/2010 10:34, Christopher Steele wrote: > I've been trying to decode a series of observations from multiple files > (each file is a different time) and put each type of observation into their > own separate file. The script runs successfully for one file but whenever I > try it for more they just overwrite each other. I'm new to python and I'm > not sure how to go about efficiently running through the process once and > then appending to the output file for all other input files. Has anyone done > something similar to this before? Hi, Chris, welcome to Python. A couple of things. This is a relatively low-traffic list, and gets used mostly for local events and jobs. You're welcome to post Python questions here but you'll get a broader readership (and more chance of an answer) from the main Python list: http://mail.python.org/mailman/listinfo/python-list or, since you're new to the language, the tutor list: http://mail.python.org/mailman/listinfo/tutor Secondly, it's best to post up some code you've already written so people can get a better idea of the direction you're taking. Your description above is a little ambiguous, and code can speak louder than words.. It doesn't sound hard to do what you seem to be describing, but let's see what you've got so far :) TJG From funthyme at gmail.com Thu Oct 14 11:53:20 2010 From: funthyme at gmail.com (John Pinner) Date: Thu, 14 Oct 2010 10:53:20 +0100 Subject: [python-uk] processing input from multiple files In-Reply-To: <4CB6D0C5.8080107@timgolden.me.uk> References: <4CB6D0C5.8080107@timgolden.me.uk> Message-ID: Hi, On 14 October 2010 10:43, Tim Golden wrote: > On 14/10/2010 10:34, Christopher Steele wrote: >> >> I've been trying to decode a series of observations from multiple files >> (each file is a different time) and put each type of observation into >> their >> own separate file. The script runs successfully for one file but whenever >> I >> try it for more they just overwrite each other. I'm new to python and I'm >> not sure how to go about efficiently running through the process once and >> then appending to the output file for all other input files. Has anyone >> done >> something similar to this before? > > Hi, Chris, welcome to Python. A couple of things. This is a relatively > low-traffic list, and gets used mostly for local events and jobs. You're > welcome to post Python questions here but you'll get a broader readership > (and more chance of an answer) from the main Python list: > > http://mail.python.org/mailman/listinfo/python-list > > ?or, since you're new to the language, the tutor list: > > http://mail.python.org/mailman/listinfo/tutor or even comp.lang.python *or* come to the FLOSSUK unconf on Saturday (it's free) - http://flossuk.org - where you will find a number of UK Python people and you could get some help. Bring your code and we could have a critique session! > Secondly, it's best to post up some code you've already written so people > can get a better idea of the direction you're taking. Your description > above is a little ambiguous, and code can speak louder than words.. > > It doesn't sound hard to do what you seem to be describing, but let's > see what you've got so far :) Yes, the scope for helping is limited without the code! Best wishes, John -- John Pinner From kevin.p.dwyer at gmail.com Thu Oct 14 12:07:26 2010 From: kevin.p.dwyer at gmail.com (Kev Dwyer) Date: Thu, 14 Oct 2010 11:07:26 +0100 Subject: [python-uk] PyCon UK Message-ID: Hello All, I've noticed that PyCon UK is being held as part of the FLOSS UK conference this year. I'm just curious, how is PyCon UK advertised? I've only seen it mentioned in passing on this list. Thanks, Kev -------------- next part -------------- An HTML attachment was scrubbed... URL: From funthyme at gmail.com Thu Oct 14 13:39:47 2010 From: funthyme at gmail.com (John Pinner) Date: Thu, 14 Oct 2010 12:39:47 +0100 Subject: [python-uk] PyCon UK In-Reply-To: References: Message-ID: Hello, On 14 October 2010 11:07, Kev Dwyer wrote: > Hello All, > > I've noticed that PyCon UK is being held as part? of the FLOSS UK conference > this year.? I'm just curious, how is PyCon UK advertised?? I've only seen it > mentioned in passing on this list. pyconuk.org lanyrd.com on the lists and Twitter, by you and I by word-of-mouth (all of those depend upon UK Python people doing things) and, at EuroPython, to the assembled masses. (200+ UK delegates) John -- From kevin.p.dwyer at gmail.com Thu Oct 14 13:46:31 2010 From: kevin.p.dwyer at gmail.com (Kev Dwyer) Date: Thu, 14 Oct 2010 12:46:31 +0100 Subject: [python-uk] PyCon UK In-Reply-To: References: Message-ID: Many thanks John Pyconuk.org is added to my bookmarks. On 14 October 2010 12:39, John Pinner wrote: > Hello, > > On 14 October 2010 11:07, Kev Dwyer wrote: > > Hello All, > > > > I've noticed that PyCon UK is being held as part of the FLOSS UK > conference > > this year. I'm just curious, how is PyCon UK advertised? I've only seen > it > > mentioned in passing on this list. > > pyconuk.org > lanyrd.com > on the lists and Twitter, by you and I > by word-of-mouth > (all of those depend upon UK Python people doing things) > and, > at EuroPython, to the assembled masses. (200+ UK delegates) > > John > -- > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.matthews at gmail.com Fri Oct 15 14:32:56 2010 From: jamie.matthews at gmail.com (Jamie Matthews) Date: Fri, 15 Oct 2010 13:32:56 +0100 Subject: [python-uk] BrightonPy event: The Why and How of Automated Testing with Python and Django Message-ID: The Why and How of Automated Testing with Python and Django Jim Purbrick, Tuesday October 26, 2010, 19:30 at The Skiff http://brightonpy.org/meetings/2010-10-26/ Why do we write tests? How do we write them? What kinds of tests are valuable? Learn and share your experiences of how to do Test Driven Development in Python and Django. The evening will start with a talk by agile software veteran Jim Purbrick followed by a hands-on practical session led by Alan McNeil Jackson, CTO of Aptivate. Bring a laptop if you want to code along. Please sign up on Upcoming if you will be attending: http://upcoming.yahoo.com/event/7193208/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alec.battles at gmail.com Fri Oct 15 21:45:59 2010 From: alec.battles at gmail.com (Alec Battles) Date: Sat, 16 Oct 2010 04:45:59 +0900 Subject: [python-uk] processing input from multiple files In-Reply-To: References: <4CB6D0C5.8080107@timgolden.me.uk> Message-ID: On Thu, Oct 14, 2010 at 6:53 PM, John Pinner wrote: > Hi, > > On 14 October 2010 10:43, Tim Golden wrote: >> On 14/10/2010 10:34, Christopher Steele wrote: >>> >>> I've been trying to decode a series of observations from multiple files >>> (each file is a different time) and put each type of observation into >>> their >>> own separate file. The script runs successfully for one file but whenever >>> I >>> try it for more they just overwrite each other. I'm new to python and I'm >>> not sure how to go about efficiently running through the process once and >>> then appending to the output file for all other input files. Has anyone >>> done >>> something similar to this before? >> >> Hi, Chris, welcome to Python. A couple of things. This is a relatively >> low-traffic list, and gets used mostly for local events and jobs. You're >> welcome to post Python questions here but you'll get a broader readership >> (and more chance of an answer) from the main Python list: >> >> http://mail.python.org/mailman/listinfo/python-list >> >> ?or, since you're new to the language, the tutor list: >> >> http://mail.python.org/mailman/listinfo/tutor > > or even comp.lang.python stackexchange.com has been very good for my own beginner-level Python questions. Alec From michael at voidspace.org.uk Mon Oct 18 00:39:22 2010 From: michael at voidspace.org.uk (Michael Foord) Date: Sun, 17 Oct 2010 23:39:22 +0100 Subject: [python-uk] Northants Geeks Meetup, Thursday 21st October Message-ID: <4CBB7B1A.2000308@voidspace.org.uk> Hello all, The next Northants Geeks meetup is on Thursday 21st October at 7:30pm at the Malt Shovel pub Northampton. All the best, Michael Foord -- http://www.voidspace.org.uk/ READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From ntoll at ntoll.org Fri Oct 22 15:29:47 2010 From: ntoll at ntoll.org (Nicholas Tollervey) Date: Fri, 22 Oct 2010 14:29:47 +0100 Subject: [python-uk] Announcing the next London Python code dojo... Message-ID: <2FE6A3D2-A72F-44FD-AD87-568852D34FE4@ntoll.org> Folks, The next dojo will be on November 4th starting at 6:30pm for free pizza and beer. Details here: http://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-3 (The usual place and time etc...) Remember to sign up so we know how much pizza and beer to order in (thanks Fry-IT). Also O'Reilly have donated "Cooking for Geeks" for the prize draw. See you there! Nicholas. From tibs at tibsnjoan.co.uk Tue Oct 26 22:14:27 2010 From: tibs at tibsnjoan.co.uk (Tony Ibbs) Date: Tue, 26 Oct 2010 21:14:27 +0100 Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 2nd November Message-ID: As announced on the CamPUG Google Group: The next meeting will be a talks meeting, Tuesday 2nd November, 7.30pm at RealVNC (http://tinyurl.com/realvncoffices). I believe we have one offer of a talk, and going by previous meetings other people will have things too. Meetings after that should be: * Tuesday 7th December, a dojo meeting * notionally Tuesday 4th January (2011), but I'd propose actually having the January meeting on the 11th. This would be a talks meeting * Tuesday 1st February, another dojo meeting. If anyone wants to suggest different dates for January/February, please do so. Tibs From oly at digitaloctave.com Thu Oct 28 23:46:44 2010 From: oly at digitaloctave.com (Oliver Marks) Date: Thu, 28 Oct 2010 22:46:44 +0100 Subject: [python-uk] embedding python ImportError: libpyglib PyExc_ImportError Message-ID: <1288302404.5699.20.camel@leela> Hi i am a new member on this list and thought if some people may be able to enlighten me to the error below ? I am running 64 bit ubuntu 10.10 in case there are know issues with this setup, basically i am embedding python inside a c application i managed to get this to work i can call functions from the original c program and the scripts run until i import gtk in the python script this causes the error below. I am using the waf build system to build the c program, my knowledge of c is limited i am more a python programmer which is why i am attempting the embed python so i can write my plugins in python. I get the feeling the error is todo with linking but i dont get why i can import gtk normally in python but not when its embeded ? Any help or pointers would be appreciated, that might help me get this solved or better understand what is wrong. Traceback (most recent call last): File "/usr/local/share/geany/plugins/gpykickstart.py", line 4, in import glib File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, in from glib._glib import * ImportError: /usr/lib/libpyglib-2.0-python2.6.so.0: undefined symbol: PyExc_ImportError Failed to load the "gpykickstart" module from the "/usr/local/share/geany/plugins" directory. From jkp at kirkconsulting.co.uk Fri Oct 29 09:39:22 2010 From: jkp at kirkconsulting.co.uk (Jamie Kirkpatrick) Date: Fri, 29 Oct 2010 08:39:22 +0100 Subject: [python-uk] embedding python ImportError: libpyglib PyExc_ImportError In-Reply-To: <1288302404.5699.20.camel@leela> References: <1288302404.5699.20.camel@leela> Message-ID: Well, do you have that library on your system? The problem is that you are loading a Python module that uses a C extension module under the hood so your python runtime is looking to load in that library as you import that module but its not finding it. How have you "installed" the gtk module so your embedded Python can see it? I've never embedded Python in a C application before but I'll do what I can to help you :) BTW: A great site for quick answers to questions like this (if you don't already know it) is stackoverflow.com Jamie On 28 October 2010 22:46, Oliver Marks wrote: > Hi i am a new member on this list and thought if some people may be able > to enlighten me to the error below ? > > I am running 64 bit ubuntu 10.10 in case there are know issues with this > setup, basically i am embedding python inside a c application i managed > to get this to work i can call functions from the original c program and > the scripts run until i import gtk in the python script this causes the > error below. > > I am using the waf build system to build the c program, my knowledge of > c is limited i am more a python programmer which is why i am attempting > the embed python so i can write my plugins in python. > > I get the feeling the error is todo with linking but i dont get why i > can import gtk normally in python but not when its embeded ? > > Any help or pointers would be appreciated, that might help me get this > solved or better understand what is wrong. > > Traceback (most recent call last): > File "/usr/local/share/geany/plugins/gpykickstart.py", line 4, in > > import glib > File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, > in > from glib._glib import * > ImportError: /usr/lib/libpyglib-2.0-python2.6.so.0: undefined symbol: > PyExc_ImportError > Failed to load the "gpykickstart" module from the > "/usr/local/share/geany/plugins" directory. > > > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tartley at tartley.com Fri Oct 29 11:02:28 2010 From: tartley at tartley.com (Jonathan Hartley) Date: Fri, 29 Oct 2010 10:02:28 +0100 Subject: [python-uk] PyCon co-presenter sought for OpenGL talk Message-ID: <4CCA8DA4.9060409@tartley.com> Hey folks, I'm searching for a co-presenter for a talk I've proposed at PyCon (Atlanta 2011). The title is 'Algorithmically Generated OpenGL Geometry', and it's currently envisioned as an improved version of a talk I already gave at EuroPython under the title 'Hobbyist OpenGL : Flying High' (blogged with screenshots here: http://tartley.com/?p=1207) The talk presents a simple and Pythonic way to model 3D polyhedra, shows how to convert those into the arrays that OpenGL expects, and then plays around with a bunch with algorithms that act on the polyhedra class, to generate fun & interesting virtual sculptures. I'd like a co-presenter simply because I think it would be more fun to prepare and present with someone else than by myself, plus of course the talk will benefit from the imagination of two people being applied to it. People I asked to date are either too busy or shy or can't attend, so I thought I'd try this more scattershot approach. If you have any interest (even if you have reservations, e.g. would like to work on it, but are too shy to present, or would like to present, but don't have much time to help prepare), then let me know. Jonathan -- Jonathan Hartley Made of meat. http://tartley.com tartley at tartley.com +44 7737 062 225 twitter/skype: tartley From oly at digitaloctave.com Fri Oct 29 11:49:59 2010 From: oly at digitaloctave.com (oly at digitaloctave.com) Date: Fri, 29 Oct 2010 10:49:59 +0100 Subject: [python-uk] embedding python ImportError: libpyglib PyExc_ImportError Message-ID: <53445.1288345799@digitaloctave.com> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }This is the result of searching for that library, also i dont get the error when running python normally only when its embeded, so something must be different when you embed for the error to only occur when when running code in the embeded version. locate /usr/lib/libpyglib /usr/lib/libpyglib-2.0-python2.6.so.0 /usr/lib/libpyglib-2.0-python2.6.so.0.0.0 I have double checked and i have all the python-dev packages and all the dev packages for things like gtk and the other libraries i require and have search for the .h files and they seem to be present and in place. On Fri 29/10/10 8:39 AM , Jamie Kirkpatrick jkp at kirkconsulting.co.uk sent: Well, do you have that library on your system? The problem is that you are loading a Python module that uses a C extension module under the hood so your python runtime is looking to load in that library as you import that module but its not finding it. How have you "installed" the gtk module so your embedded Python can see it? I've never embedded Python in a C application before but I'll do what I can to help you :) BTW: A great site for quick answers to questions like this (if you don't already know it) is stackoverflow.com [1] Jamie On 28 October 2010 22:46, Oliver Marks wrote: Hi i am a new member on this list and thought if some people may be able to enlighten me to the error below ? I am running 64 bit ubuntu 10.10 in case there are know issues with this setup, basically i am embedding python inside a c application i managed to get this to work i can call functions from the original c program and the scripts run until i import gtk in the python script this causes the error below. I am using the waf build system to build the c program, my knowledge of c is limited i am more a python programmer which is why i am attempting the embed python so i can write my plugins in python. I get the feeling the error is todo with linking but i dont get why i can import gtk normally in python but not when its embeded ? Any help or pointers would be appreciated, that might help me get this solved or better understand what is wrong. Traceback (most recent call last): File "/usr/local/share/geany/plugins/gpykickstart.py", line 4, in import glib File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, in from glib._glib import * ImportError: /usr/lib/libpyglib-2.0-python2.6.so.0: undefined symbol: PyExc_ImportError Failed to load the "gpykickstart" module from the "/usr/local/share/geany/plugins" directory. _______________________________________________ python-uk mailing list python-uk at python.org [3] http://mail.python.org/mailman/listinfo/python-uk [4] Links: ------ [1] http://stackoverflow.com [2] mailto:oly at digitaloctave.com [3] mailto:python-uk at python.org [4] http://mail.python.org/mailman/listinfo/python-uk -------------- next part -------------- An HTML attachment was scrubbed... URL: