From ntoll at ntoll.org Tue Jan 4 11:29:12 2011 From: ntoll at ntoll.org (Nicholas Tollervey) Date: Tue, 4 Jan 2011 10:29:12 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo Message-ID: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Folks, Happy new year! Here's to a great 2011 for Pythonistas in the UK. The next London Python code dojo will be next Thursday (13th January) starting at 6:30pm for free pizza and beer. We?re aiming to build a top-down dungeon / world in PyGame in preparation for Bruce's inter-language dojo sometime this summer. This will build upon the fun we had at the Christmas dojo where we used PyGame to create a Christmas card. No prior knowledge of PyGame or a coding dojo is required to attend this event ? just an open and enthusiastic attitude! :-) Details here: https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 (The usual place and time etc...) Remember to sign up so we know how much pizza and beer to order (thanks Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" for the prize draw (I've already got a copy - it's a very interesting book with code examples in Python). See you there! Nicholas. From kevin.p.dwyer at gmail.com Tue Jan 4 12:41:22 2011 From: kevin.p.dwyer at gmail.com (Kev Dwyer) Date: Tue, 4 Jan 2011 11:41:22 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Message-ID: Hello Nicholas, Unfortunately I have lectures on Thursday evenings this term, so I'll miss out on the fun. But I'd be keen to see how this progresses - let me know if the source is going up on github or bitbucket.. Good luck, and perhaps see you later in the year, Kev On 4 January 2011 10:29, Nicholas Tollervey wrote: > Folks, > > Happy new year! Here's to a great 2011 for Pythonistas in the UK. > > The next London Python code dojo will be next Thursday (13th January) > starting at 6:30pm for free pizza and beer. > > We?re aiming to build a top-down dungeon / world in PyGame in preparation > for Bruce's inter-language dojo sometime this summer. This will build upon > the fun we had at the Christmas dojo where we used PyGame to create a > Christmas card. No prior knowledge of PyGame or a coding dojo is required to > attend this event ? just an open and enthusiastic attitude! :-) > > Details here: > https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 > > (The usual place and time etc...) > > Remember to sign up so we know how much pizza and beer to order (thanks > Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" for the > prize draw (I've already got a copy - it's a very interesting book with code > examples in Python). > > See you there! > > Nicholas. > _______________________________________________ > 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 Tue Jan 4 14:19:45 2011 From: tartley at tartley.com (Jonathan Hartley) Date: Tue, 04 Jan 2011 13:19:45 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Message-ID: <4D231E71.3030102@tartley.com> Hooray! Once again, it looks like I can make it. Here's hoping it stays that way this time. Thanks! Looking fwd. Jonathan On 04/01/2011 10:29, Nicholas Tollervey wrote: > Folks, > > Happy new year! Here's to a great 2011 for Pythonistas in the UK. > > The next London Python code dojo will be next Thursday (13th January) starting at 6:30pm for free pizza and beer. > > We?re aiming to build a top-down dungeon / world in PyGame in preparation for Bruce's inter-language dojo sometime this summer. This will build upon the fun we had at the Christmas dojo where we used PyGame to create a Christmas card. No prior knowledge of PyGame or a coding dojo is required to attend this event ? just an open and enthusiastic attitude! :-) > > Details here: https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 > > (The usual place and time etc...) > > Remember to sign up so we know how much pizza and beer to order (thanks Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" for the prize draw (I've already got a copy - it's a very interesting book with code examples in Python). > > See you there! > > Nicholas. > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk -- Jonathan Hartley Made of meat. http://tartley.com tartley at tartley.com +44 7737 062 225 twitter/skype: tartley From kotecha.ravi at gmail.com Tue Jan 4 14:21:05 2011 From: kotecha.ravi at gmail.com (Ravi Kotecha) Date: Tue, 4 Jan 2011 13:21:05 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Message-ID: As this is on the second Thursday of the month I can finally come along! :-) I remember there being some discussion about flipping the dojo between the 1st Thursday and the 1st Wednesday in alternate months to ensure that people who can't do Thursdays for whatever reason would have a chance to attend. Did anything come of this or was it too complicated an idea? On Tue, Jan 4, 2011 at 11:41, Kev Dwyer wrote: > Hello Nicholas, > > Unfortunately I have lectures on Thursday evenings this term, so I'll miss > out on the fun. But I'd be keen to see how this progresses - let me know if > the source is going up on github or bitbucket.. > > Good luck, and perhaps see you later in the year, > > Kev > > > On 4 January 2011 10:29, Nicholas Tollervey wrote: > >> Folks, >> >> Happy new year! Here's to a great 2011 for Pythonistas in the UK. >> >> The next London Python code dojo will be next Thursday (13th January) >> starting at 6:30pm for free pizza and beer. >> >> We?re aiming to build a top-down dungeon / world in PyGame in preparation >> for Bruce's inter-language dojo sometime this summer. This will build upon >> the fun we had at the Christmas dojo where we used PyGame to create a >> Christmas card. No prior knowledge of PyGame or a coding dojo is required to >> attend this event ? just an open and enthusiastic attitude! :-) >> >> Details here: >> https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 >> >> (The usual place and time etc...) >> >> Remember to sign up so we know how much pizza and beer to order (thanks >> Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" for the >> prize draw (I've already got a copy - it's a very interesting book with code >> examples in Python). >> >> See you there! >> >> Nicholas. >> _______________________________________________ >> python-uk mailing list >> python-uk at python.org >> http://mail.python.org/mailman/listinfo/python-uk >> > > > _______________________________________________ > 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 sebkom at nerdvana.gr Tue Jan 4 17:00:22 2011 From: sebkom at nerdvana.gr (Sebastian Komianos) Date: Tue, 4 Jan 2011 18:00:22 +0200 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Message-ID: <1C490DA3-43BB-4A81-8425-91652F5718D2@nerdvana.gr> Looking forward to attend my first dojo ever, glad it's going to be a Python one! :) See you all there! --- Sebastian Komianos http://about.me/sebkom http://twitter.com/sebkom On Jan 4, 2011, at 12:29 PM, Nicholas Tollervey wrote: > Folks, > > Happy new year! Here's to a great 2011 for Pythonistas in the UK. > > The next London Python code dojo will be next Thursday (13th January) starting at 6:30pm for free pizza and beer. > > We?re aiming to build a top-down dungeon / world in PyGame in preparation for Bruce's inter-language dojo sometime this summer. This will build upon the fun we had at the Christmas dojo where we used PyGame to create a Christmas card. No prior knowledge of PyGame or a coding dojo is required to attend this event ? just an open and enthusiastic attitude! :-) > > Details here: https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 > > (The usual place and time etc...) > > Remember to sign up so we know how much pizza and beer to order (thanks Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" for the prize draw (I've already got a copy - it's a very interesting book with code examples in Python). > > See you there! > > Nicholas. > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk From carles at pina.cat Tue Jan 4 21:43:29 2011 From: carles at pina.cat (Carles Pina i Estany) Date: Tue, 4 Jan 2011 20:43:29 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> Message-ID: <20110104204329.GB3975@pina.cat> Hi, On Jan/04/2011, Nicholas Tollervey wrote: > Details here: > https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-5 "Sorry, the event has now sold out." Seriously? So fast? :-o -- Carles Pina i Estany http://pinux.info From jgustak at gmail.com Wed Jan 5 01:51:13 2011 From: jgustak at gmail.com (Jakub Gustak) Date: Wed, 5 Jan 2011 00:51:13 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: <20110104204329.GB3975@pina.cat> References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> <20110104204329.GB3975@pina.cat> Message-ID: On Tue, Jan 4, 2011 at 8:43 PM, Carles Pina i Estany wrote: > "Sorry, the event has now sold out." > > Seriously? > So fast? > :-o I'd blame New Year's resolution. Damn those people willing to start new life every January. -- Jakub Gustak From ntoll at ntoll.org Wed Jan 5 08:57:19 2011 From: ntoll at ntoll.org (Nicholas Tollervey) Date: Wed, 5 Jan 2011 07:57:19 +0000 Subject: [python-uk] Announcing the next London Python Code Dojo In-Reply-To: References: <59C8E579-D0CB-497A-8E5A-8354F4717960@ntoll.org> <20110104204329.GB3975@pina.cat> Message-ID: <6125A5B9-C68B-4FD3-82C0-8D814B8636F4@ntoll.org> Guys, It's great that the event has "sold out" from Eventwax's point of view - but we only use them to get a feel for the numbers turning up. Since people often drop out it's always good to check (drop me a line) a few days before to see if we've had cancellations. Part of the problem is that if numbers hit 30 then things start to get squashed in Fry-IT's office. Nicholas. On 5 Jan 2011, at 00:51, Jakub Gustak wrote: > On Tue, Jan 4, 2011 at 8:43 PM, Carles Pina i Estany wrote: >> "Sorry, the event has now sold out." >> >> Seriously? >> So fast? >> :-o > > I'd blame New Year's resolution. Damn those people willing to start > new life every January. > > -- > Jakub Gustak > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk From tibs at tibsnjoan.co.uk Wed Jan 5 20:16:30 2011 From: tibs at tibsnjoan.co.uk (Tony Ibbs) Date: Wed, 5 Jan 2011 19:16:30 +0000 Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 11th January 2011 Message-ID: As announced on the CamPUG Google Group: Hope you all had a good Christmas and New Year. The next meeting will be a talks meeting, Tuesday 11th January, 7.30pm at RealVNC (http://tinyurl.com/realvncoffices). Unfortunately I shan't be able to make it, as I shall be on a train coming back from Manchester (I'd rather be at the meeting). Meetings after that should be: * Tuesday 1st February, a dojo meeting. * Tuesday 1st March, another talks meeting * Tuesday 5th April, a dojo meeting again Tibs From matth at netsight.co.uk Thu Jan 6 16:53:07 2011 From: matth at netsight.co.uk (Matt Hamilton) Date: Thu, 6 Jan 2011 15:53:07 +0000 Subject: [python-uk] Merging DOM trees Message-ID: Hi All, Anyone know if there is a simple built-in way in which to overlay one XML DOM tree on top of another? Other than traversing both and creating nodes on the target DOM that existing in the source? I'm currently using minidom, but could use something else... this is for a silly little script though, so don't really want to go through compiling some big esoteric XML library if I don't have to. e.g. Dom A: foo bar overlaid on: baz would give: foo bar baz -Matt -- Matt Hamilton matth at netsight.co.uk Netsight Internet Solutions, Ltd. Business Vision on the Internet http://www.netsight.co.uk +44 (0)117 9090901 Web Design | Zope/Plone Development and Consulting | Co-location | Hosting From funthyme at gmail.com Thu Jan 13 12:05:17 2011 From: funthyme at gmail.com (John Pinner) Date: Thu, 13 Jan 2011 11:05:17 +0000 Subject: [python-uk] Python Ireland Message-ID: I have a message from Vicky Lee: "I am happy to say that we will be hosting PyCon Ireland 2011 in Dublin, it will be on Sat 8th Oct and Sun 9th Oct" http://www.python.ie Best wishes, John -- From d_chetwynd at fastmail.co.uk Fri Jan 14 13:14:34 2011 From: d_chetwynd at fastmail.co.uk (Daley Chetwynd) Date: Fri, 14 Jan 2011 12:14:34 +0000 Subject: [python-uk] New Python Sheffield group Message-ID: <1295007274.31088.1415283707@webmail.messagingengine.com> Hi all, I'm starting up a new Python group in Sheffield. It will meet on the final Tuesday of every month at the GIST Lab in Sheffield: http://thegisthub.net/groups/gistlab/ The first meeting is on Tues Jan 25th 2011. Doors open at the GIST Lab at 18:30, then the meeting will run from 19:00 - 21:00. We currently have 11 people registered for the first meeting. Registration can be done for free at: http://pythonsheffield.eventbrite.com I've set up the Twitter account @pysheff and the Google group: http://groups.google.com/group/python-sheffield If you're in the Sheffield area then you're more than welcome to attend. If you know Python users in Sheffield then please pass the word on. :) Thanks, Daley Chetwynd -- -- http://www.fastmail.fm - A no graphics, no pop-ups email service From bld at otfrom.com Fri Jan 14 17:58:05 2011 From: bld at otfrom.com (Bruce Durling) Date: Fri, 14 Jan 2011 16:58:05 +0000 Subject: [python-uk] london-dojos group Message-ID: Fellow Pythonistas and Dojoans, As mentioned at the London Python Dojo last night another list has been set up to discuss inter-dojo events so that we don't spam this list with problems interfacing haskell to xmpp. The URL for the list is: http://groups.google.com/group/london-dojos cheers, Bruce From d_chetwynd at fastmail.co.uk Sun Jan 23 22:30:31 2011 From: d_chetwynd at fastmail.co.uk (Daley Chetwynd) Date: Sun, 23 Jan 2011 21:30:31 +0000 Subject: [python-uk] Python Sheffield Jan 25th Message-ID: <1295818231.23334.1416805147@webmail.messagingengine.com> Hi all, The first Python Sheffield meeting is this Tuesday (Jan 25th) at the GIST Lab, Sheffield: http://thegisthub.net/groups/gistlab/ Doors open at the GIST Lab at 18:30 and the meeting will run from 19:00 - 21:00. We now have 16 people registered for the meeting. If you'd like to join us, please register for free at: http://pythonsheffield.eventbrite.com We're also looking for speakers for future meetings, so if you'd like to talk on something Python-related and you can make it over to Sheffield, please get in touch. Thanks, Daley Chetwynd -- -- http://www.fastmail.fm - The professional email service From sebkom at nerdvana.gr Mon Jan 24 20:27:54 2011 From: sebkom at nerdvana.gr (Sebastian Komianos) Date: Mon, 24 Jan 2011 19:27:54 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? Message-ID: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Good evening everyone, I am a newcomer to Python and I am using it for my dissertation (not a PhD, just a Bachelor! :)) project. I've reached the point where I need to create a few very basic undirected graphs. I spent the last hour or so searching online but have so far failed to find a library that works with Python 3. NetworkX (http://networkx.lanl.gov/index.html) looked great and is quite popular from what I've gathered but its drawing module is not Python 3 compatible. Which is a pity because all I wanted is some very very basic graphs. All the other libraries I've found so far either don't support drawing or are extremely complex for my needs. Now, maybe the solution is to use Python 2.6 instead. Before starting working on my project I knew nothing about Python, which is one of the reasons I chose it over, say, Java, and thought that the 3rd version is the way to go. Is it not? Thank you very much for your time in advance, --- Sebastian Komianos http://about.me/sebkom http://twitter.com/sebkom -------------- next part -------------- An HTML attachment was scrubbed... URL: From robinshields at gmail.com Mon Jan 24 21:47:01 2011 From: robinshields at gmail.com (Robin Shields) Date: Mon, 24 Jan 2011 20:47:01 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: Hi Sebastian So you're doing some kind of network analysis? Tell us more (just out of interest, or tell me more off-list). All I can suggest is http://gitorious.org/projects/graphine/pages/Home, that is just from searching, haven't tried it myself. I've often found with graphing that it is quicker and easier just to write it myself, but I can be a bit stubborn. If it works, let me know. Robin On Mon, Jan 24, 2011 at 7:27 PM, Sebastian Komianos wrote: > Good evening everyone, > > I am a newcomer to Python and I am using it for my dissertation (not a PhD, > just a Bachelor! :)) project. > > I've reached the point where I need to create a few very basic undirected > graphs. I spent the last hour or so searching online but have so far failed > to find a library that works with Python 3. NetworkX ( > http://networkx.lanl.gov/index.html) looked great and is quite popular > from what I've gathered but its drawing module is not Python 3 compatible. > Which is a pity because all I wanted is some very very basic graphs. All the > other libraries I've found so far either don't support drawing or are > extremely complex for my needs. > > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? > > Thank you very much for your time in advance, > > > --- > Sebastian Komianos > http://about.me/sebkom > http://twitter.com/sebkom > > > _______________________________________________ > 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 rcumins at gmail.com Mon Jan 24 22:04:26 2011 From: rcumins at gmail.com (Russell Cumins) Date: Mon, 24 Jan 2011 21:04:26 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: Hi Sebastian, As far as I am aware the Python 3.x series is where the development of the language is going, The devs specifically broke backwards compatibility in order to tidy up the language. What this means is that there are loads of Python libraries that will not work with it or have not been ported to it. I would recommend trying Python 2.6 along with the corresponding Pygame release for that version. As it just works and is fairly simple to learn. Pygame http://www.pygame.org/download.shtml Kind Regards, Russell Cumins On 24 January 2011 19:27, Sebastian Komianos wrote: > Good evening everyone, > > I am a newcomer to Python and I am using it for my dissertation (not a PhD, > just a Bachelor! :)) project. > > I've reached the point where I need to create a few very basic undirected > graphs. I spent the last hour or so searching online but have so far failed > to find a library that works with Python 3. NetworkX ( > http://networkx.lanl.gov/index.html) looked great and is quite popular > from what I've gathered but its drawing module is not Python 3 compatible. > Which is a pity because all I wanted is some very very basic graphs. All the > other libraries I've found so far either don't support drawing or are > extremely complex for my needs. > > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? > > Thank you very much for your time in advance, > > > --- > Sebastian Komianos > http://about.me/sebkom > http://twitter.com/sebkom > > > _______________________________________________ > 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 alex at moreati.org.uk Mon Jan 24 23:29:43 2011 From: alex at moreati.org.uk (Alex Willmer) Date: Mon, 24 Jan 2011 22:29:43 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: On 24 January 2011 19:27, Sebastian Komianos wrote: > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? Python 3 hasn't been widely adopted yet, so you're better using Python 2.x for now. The latest release is Python 2.7, but 2.6 is a good starting point if you've already got a version installed or you wish to deploy on a reasonably recent *nix release. The only program I know for (un)directed graphs is Graphviz and associated DOT format. For which there a few hits: http://pypi.python.org/pypi?:action=search&term=graphviz -- Alex Willmer http://moreati.org.uk/blog http://twitter.com/moreati From tartley at tartley.com Tue Jan 25 00:19:49 2011 From: tartley at tartley.com (Jonathan Hartley) Date: Mon, 24 Jan 2011 23:19:49 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: <4D3E0915.2060909@tartley.com> Hey, If you can predict what Python libraries you will depend on, then use Python 3 if those libraries are already ported to it. If not, then use Python 2. Python 2.7 is the current (and almost certainly the last ever) 2.x version. GraphVis is good for visualising graphs. It produces diagrams like this: http://www.graphviz.org/Gallery.php There are several Python bindings or wrappers for GraphViz, four are listed here: http://www.graphviz.org/Resources.php Best of luck, Jonathan On 24/01/2011 21:04, Russell Cumins wrote: > Hi Sebastian, > > As far as I am aware the Python 3.x series is where the development of > the language is going, The devs specifically broke backwards > compatibility in order to tidy up the language. What this means is > that there are loads of Python libraries that will not work with it or > have not been ported to it. > > I would recommend trying Python 2.6 along with the corresponding > Pygame release for that version. As it just works and is fairly simple > to learn. > > Pygame > http://www.pygame.org/download.shtml > > Kind Regards, > > Russell Cumins > > On 24 January 2011 19:27, Sebastian Komianos > wrote: > > Good evening everyone, > > I am a newcomer to Python and I am using it for my dissertation > (not a PhD, just a Bachelor! :)) project. > > I've reached the point where I need to create a few very basic > undirected graphs. I spent the last hour or so searching online > but have so far failed to find a library that works with Python 3. > NetworkX (http://networkx.lanl.gov/index.html) looked great and is > quite popular from what I've gathered but its drawing module is > not Python 3 compatible. Which is a pity because all I wanted is > some very very basic graphs. All the other libraries I've found so > far either don't support drawing or are extremely complex for my > needs. > > Now, maybe the solution is to use Python 2.6 instead. Before > starting working on my project I knew nothing about Python, which > is one of the reasons I chose it over, say, Java, and thought that > the 3rd version is the way to go. Is it not? > > Thank you very much for your time in advance, > > > --- > Sebastian Komianos > http://about.me/sebkom > http://twitter.com/sebkom > > > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk > > > > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk -- Jonathan Hartley Made of meat. http://tartley.com tartley at tartley.com +44 7737 062 225 twitter/skype: tartley -------------- next part -------------- An HTML attachment was scrubbed... URL: From alec.battles at gmail.com Tue Jan 25 03:08:25 2011 From: alec.battles at gmail.com (Alec Battles) Date: Tue, 25 Jan 2011 11:08:25 +0900 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? afaik, the main difference is the assert statement. i'm sure there are other differences, but as someone who rarely uses python that 'deeply', you should be fine if you start off on python 2. From giorgio.zoppi at gmail.com Tue Jan 25 10:41:47 2011 From: giorgio.zoppi at gmail.com (Giorgio Zoppi) Date: Tue, 25 Jan 2011 10:41:47 +0100 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: 2011/1/24 Sebastian Komianos : > Good evening everyone, > I am a newcomer to Python and I am using it for my dissertation (not a PhD, > just a Bachelor! :)) project. > I've reached the point where I need to create a few very basic undirected > graphs. I spent the last hour or so searching online but have so far failed > to find a library that works with Python 3. NetworkX > (http://networkx.lanl.gov/index.html) looked great and is quite popular from > what I've gathered but its drawing module is not Python 3 compatible. Which > is a pity because all I wanted is some very very basic graphs. All the other > libraries I've found so far either don't support drawing or are extremely > complex for my needs. > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? boost-python From mauve at mauveweb.co.uk Tue Jan 25 10:48:40 2011 From: mauve at mauveweb.co.uk (Daniel Pope) Date: Tue, 25 Jan 2011 09:48:40 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: <4D3E9C78.6020406@mauveweb.co.uk> On 24/01/11 22:29, Alex Willmer wrote: > The only program I know for (un)directed graphs is Graphviz and > associated DOT format. For which there a few hits: > http://pypi.python.org/pypi?:action=search&term=graphviz You don't need a library to use graphviz. graphviz has a command-line interface that renders a DOT file. A DOT file is just a list of nodes and edges and how they should be drawn. At its simplest an undirected graph in DOT format is written like: graph { A -- B; B -- C; B -- D; } This is easy to generate with any version of Python. Dan From renesd at gmail.com Tue Jan 25 11:01:49 2011 From: renesd at gmail.com (=?ISO-8859-1?Q?Ren=E9_Dudfield?=) Date: Tue, 25 Jan 2011 10:01:49 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <4D3E9C78.6020406@mauveweb.co.uk> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> <4D3E9C78.6020406@mauveweb.co.uk> Message-ID: Hi, Speaking of pygame dots, and py3k... there's an interactive dot viewer for pygame around (from the pypy project), and pygame works for python 3000. It's in the pypy/dotviewer/ directory, or on bitbucket: https://bitbucket.org/pypy/pypy/src/f532d93c171e/dotviewer/ cya. On Tue, Jan 25, 2011 at 9:48 AM, Daniel Pope wrote: > On 24/01/11 22:29, Alex Willmer wrote: > >> The only program I know for (un)directed graphs is Graphviz and >> associated DOT format. For which there a few hits: >> http://pypi.python.org/pypi?:action=search&term=graphviz >> > > You don't need a library to use graphviz. graphviz has a command-line > interface that renders a DOT file. A DOT file is just a list of nodes and > edges and how they should be drawn. > > At its simplest an undirected graph in DOT format is written like: > > graph { > A -- B; > B -- C; > B -- D; > } > > This is easy to generate with any version of Python. > > Dan > > _______________________________________________ > 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 Tue Jan 25 12:25:50 2011 From: tartley at tartley.com (Jonathan Hartley) Date: Tue, 25 Jan 2011 11:25:50 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: <4D3EB33E.4080505@tartley.com> On 25/01/2011 02:08, Alec Battles wrote: >> Now, maybe the solution is to use Python 2.6 instead. Before starting >> working on my project I knew nothing about Python, which is one of the >> reasons I chose it over, say, Java, and thought that the 3rd version is the >> way to go. Is it not? > afaik, the main difference is the assert statement. i'm sure there are > other differences, but as someone who rarely uses python that > 'deeply', you should be fine if you start off on python 2. > _______________________________________________ > python-uk mailing list > python-uk at python.org > http://mail.python.org/mailman/listinfo/python-uk Personally I think there's *heaps* of new stuff in Python 3.0, 3.1 and 3.2 which really make the language nicer to use. Some of these have been backported to Python 2.7, where it could be done without breaking compatibility, but if you can use version 3, then you really should! Some new features of Python 3.0 that I care about: * Many things that used to return lists now return iterators. e.g. dict.keys(), map, filter, range, zip, etc. These can be used just the same in 95% of your code, and are much more memory efficient, especially when chaining them. * Set literals: {1, 2, 3} creates a set. * Division is now sane: 5/2 returns 2.5, instead of 2. Use operator '//' for the old behaviour. * extended iterable unpacking: stuff like this just works: "a, b, *everything_else = my_list" * packages and modules in the standard library have been moved and renamed to be more consistent and comprehensible. * Ordering comparisons (<, >=, etc) are now sane - comparing different types will now in the general case raise a type error, unless they are specific pairs of types which make sense to compare (e.g. int to float) * Dict comprehensions: Mirroring list comprehensions, create dicts using "{k: v for k, v in stuff}" * no more confusion between int and long - everything is now an int (which behaves much like the old 'long' did) * no more confusion between old- and new-style classes, everything is now a new-style class Jonathan -- Jonathan Hartley Made of meat. http://tartley.com tartley at tartley.com +44 7737 062 225 twitter/skype: tartley From renesd at gmail.com Tue Jan 25 12:30:24 2011 From: renesd at gmail.com (=?ISO-8859-1?Q?Ren=E9_Dudfield?=) Date: Tue, 25 Jan 2011 11:30:24 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <4D3EB33E.4080505@tartley.com> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> <4D3EB33E.4080505@tartley.com> Message-ID: Like on everything Jonathan said... and as moloko said 'the time is now'... for python 3000. Very nice list. cu On Tue, Jan 25, 2011 at 11:25 AM, Jonathan Hartley wrote: > On 25/01/2011 02:08, Alec Battles wrote: > >> Now, maybe the solution is to use Python 2.6 instead. Before starting >>> working on my project I knew nothing about Python, which is one of the >>> reasons I chose it over, say, Java, and thought that the 3rd version is >>> the >>> way to go. Is it not? >>> >> afaik, the main difference is the assert statement. i'm sure there are >> other differences, but as someone who rarely uses python that >> 'deeply', you should be fine if you start off on python 2. >> _______________________________________________ >> python-uk mailing list >> python-uk at python.org >> http://mail.python.org/mailman/listinfo/python-uk >> > Personally I think there's *heaps* of new stuff in Python 3.0, 3.1 and 3.2 > which really make the language nicer to use. Some of these have been > backported to Python 2.7, where it could be done without breaking > compatibility, but if you can use version 3, then you really should! > > Some new features of Python 3.0 that I care about: > * Many things that used to return lists now return iterators. e.g. > dict.keys(), map, filter, range, zip, etc. These can be used just the same > in 95% of your code, and are much more memory efficient, especially when > chaining them. > * Set literals: {1, 2, 3} creates a set. > * Division is now sane: 5/2 returns 2.5, instead of 2. Use operator '//' > for the old behaviour. > * extended iterable unpacking: stuff like this just works: "a, b, > *everything_else = my_list" > * packages and modules in the standard library have been moved and renamed > to be more consistent and comprehensible. > * Ordering comparisons (<, >=, etc) are now sane - comparing different > types will now in the general case raise a type error, unless they are > specific pairs of types which make sense to compare (e.g. int to float) > * Dict comprehensions: Mirroring list comprehensions, create dicts using > "{k: v for k, v in stuff}" > * no more confusion between int and long - everything is now an int (which > behaves much like the old 'long' did) > * no more confusion between old- and new-style classes, everything is now a > new-style class > > Jonathan > > > -- > Jonathan Hartley Made of meat. http://tartley.com > tartley at tartley.com +44 7737 062 225 twitter/skype: tartley > > > _______________________________________________ > 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 ntoll at ntoll.org Wed Jan 26 10:34:04 2011 From: ntoll at ntoll.org (Nicholas Tollervey) Date: Wed, 26 Jan 2011 09:34:04 +0000 Subject: [python-uk] Announcing February's London Python Code Dojo Message-ID: <33E5E0EC-07AC-402F-93D1-3CC1B017AB37@ntoll.org> Folks, The next London Python code dojo will be next Thursday (3rd February) starting at 6:30pm for free pizza and beer. Last month's dojo was sold out within 24 hours so please book early to avoid disappointment. We?re aiming to continue with our quest to build a top-down dungeon / world in PyGame in preparation for Bruce's inter-language dojo sometime this summer. Tim Golden has kindly agreed to present a sort of review/sign-posting session of the code so far. No prior knowledge of PyGame or a coding dojo is required to attend this event ? just an open and enthusiastic attitude! :-) Details here: https://ldnpydojo.eventwax.com/london-python-code-dojo-season-2-episode-6 (The usual place and time etc...) Remember to sign up so we know how much pizza and beer to order (thanks Fry-IT). Also O'Reilly have donated "XMPP: The Definitive Guide" (again) for the prize draw (I've already got a copy - it's a very interesting book with code examples in Python). See you there! Nicholas. From ebelular at gmail.com Wed Jan 26 23:54:34 2011 From: ebelular at gmail.com (Rory McCann) Date: Wed, 26 Jan 2011 22:54:34 +0000 Subject: [python-uk] Library for (undirected) graphs in Python? In-Reply-To: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> References: <9AD9A91F-B790-47E5-8C0D-BE517472DF30@nerdvana.gr> Message-ID: On 24 January 2011 19:27, Sebastian Komianos wrote: > Now, maybe the solution is to use Python 2.6 instead. Before starting > working on my project I knew nothing about Python, which is one of the > reasons I chose it over, say, Java, and thought that the 3rd version is the > way to go. Is it not? I'd suggest just going with Python 2.x. Python underwent some big changes to Python 3. So in future that'll be the main one. But as you found out, some libraries don't work with it. However there are loads of people (like me) still using python 2.x in real life production environments. From brian.curtin at gmail.com Thu Jan 27 21:50:24 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Thu, 27 Jan 2011 14:50:24 -0600 Subject: [python-uk] PSF Sprints - Call For Applications Message-ID: Hello UK Python Users! On behalf of the Python Software Foundation?s sponsored sprint group, I wanted to drop your group a quick note introducing us. If you?re already familiar with our sponsored sprints, you?ll be happy to know we made a few changes to help both sprint groups and Python even more. The PSF recently set aside funding to be distributed to groups who spend time contributing to the Python ecosystem, often in the form of development sprints. Our goal is to help you help Python, so whether it?s buying meals or renting meeting space for your all-day hackathon, we have a budget set aside to reimburse your expenses up to $300 USD (up from $250). If your goal is to make the Python world a better place, and you work on the problems facing Python today, we want to help you. We?re looking for groups of hackers that spend their time fixing and expanding the wide variety of Python interpreters, libraries, tools, and anything else affecting the community.We?re also looking for groups who want to help and get started but don?t have the resources to get together. Whether your group is separated by a train ride or lacking a shared space, we want to help you. On-boarding new contributors to open source Python projects is an especially important area that we?d like to work with.This means if you have a Python project and you want to sprint -- we want to help you.Some sprints we?ve sponsored include the porting of Genshi to Python 3, improvements to packaging (Distribute/distutils), and most recently, the PyPy winter sprint in Switzerland. If your group is interested in hosting a sprint, check out the full details of our call for applications at http://www.pythonsprints.com/cfa/ and contact us at sprints at python.org. Thanks for your time, and happy sprinting! Brian Curtin Jesse Noller http://www.pythonsprints.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tibs at tibsnjoan.co.uk Sun Jan 30 21:40:50 2011 From: tibs at tibsnjoan.co.uk (Tony Ibbs) Date: Sun, 30 Jan 2011 20:40:50 +0000 Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 1st Feb Message-ID: <37FA8FE1-D911-4EDF-ACB7-0A69641E5FFD@tibsnjoan.co.uk> As sent to the CamPUG google group: The next meeting will be a dojo meeting, Tuesday 1st February, 7.30pm at RealVNC (http://tinyurl.com/realvncoffices). Yes, that's in two days time. I'm very sorry for the late notice. Work and stuff. Meetings after that should be: * Tuesday 1st March, a talks meeting * Tuesday 5th April, a dojo meeting again * Tuesday 3rd May, another talks meeting I'd like to try to get back to the old way of asking for talks up front before a talks meeting, so if anyone has ideas for the March meeting, could you please post them any time from now. Thanks. And I'll try to announce in more time next time... Tibs From joe.metcalfe at tiscali.co.uk Mon Jan 31 09:05:45 2011 From: joe.metcalfe at tiscali.co.uk (Joe Metcalfe) Date: Mon, 31 Jan 2011 08:05:45 -0000 Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 1st Feb In-Reply-To: <37FA8FE1-D911-4EDF-ACB7-0A69641E5FFD@tibsnjoan.co.uk> References: <37FA8FE1-D911-4EDF-ACB7-0A69641E5FFD@tibsnjoan.co.uk> Message-ID: <1BFE4E11B2C04E2D8206441EBF9AF20A@Vostro2007> Hi, I'm unable to attend this time (school parents' evening). Joe -----Original Message----- From: python-uk-bounces+joe.metcalfe=tiscali.co.uk at python.org [mailto:python-uk-bounces+joe.metcalfe=tiscali.co.uk at python.org] On Behalf Of Tony Ibbs Sent: 30 January 2011 20:41 To: UK Python Users Subject: [python-uk] Next Cambridge & East Anglia Meeting: Tue 1st Feb As sent to the CamPUG google group: The next meeting will be a dojo meeting, Tuesday 1st February, 7.30pm at RealVNC (http://tinyurl.com/realvncoffices). Yes, that's in two days time. I'm very sorry for the late notice. Work and stuff. Meetings after that should be: * Tuesday 1st March, a talks meeting * Tuesday 5th April, a dojo meeting again * Tuesday 3rd May, another talks meeting I'd like to try to get back to the old way of asking for talks up front before a talks meeting, so if anyone has ideas for the March meeting, could you please post them any time from now. Thanks. And I'll try to announce in more time next time... Tibs _______________________________________________ python-uk mailing list python-uk at python.org http://mail.python.org/mailman/listinfo/python-uk