On 16 November 2011 22:45, Jon Spriggs <[email protected]> wrote: > Hi all, > > I've been experimenting with Quickly - the Python+GTK rapid > development tool created by Canonical and I've hit a bit of a speed > bump right out of the gate! > > I posted a question on StackOverflow (as it's a Python question, as > well as being for Quickly) and I wonder if anyone can either let me > know if they've got a solution to this, or better yet, answer the > question on SO, so I can give you the points for answering :) > > http://stackoverflow.com/q/8159635/5738 > > I know it's probably a really basic question, but I'm really just > starting to get my feet with Quickly (I've been doing mostly PHP > programming for the past 6 or so years). > > Try setting shell=False in the subprocess call. However, a more pythonic way of doing it would be to use the socket library, as here: http://coderstalk.blogspot.com/2010/02/create-network-interfaces-list-using.html
s/ -- Twitter: @sfgreenwood "post-apocalyptic allen keys"
-- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
