From jon+python-uk at unequivocal.co.uk Sun Apr 10 13:17:29 2016 From: jon+python-uk at unequivocal.co.uk (Jon Ribbens) Date: Sun, 10 Apr 2016 18:17:29 +0100 Subject: [python-uk] Python sandboxing (last week's dojo challenge) Message-ID: <20160410171729.GG17895@unequivocal.co.uk> Further to the success of dojo participants in breaking out of my sandbox experiment due to a stupid bug I'd created, I've both tightened up the sandbox and extended it by adding back in 'with' and 'import' (of white-listed modules). If anyone would like to have another go at breaking out of it, I'd be interested to hear their results: https://github.com/jribbens/unsafe From dw+python-uk at hmmz.org Sun Apr 10 18:19:06 2016 From: dw+python-uk at hmmz.org (David Wilson) Date: Sun, 10 Apr 2016 22:19:06 +0000 Subject: [python-uk] [dw@hmmz.org: Re: Python sandboxing (last week's dojo challenge)] Message-ID: <20160410221906.GA14768@k3> On Sun, Apr 10, 2016 at 06:17:29PM +0100, Jon Ribbens wrote: > Further to the success of dojo participants in breaking out of my > sandbox experiment due to a stupid bug I'd created, I've both > tightened up the sandbox and extended it by adding back in 'with' > and 'import' (of white-listed modules). > > If anyone would like to have another go at breaking out of it, > I'd be interested to hear their results: I guess it goes without saying, but just in case, the core team gave up on any possibility of in-process sandboxing a very long time ago, and all popular implementations are designed with pretty much zero regard for this use case. For an example of a robust sandboxed Python, App Engine disables modules and has a bunch of patches to disable the most obvious seg faults, then applies an OS sandbox on top of that. If you want a real sandbox use an OS supplied facility that's been reviewed to exhaustion like seccomp on Linux, although sadly there are no good wrappers to use Python within seccomp. There is some example code for seccomp here: http://pythonsweetness.tumblr.com/post/65442885019/secure-low-overhead-eval-sandbox-in-80-lines-of but really this wants wrapped up in a neat library to be generally useful. Jon are you up for that? :) David From jon+python-uk at unequivocal.co.uk Sun Apr 10 19:13:07 2016 From: jon+python-uk at unequivocal.co.uk (Jon Ribbens) Date: Mon, 11 Apr 2016 00:13:07 +0100 Subject: [python-uk] [dw@hmmz.org: Re: Python sandboxing (last week's dojo challenge)] In-Reply-To: <20160410221906.GA14768@k3> References: <20160410221906.GA14768@k3> Message-ID: <20160410231307.GK17895@unequivocal.co.uk> On Sun, Apr 10, 2016 at 10:19:06PM +0000, David Wilson wrote: > On Sun, Apr 10, 2016 at 06:17:29PM +0100, Jon Ribbens wrote: > > Further to the success of dojo participants in breaking out of my > > sandbox experiment due to a stupid bug I'd created, I've both > > tightened up the sandbox and extended it by adding back in 'with' > > and 'import' (of white-listed modules). > > > > If anyone would like to have another go at breaking out of it, > > I'd be interested to hear their results: > > I guess it goes without saying, but just in case, the core team gave up > on any possibility of in-process sandboxing a very long time ago, and > all popular implementations are designed with pretty much zero regard > for this use case. I know, I've been discussing this on comp.lang.python and python-dev as well. It's mostly an experiment to see where we can get with static code analysis using the 'ast' module, which as far as I can tell nobody else has tried before. > If you want a real sandbox use an OS supplied facility that's been > reviewed to exhaustion like seccomp on Linux, although sadly there are > no good wrappers to use Python within seccomp. > > There is some example code for seccomp here: > http://pythonsweetness.tumblr.com/post/65442885019/secure-low-overhead-eval-sandbox-in-80-lines-of > but really this wants wrapped up in a neat library to be generally > useful. Jon are you up for that? :) That link has already got some fairly neat code in it, although as they mention it leaks the parent process's memory to the child, which makes it useless in my opinion. It really needs to be using exec(), but that's obviously hard to do in a generic library. From dw+python-uk at hmmz.org Sun Apr 10 19:19:41 2016 From: dw+python-uk at hmmz.org (David Wilson) Date: Sun, 10 Apr 2016 23:19:41 +0000 Subject: [python-uk] [dw@hmmz.org: Re: Python sandboxing (last week's dojo challenge)] In-Reply-To: <20160410231307.GK17895@unequivocal.co.uk> References: <20160410221906.GA14768@k3> <20160410231307.GK17895@unequivocal.co.uk> Message-ID: <20160410231941.GA14793@k3> On Mon, Apr 11, 2016 at 12:13:07AM +0100, Jon Ribbens wrote: > > I guess it goes without saying, but just in case, the core team gave up > > on any possibility of in-process sandboxing a very long time ago, and > > all popular implementations are designed with pretty much zero regard > > for this use case. Just checking, but did you see the work of 'tav'? He's a brit, he might even be on this list. It took the same 'syntactic cleansing' approach that I suppose you are attempting with the ast module, and was discussed at great length on the python-dev list circa 2009-2010ish (IIRC). The problem isn't hiding dangerous names, it is the composition of things you aren't expecting (which is why I mentioned App Engine). A simple example which you probably already know of is the ctypes module, it allows total violation of memory safety. But ctypes is not the only place you find such things, they pop up all over the place. CPython puts a lot of effort into, but nonetheless often fails at things like, negative integers where positive integers are expected (IIRC there are CVEs from 2014 for a core API helper that had a problem with negative integers). Given an API that hands the user a some object that underneath is wrapping a buffer (say, lxml), and given a single method of maybe 10 that in some corner case can be convinced to walk off the end of that buffer and you have a problem. Python is app-level software, it's not designed with Mallory in mind. It's written by some smart folk, but their interests most of the time lie in coping with cluelessly evil developers rather than cluefully evil hackers. > That link has already got some fairly neat code in it, although as > they mention it leaks the parent process's memory to the child, which > makes it useless in my opinion. It really needs to be using exec(), > but that's obviously hard to do in a generic library. The intermediary script is about 5 lines long :) I wrote the article. All the best, David From walker_s at hotmail.co.uk Wed Apr 13 09:44:30 2016 From: walker_s at hotmail.co.uk (SW) Date: Wed, 13 Apr 2016 14:44:30 +0100 Subject: [python-uk] Build Something, Wed 20th Message-ID: For those of you who keep meaning to work on a project and are in/around London next Wednesday (20th), you're welcome to come along to Build Something! http://www.meetup.com/London-Python-Project-Nights/events/226695743/ Thanks, S From alan.wright at digital.cabinet-office.gov.uk Wed Apr 13 12:37:52 2016 From: alan.wright at digital.cabinet-office.gov.uk (Alan Wright) Date: Wed, 13 Apr 2016 17:37:52 +0100 Subject: [python-uk] Python Developer jobs at the Government Digital Service in London Message-ID: Hi We're looking for mid-to-senior Python Developers to work with us at the Government Digital Service, based opposite Holborn Station in London. For more information and to apply, check out our LinkedIn Job Advert Regards Alan Wright Delivery Manager Digital Marketplace Team Government Digital Service -------------- next part -------------- An HTML attachment was scrubbed... URL: From amfarrell at mit.edu Wed Apr 13 13:16:14 2016 From: amfarrell at mit.edu (Andrew Farrell) Date: Wed, 13 Apr 2016 12:16:14 -0500 Subject: [python-uk] Python Developer jobs at the Government Digital Service in London In-Reply-To: References: Message-ID: You can learn a bit more about the work of the Government Digital Service from this talk given at PyConUK in 2014: https://www.youtube.com/watch?v=vq1fD_fBw7U On Wed, Apr 13, 2016 at 11:37 AM, Alan Wright < alan.wright at digital.cabinet-office.gov.uk> wrote: > Hi > > We're looking for mid-to-senior Python Developers to work with us at the > Government Digital Service, based opposite Holborn Station in London. > > For more information and to apply, check out our LinkedIn Job Advert > > > > Regards > > Alan Wright > Delivery Manager > Digital Marketplace Team > Government Digital Service > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjarmul at gmail.com Mon Apr 18 03:51:20 2016 From: kjarmul at gmail.com (Katharine Jarmul) Date: Mon, 18 Apr 2016 07:51:20 +0000 Subject: [python-uk] Data Wrangling with Python Course Message-ID: Hi there, My name is Katharine; I live in Berlin, Germany and write Python (/me waves). I'm writing here because I'm promoting a course on learning Python data wrangling / big data in London next month and was hoping for suggestions on places to promote the class. It's a two day introduction to data analysis with Python covering lots of pandas, some hadoop and spark as well as some scaling and automation. Any tips on getting the word out would be wonderful. (eventbrite link: https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). Also, if any Python events are happening that week (May 23-29) I'd love to hear about them and meet some London pythonistas. :) Thanks in advance for any / all advice! If you'd rather reach out via twitter I'm @kjam. -katharine -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at holdenweb.com Mon Apr 18 04:22:40 2016 From: steve at holdenweb.com (Steve Holden) Date: Mon, 18 Apr 2016 09:22:40 +0100 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: Hi Katherine. I'm a not-terribly-active member of the organising committee for PyData London, and it seems to me your material might be of interest to the membership of that group - see http://www.meetup.com/PyData-London-Meetup. The group is holding its annual conference on 6-8 May - see http://pydata.org/london2016/ - and you may find that is a suitable place to find an audience for your classes. The conference doesn't exist to publicize everything PyData related, however, so you should probably make contact with the organizers to determine how best to achieve your aims without compromising the conference. regards Steve Steve Holden On Mon, Apr 18, 2016 at 8:51 AM, Katharine Jarmul wrote: > Hi there, > > My name is Katharine; I live in Berlin, Germany and write Python (/me > waves). I'm writing here because I'm promoting a course on learning Python > data wrangling / big data in London next month and was hoping for > suggestions on places to promote the class. It's a two day introduction to > data analysis with Python covering lots of pandas, some hadoop and spark as > well as some scaling and automation. Any tips on getting the word out would > be wonderful. (eventbrite link: > https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). > Also, if any Python events are happening that week (May 23-29) I'd love to > hear about them and meet some London pythonistas. :) > > Thanks in advance for any / all advice! If you'd rather reach out via > twitter I'm @kjam. > -katharine > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at tatw.name Mon Apr 18 09:00:10 2016 From: tom at tatw.name (Tom Wright) Date: Mon, 18 Apr 2016 05:00:10 -0800 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: Hey, So there are a couple of python events that you could advertise at. The python coding dojo is quite big, and if you contact ntoll or tom vines you could probably get them to make an announcement for you. The django meet up is also quite big. It might also be worth scouring meetup.com (most groups tend to publicise themselves on this) for relevant groups and contacting their admins to ask you can post to the list. I know there are a couple of groups related to data analysis. http://www.meetup.com/The-London-Python-Group-TLPG/ might be of particular interest, though I've never been. Other potentially interesting people to talk to are Bank of America (they have an office in London!), since they do all their statistical work in python (with a range of their own slightly strange tools). Also perhaps some of the universities: UCL and London Imperial are probably the big ones, and I imagine they have somewhere you can post. If you had issues posting I might be able to dig up some contacts for you: I have a friend who did a PhD at UCL, and we regularly higher people from imperial. You might want to think about your audience as well, for example in my experience the python coding dojo has quite a lot of people new programming, and this can be true of lots of meet up groups in general, so this might affect what material you want to cover. I'd say there are three distinct audiences you should be aware of "programmers that want to learn to maths, statisticians who want to learn to program, and people who want to learn to do both at the same time but aren't necessarily very commited" I should also probably do the mandatory advert for my company ( http://www.gambitresearch.com/about.html), we program in python and do a reasonable amount of statistics, so if you decided you like London so much after giving your talk that you wanted to move here and get a job.... On Sun, Apr 17, 2016 at 11:51 PM, Katharine Jarmul wrote: > Hi there, > > My name is Katharine; I live in Berlin, Germany and write Python (/me > waves). I'm writing here because I'm promoting a course on learning Python > data wrangling / big data in London next month and was hoping for > suggestions on places to promote the class. It's a two day introduction to > data analysis with Python covering lots of pandas, some hadoop and spark as > well as some scaling and automation. Any tips on getting the word out would > be wonderful. (eventbrite link: > https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). > Also, if any Python events are happening that week (May 23-29) I'd love to > hear about them and meet some London pythonistas. :) > > Thanks in advance for any / all advice! If you'd rather reach out via > twitter I'm @kjam. > -katharine > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.a.sarbicki at gmail.com Mon Apr 18 09:33:35 2016 From: nick.a.sarbicki at gmail.com (Nick Sarbicki) Date: Mon, 18 Apr 2016 13:33:35 +0000 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: It might be worth looking at other data and dev groups on meetup as well. There are plenty of non-python focused groups around who might still enjoy the chance to get in on a data driven event. Nick. On Mon, Apr 18, 2016 at 2:01 PM Tom Wright wrote: > Hey, > > So there are a couple of python events that you could advertise at. The > python coding dojo is quite big, and if you contact ntoll or tom vines you > could probably get them to make an announcement for you. The django meet up > is also quite big. > > It might also be worth scouring meetup.com (most groups tend to publicise > themselves on this) for relevant groups and contacting their admins to ask > you can post to the list. I know there are a couple of groups related to > data analysis. http://www.meetup.com/The-London-Python-Group-TLPG/ might > be of particular interest, though I've never been. > > Other potentially interesting people to talk to are Bank of America (they > have an office in London!), since they do all their statistical work in > python (with a range of their own slightly strange tools). Also perhaps > some of the universities: UCL and London Imperial are probably the big > ones, and I imagine they have somewhere you can post. If you had issues > posting I might be able to dig up some contacts for you: I have a friend > who did a PhD at UCL, and we regularly higher people from imperial. > > You might want to think about your audience as well, for example in my > experience the python coding dojo has quite a lot of people new > programming, and this can be true of lots of meet up groups in general, so > this might affect what material you want to cover. I'd say there are three > distinct audiences you should be aware of "programmers that want to learn > to maths, statisticians who want to learn to program, and people who want > to learn to do both at the same time but aren't necessarily very commited" > > I should also probably do the mandatory advert for my company ( > http://www.gambitresearch.com/about.html), we program in python and do a > reasonable amount of statistics, so if you decided you like London so much > after giving your talk that you wanted to move here and get a job.... > > > > > On Sun, Apr 17, 2016 at 11:51 PM, Katharine Jarmul > wrote: > >> Hi there, >> >> My name is Katharine; I live in Berlin, Germany and write Python (/me >> waves). I'm writing here because I'm promoting a course on learning Python >> data wrangling / big data in London next month and was hoping for >> suggestions on places to promote the class. It's a two day introduction to >> data analysis with Python covering lots of pandas, some hadoop and spark as >> well as some scaling and automation. Any tips on getting the word out would >> be wonderful. (eventbrite link: >> https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). >> Also, if any Python events are happening that week (May 23-29) I'd love to >> hear about them and meet some London pythonistas. :) >> >> Thanks in advance for any / all advice! If you'd rather reach out via >> twitter I'm @kjam. >> -katharine >> >> _______________________________________________ >> python-uk mailing list >> python-uk at python.org >> https://mail.python.org/mailman/listinfo/python-uk >> >> > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at reportlab.com Mon Apr 18 09:53:39 2016 From: andy at reportlab.com (Andy Robinson) Date: Mon, 18 Apr 2016 14:53:39 +0100 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: On 18 April 2016 at 14:00, Tom Wright wrote: > Also perhaps some > of the universities: UCL and London Imperial are probably the big ones, and > I imagine they have somewhere you can post. If you had issues posting I > might be able to dig up some contacts for you: I have a friend who did a PhD > at UCL, and we regularly higher people from imperial. I'm in touch with some people at UCL building bridges between their data science department and the outside world. I'll ping my contact there and ask... Andy Robinson Managing Director ReportLab Europe Ltd. Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK Tel +44-20-8405-6420 From s.shall at virginmedia.com Mon Apr 18 10:03:15 2016 From: s.shall at virginmedia.com (Sydney Shall) Date: Mon, 18 Apr 2016 15:03:15 +0100 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: <5714E923.1090309@virginmedia.com> On 18/04/2016 14:53, Andy Robinson wrote: > On 18 April 2016 at 14:00, Tom Wright wrote: >> Also perhaps some >> of the universities: UCL and London Imperial are probably the big ones, and >> I imagine they have somewhere you can post. If you had issues posting I >> might be able to dig up some contacts for you: I have a friend who did a PhD >> at UCL, and we regularly higher people from imperial. > > I'm in touch with some people at UCL building bridges between their > data science department and the outside world. I'll ping my contact > there and ask... > > Andy Robinson > Managing Director > ReportLab Europe Ltd. > Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK > Tel +44-20-8405-6420 > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > King's College London should be included too. But I do not know the appropriate contacts. There is both computer science and several very large bio-informatics groups. -- Sydney From kjarmul at gmail.com Mon Apr 18 10:11:45 2016 From: kjarmul at gmail.com (Katharine Jarmul) Date: Mon, 18 Apr 2016 14:11:45 +0000 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: Thanks a bunch! @tom, yes, I reached out as I found the dojo group and found it to be interesting. Thanks for also the heads up about different learner needs. I have some required pre-homework to try and get an idea of level of interest and skill, so that helps, but it's good to keep an eye out for different needs. And wow, I had no idea BofA used Python... neat! @andy, there's also a student discount, if that helps :) (it's listed on the page) @nick, thanks for the tip! I have had mixed reviews trying to reach out to data groups here in Berlin, but I'll give it a shot and see what the reaction is like. I think there's a lot of interesting overlap there as well, so I'm hopeful :) @sydney, I'll try and look up a posting board there as well. Thanks again for all the help and suggestions everyone, it's really nice to feel such a sunny London welcome from cloudy Berlin ;) -kjam On Mon, Apr 18, 2016 at 3:54 PM Andy Robinson wrote: > On 18 April 2016 at 14:00, Tom Wright wrote: > > Also perhaps some > > of the universities: UCL and London Imperial are probably the big ones, > and > > I imagine they have somewhere you can post. If you had issues posting I > > might be able to dig up some contacts for you: I have a friend who did a > PhD > > at UCL, and we regularly higher people from imperial. > > I'm in touch with some people at UCL building bridges between their > data science department and the outside world. I'll ping my contact > there and ask... > > Andy Robinson > Managing Director > ReportLab Europe Ltd. > Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK > Tel +44-20-8405-6420 > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emilya.atkinson at gmail.com Mon Apr 18 10:24:41 2016 From: emilya.atkinson at gmail.com (Emily Atkinson) Date: Mon, 18 Apr 2016 15:24:41 +0100 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: Hi Katherine, Happy to tweet or promote it through Girls in Tech UK ( a large chunk of our demographic are devs) if it helps, or you can join and post in https://www.facebook.com/groups/girlsintechlondon/ Looks like an interesting event, good luck promoting :) Emily Emily Atkinson +44 7876034171 emilyatkinson.me @emilyatk On 18 April 2016 at 08:51, Katharine Jarmul wrote: > Hi there, > > My name is Katharine; I live in Berlin, Germany and write Python (/me > waves). I'm writing here because I'm promoting a course on learning Python > data wrangling / big data in London next month and was hoping for > suggestions on places to promote the class. It's a two day introduction to > data analysis with Python covering lots of pandas, some hadoop and spark as > well as some scaling and automation. Any tips on getting the word out would > be wonderful. (eventbrite link: > https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). > Also, if any Python events are happening that week (May 23-29) I'd love to > hear about them and meet some London pythonistas. :) > > Thanks in advance for any / all advice! If you'd rather reach out via > twitter I'm @kjam. > -katharine > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjarmul at gmail.com Mon Apr 18 12:38:32 2016 From: kjarmul at gmail.com (Katharine Jarmul) Date: Mon, 18 Apr 2016 16:38:32 +0000 Subject: [python-uk] Data Wrangling with Python Course In-Reply-To: References: Message-ID: Hi Emily, Thanks, that looks like a great group! I've requested to join. See you on Facebook! :) -katharine On Mon, Apr 18, 2016 at 4:25 PM Emily Atkinson wrote: > Hi Katherine, > > Happy to tweet or promote it through > Girls in Tech UK ( a large chunk of our demographic are devs) if it helps, > or you can join and post in > https://www.facebook.com/groups/girlsintechlondon/ > > Looks like an interesting event, good luck promoting :) > > Emily > > Emily Atkinson > +44 7876034171 > emilyatkinson.me > @emilyatk > > On 18 April 2016 at 08:51, Katharine Jarmul wrote: > >> Hi there, >> >> My name is Katharine; I live in Berlin, Germany and write Python (/me >> waves). I'm writing here because I'm promoting a course on learning Python >> data wrangling / big data in London next month and was hoping for >> suggestions on places to promote the class. It's a two day introduction to >> data analysis with Python covering lots of pandas, some hadoop and spark as >> well as some scaling and automation. Any tips on getting the word out would >> be wonderful. (eventbrite link: >> https://www.eventbrite.co.uk/e/data-wrangling-with-python-tickets-24508496573 ). >> Also, if any Python events are happening that week (May 23-29) I'd love to >> hear about them and meet some London pythonistas. :) >> >> Thanks in advance for any / all advice! If you'd rather reach out via >> twitter I'm @kjam. >> -katharine >> >> _______________________________________________ >> python-uk mailing list >> python-uk at python.org >> https://mail.python.org/mailman/listinfo/python-uk >> >> _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at grazebrook.com Mon Apr 25 12:56:07 2016 From: michael at grazebrook.com (Michael Grazebrook) Date: Mon, 25 Apr 2016 17:56:07 +0100 Subject: [python-uk] Python data wrangling - my experience of last year's Southampton course Message-ID: <1461603365635.44340.14978@webmail5> Hi Lasy year, Southampton Uni started a new summer school. It's mostly about using Python to explore, process and visualise data. Since the second summer school is now open for registration, it seems like a good time to share my experience of attending it. It's mainly aimed at PhD students of various disciplines. But anyone can attend. I attended the courses on IPython Notebook (Jupyter) and Pandas. There are about 8 courses running in parallel, so hard choices. Some of the courses are taught by authors of the packages. The Pandas course was challenging. In a PhD level class, trying to learn Pandas, numpy, Scipy and Seaborn in 2 days, mastering every detail was beyond me. I couldn't use it without looking stuff up. But I know what it can do and where to start. It was good enough to put the new knowledge to work for my client when I got back to work. With the IPython course, I left feeling competent. The fee is reasonable - less than a training company but without the mollycoddling and a larger class size (30 ish?). Then again, being able to set up a fresh development environment is a useful thing to know. There was plenty of support if one got stuck (Though set-up is best done before the week begins). For me, there was also quite a bit to learn beyond the syllabus. Discovering about what the students were researching was an an added bonus. That works both ways as several people were interested in my experience of the world of work. It introduced me to some tools I hadn't known about before such as slack and etherpad. Add to that the pleasure of revisiting student life and I had an excellent week. Maybe this would interest you too. Michael Grazebrook -------------- next part -------------- An HTML attachment was scrubbed... URL: From gvimrc at gmail.com Mon Apr 25 14:28:16 2016 From: gvimrc at gmail.com (gvim) Date: Mon, 25 Apr 2016 19:28:16 +0100 Subject: [python-uk] Matplotlib show() doesn't display on OS X Message-ID: <571E61C0.9090601@gmail.com> I ran this simple script taken from a book: #!/usr/bin/env python3 import matplotlib.pyplot as plt squares = [1, 4, 9, 16, 25] plt.plot(squares) plt.show() ... but although the script runs without error it doesn't display anything, doesn't terminate and is unresponsive to either Ctrl+C or Ctrl+D. gvim From ryan.pepper at soton.ac.uk Mon Apr 25 14:55:33 2016 From: ryan.pepper at soton.ac.uk (Pepper R.) Date: Mon, 25 Apr 2016 18:55:33 +0000 Subject: [python-uk] Matplotlib show() doesn't display on OS X In-Reply-To: <571E61C0.9090601@gmail.com> References: <571E61C0.9090601@gmail.com> Message-ID: Are you sure it's not gone behind your other windows? This is what seems to happen by default on OS X with matplotlib. R ________________________________________ From: python-uk [python-uk-bounces+rp20g15=soton.ac.uk at python.org] on behalf of gvim [gvimrc at gmail.com] Sent: 25 April 2016 19:28 To: UK Python Users Subject: [python-uk] Matplotlib show() doesn't display on OS X I ran this simple script taken from a book: #!/usr/bin/env python3 import matplotlib.pyplot as plt squares = [1, 4, 9, 16, 25] plt.plot(squares) plt.show() ... but although the script runs without error it doesn't display anything, doesn't terminate and is unresponsive to either Ctrl+C or Ctrl+D. gvim _______________________________________________ python-uk mailing list python-uk at python.org https://mail.python.org/mailman/listinfo/python-uk From s.r.walker101 at googlemail.com Tue Apr 26 05:38:17 2016 From: s.r.walker101 at googlemail.com (Simon Walker) Date: Tue, 26 Apr 2016 10:38:17 +0100 Subject: [python-uk] Matplotlib show() doesn't display on OS X In-Reply-To: References: <571E61C0.9090601@gmail.com> Message-ID: <89B3EE8F-CD9E-4A3A-9B8B-086DFD4A59C1@googlemail.com> Otherwise, it might be worth playing around with your render backend. In your code, you can add the following snipped *before* any other imports of matplotlib: import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt Other options are: Qt4Agg, MacOSX It's possible it's choosing the "Agg" renderer which is non-interactive. If another backend works (e.g. I use TkAgg myself) then you can add it to the file ~/.matplotlib/matplotlibrc as: backend : TkAgg Simon > On 25 Apr 2016, at 19:55, Pepper R. wrote: > > Are you sure it's not gone behind your other windows? This is what seems to happen by default on OS X with matplotlib. > > R > ________________________________________ > From: python-uk [python-uk-bounces+rp20g15=soton.ac.uk at python.org] on behalf of gvim [gvimrc at gmail.com] > Sent: 25 April 2016 19:28 > To: UK Python Users > Subject: [python-uk] Matplotlib show() doesn't display on OS X > > I ran this simple script taken from a book: > > #!/usr/bin/env python3 > > import matplotlib.pyplot as plt > > squares = [1, 4, 9, 16, 25] > plt.plot(squares) > plt.show() > > > ... but although the script runs without error it doesn't display > anything, doesn't terminate and is unresponsive to either Ctrl+C or Ctrl+D. > > gvim > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Message signed with OpenPGP using GPGMail URL: From akumria at acm.org Wed Apr 27 03:49:53 2016 From: akumria at acm.org (Anand Kumria) Date: Wed, 27 Apr 2016 08:49:53 +0100 Subject: [python-uk] Help solve a few riddles Message-ID: <57206F21.1010105@acm.org> Hi, Do you, or someone you know, what to change the world? We are trying to solve a riddle. How do people get cancer? [1] If you have cancer, which medicine will work best for you? Does it exist yet? When you visit your GPs, they can easily and routinely ask for a blood test. We want to make the same capabilities available but for genetic sequencing. [2] We are Genomics England, www.genomicsengland.co.uk, fully owned and funded by the Government and we are seeking a range of permanent Python developers. We need good junior through to exemplary senior developers. >From the outset you will be working we highly talented Bioinformaticians, to help translate their algorithms into Python -- and for the already existing Python make it robust, even easier to test and help us scale so we can (eventually) handle the kinds of query rates the NHS is going to send. The salary on offer ranges from ?50k - ?90k, depending upon experience; we aren't looking to hire in a hurry. We want to ensure new hires can 'gel' with the team. If you are a recruitment agency, we will consider any CVs sent to us a lovely gift but nothing more. Feel free to reply if you'd like more details and I'll answer as I can. Regards, Anand [1]: Other riddles relate to rare disease and, soon, diabetes [2]: An example of a what that can mean, and a riddle we helped to solve: http://www.genomicsengland.co.uk/first-children-recieve-diagnoses-through-100000-genomes-project/ -- ?Don?t be sad because it?s over. Smile because it happened.? ? Dr. Seuss From owen.campbell at tanti.org.uk Wed Apr 27 04:41:37 2016 From: owen.campbell at tanti.org.uk (Owen Campbell) Date: Wed, 27 Apr 2016 09:41:37 +0100 Subject: [python-uk] Help solve a few riddles In-Reply-To: <57206F21.1010105@acm.org> References: <57206F21.1010105@acm.org> Message-ID: <57207B41.5020709@tanti.org.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I'm a freelancer and I'd love to get involved. The work you're doing looks both fascinating and worthwhile. You can view a copy of my CV at http://www.owencampbell.me.uk/docs/cv_27f5538.pdf Please get in touch if you feel I can be of help. Owen Campbell Anand Kumria wrote: > Hi, > > Do you, or someone you know, what to change the world? > > We are trying to solve a riddle. How do people get cancer? [1] > > If you have cancer, which medicine will work best for you? Does it > exist yet? > > When you visit your GPs, they can easily and routinely ask for a > blood test. We want to make the same capabilities available but for > genetic sequencing. [2] > > We are Genomics England, www.genomicsengland.co.uk, fully owned and > funded by the Government and we are seeking a range of permanent > Python developers. We need good junior through to exemplary senior > developers. > > From the outset you will be working we highly talented > Bioinformaticians, to help translate their algorithms into Python -- > and for the already existing Python make it robust, even easier to > test and help us scale so we can (eventually) handle the kinds of > query rates the NHS is going to send. > > The salary on offer ranges from ?50k - ?90k, depending upon > experience; we aren't looking to hire in a hurry. We want to ensure > new hires can 'gel' with the team. If you are a recruitment agency, > we will consider any CVs sent to us a lovely gift but nothing more. > > Feel free to reply if you'd like more details and I'll answer as I > can. > > Regards, Anand > > [1]: Other riddles relate to rare disease and, soon, diabetes > > [2]: An example of a what that can mean, and a riddle we helped to > solve: > http://www.genomicsengland.co.uk/first-children-recieve-diagnoses-through-100000-genomes-project/ > -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJXIHtBAAoJEHg+MS0QKykIYvcIAIKa7H+Nbpk8TCL1D6DM8nAd 3bbOruNSn2YJs0MNntfqMTBG2X2pDhO6SQy6CX6+APpN3fdnOLMNGkzOXivonF/z u46n7Ice6Lsv3PITjxx/G3t4j6OppLi1X7HofCCc/q7XPr5LHvUAe1rkP4j9aK2t seTiOAUtS4ANWVL+Pvl5V7W9zFtF2LlAFwRjJVvRFedmQj2N2qAZgMG7c5IbfJgP qwiQ/X7HMczG26IH5HHZhdbYxxSjlk/WNSxlMPl6wL3DVao8icQifet80M8EitjK xSzLwv4dVQdRwTndODst6OArVs3iBwKspBmeEQa7nc4CRKQ7iBdPS1AiQnqFjPA= =fXuZ -----END PGP SIGNATURE----- From peter.inglesby at gmail.com Wed Apr 27 05:51:23 2016 From: peter.inglesby at gmail.com (Peter Inglesby) Date: Wed, 27 Apr 2016 10:51:23 +0100 Subject: [python-uk] PyCon UK 2016 Message-ID: Hi everyone, I?m delighted to announce the launch of PyCon UK 2016 ! The conference will run from 15th-19th September at Cardiff City Hall , with a programme of talks, workshops, and other events aimed at the whole Python community. More details are on the conference website , where you can buy a ticket or submit a proposal for a talk or a workshop. We have worked hard to ensure the conference is more affordable than recent years. Tickets start at ?96 for the weekend, and we are offering financial assistance to help people who would struggle to afford a ticket or other expenses. The website?s code is on GitHub . If you find any problems, please submit an issue or a pull request. If you run a local user group, please share this email with your members. We look forward to seeing you in Cardiff in September! ~ Peter, on behalf of the PyCon UK Committee -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntoll at ntoll.org Wed Apr 27 05:53:04 2016 From: ntoll at ntoll.org (Nicholas H.Tollervey) Date: Wed, 27 Apr 2016 10:53:04 +0100 Subject: [python-uk] PyCon UK 2016 In-Reply-To: References: Message-ID: <57208C00.30203@ntoll.org> Yay.... congratulations to all involved! N. On 27/04/16 10:51, Peter Inglesby wrote: > Hi everyone, > > I?m delighted to announce the launch of PyCon UK 2016 > ! > > The conference will run from 15th-19th September at Cardiff City Hall > , with a programme of talks, workshops, > and other events aimed at the whole Python community. > > More details are on the conference website , > where you can buy a ticket or submit > a proposal for a talk or a workshop. > > We have worked hard to ensure the conference is more affordable than > recent years. Tickets start at ?96 for the weekend, and we are offering > financial assistance to help > people who would struggle to afford a ticket or other expenses. > > The website?s code is on GitHub > . If you find any problems, > please submit an issue or a pull request. > > If you run a local user group, please share this email with your members. > > We look forward to seeing you in Cardiff in September! > > ~ Peter, on behalf of the PyCon UK Committee > > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From ghayoun at gmail.com Thu Apr 28 03:10:45 2016 From: ghayoun at gmail.com (Gautier HAYOUN) Date: Thu, 28 Apr 2016 08:10:45 +0100 Subject: [python-uk] May London Python Code Dojo Message-ID: Tickets are now available for the next Dojo happening on the 5th of May 2016, 6:30 PM onwards : https://www.eventbrite.co.uk/e/london-python-code-dojo-season-7-episode-9-tickets-24982708955 This is the same day as the Mayor of London and London Assembly elections so you might want to go vote in the morning if you are a Londoner! All programming abilities welcome, we have diverse attendants ranging from beginners to core Python contributors. This time, we will be hosted by Hired in their office near London Bridge: Hired Metal Box Factory 30 Great Guildford Street London, SE1 0HS See you at the Dojo! Gautier From tibs at tibsnjoan.co.uk Thu Apr 28 17:03:58 2016 From: tibs at tibsnjoan.co.uk (Tibs) Date: Thu, 28 Apr 2016 22:03:58 +0100 Subject: [python-uk] Next CamPUG meeting: Tue 3rd May 2016 Message-ID: The next Cambridge Python User Group meeting will be on Tuesday 3rd May at 7pm, at the Raspberry Pi Foundation offices, 30 Station Road, Cambridge. This evening will be lightning / short talks. Please note that we are also now on meetup.com, at http://www.meetup.com/CamPUG/. If possible, please RSVP there for meetings so we have an idea of numbers. As an incentive, there's more detail about each meeting there. Tweeting may occur at https://twitter.com/campython Tibs From akumria at acm.org Fri Apr 29 04:04:55 2016 From: akumria at acm.org (Anand Kumria) Date: Fri, 29 Apr 2016 09:04:55 +0100 Subject: [python-uk] Help solve a few riddles In-Reply-To: <57206F21.1010105@acm.org> References: <57206F21.1010105@acm.org> Message-ID: <89f63964-fe91-e0bc-0358-67c65e2c2df5@acm.org> Hi all, >From the looks of things, quite a few of you enjoy solving riddles! I believe I have replied to everyone who sent me an email - however this morning Thunderbird upgraded itself. And quite a number of interface changes have occurred. So I may have missed your email. If you haven't received a reply from me, please accept my apologies, and re-send. Thanks, Anand On 27/04/16 08:49, Anand Kumria wrote: > Hi, > > Do you, or someone you know, what to change the world? > > We are trying to solve a riddle. How do people get cancer? [1] > > If you have cancer, which medicine will work best for you? Does it exist > yet? > > When you visit your GPs, they can easily and routinely ask for a blood > test. We want to make the same capabilities available but for genetic > sequencing. [2] > > We are Genomics England, www.genomicsengland.co.uk, fully owned and > funded by the Government and we are seeking a range of permanent Python > developers. We need good junior through to exemplary senior developers. > > From the outset you will be working we highly talented > Bioinformaticians, to help translate their algorithms into Python -- and > for the already existing Python make it robust, even easier to test and > help us scale so we can (eventually) handle the kinds of query rates the > NHS is going to send. > > The salary on offer ranges from ?50k - ?90k, depending upon experience; > we aren't looking to hire in a hurry. We want to ensure new hires can > 'gel' with the team. If you are a recruitment agency, we will consider > any CVs sent to us a lovely gift but nothing more. > > Feel free to reply if you'd like more details and I'll answer as I can. > > Regards, > Anand > > [1]: Other riddles relate to rare disease and, soon, diabetes > > [2]: An example of a what that can mean, and a riddle we helped to solve: > http://www.genomicsengland.co.uk/first-children-recieve-diagnoses-through-100000-genomes-project/ > -- ?Don?t be sad because it?s over. Smile because it happened.? ? Dr. Seuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntoll at ntoll.org Fri Apr 29 04:06:38 2016 From: ntoll at ntoll.org (Nicholas H.Tollervey) Date: Fri, 29 Apr 2016 09:06:38 +0100 Subject: [python-uk] Help solve a few riddles In-Reply-To: <89f63964-fe91-e0bc-0358-67c65e2c2df5@acm.org> References: <57206F21.1010105@acm.org> <89f63964-fe91-e0bc-0358-67c65e2c2df5@acm.org> Message-ID: <5723160E.2060804@ntoll.org> Anand, that's a good problem to have! :-) N. On 29/04/16 09:04, Anand Kumria wrote: > Hi all, > > From the looks of things, quite a few of you enjoy solving riddles! > > I believe I have replied to everyone who sent me an email - however this > morning Thunderbird upgraded itself. And quite a number of interface > changes have occurred. > > So I may have missed your email. > > If you haven't received a reply from me, please accept my apologies, and > re-send. > > Thanks, > > Anand > > > On 27/04/16 08:49, Anand Kumria wrote: >> Hi, >> >> Do you, or someone you know, what to change the world? >> >> We are trying to solve a riddle. How do people get cancer? [1] >> >> If you have cancer, which medicine will work best for you? Does it exist >> yet? >> >> When you visit your GPs, they can easily and routinely ask for a blood >> test. We want to make the same capabilities available but for genetic >> sequencing. [2] >> >> We are Genomics England, www.genomicsengland.co.uk, fully owned and >> funded by the Government and we are seeking a range of permanent Python >> developers. We need good junior through to exemplary senior developers. >> >> From the outset you will be working we highly talented >> Bioinformaticians, to help translate their algorithms into Python -- and >> for the already existing Python make it robust, even easier to test and >> help us scale so we can (eventually) handle the kinds of query rates the >> NHS is going to send. >> >> The salary on offer ranges from ?50k - ?90k, depending upon experience; >> we aren't looking to hire in a hurry. We want to ensure new hires can >> 'gel' with the team. If you are a recruitment agency, we will consider >> any CVs sent to us a lovely gift but nothing more. >> >> Feel free to reply if you'd like more details and I'll answer as I can. >> >> Regards, >> Anand >> >> [1]: Other riddles relate to rare disease and, soon, diabetes >> >> [2]: An example of a what that can mean, and a riddle we helped to solve: >> http://www.genomicsengland.co.uk/first-children-recieve-diagnoses-through-100000-genomes-project/ >> > > -- > ?Don?t be sad because it?s over. Smile because it happened.? ? Dr. Seuss > > > > _______________________________________________ > python-uk mailing list > python-uk at python.org > https://mail.python.org/mailman/listinfo/python-uk > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: