[ubuntu-uk] "Quickly" (Python+GTK) question

Simon Greenwood sfgreenwood at gmail.com
Wed Nov 16 22:55:37 UTC 2011


On 16 November 2011 22:45, Jon Spriggs <jon at sprig.gs> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20111116/5f5ee83c/attachment.html>


More information about the ubuntu-uk mailing list