=== pavlushka is now known as Guest78383 === Guest78383 is now known as pavlushka [07:00] morning all, any python nerds awake? === urbanslug is now known as zipper [07:25] thatgraemeguy: whats up [07:29] just want to hear what folks use for parsing command-line options usually [07:31] bash commands? thatgraemeguy [07:32] this should be it: http://docs.python.org/library/subprocess.html [07:58] no, I mean if I want to pass options to a script that I'm writing [07:58] like for a bash script I'd use the getopts builtin [07:58] not to worry [08:07] thatgraemeguy: argparse [08:08] thatgraemeguy: https://docs.python.org/2/howto/argparse.html [08:08] thanks fly :) [08:09] how is all the arrangements going your side? [08:11] thatgraemeguy: getting there. sent off my application for police clearance yesterday [08:11] waiting for the consulate to tell me I can apply for my visa [08:12] eish, so much red tape :-o [08:12] is the Mrs still a US citizen? [08:32] thatgraemeguy: yep, and so are the kids. [08:32] thatgraemeguy: to be honest, there's more red tape to settle in SA if you're married to a citizen, than in the US if you're married to a citizen [08:33] thatgraemeguy: I haven't even been living in the US yet and I am already elligible for permanent residence. in ZA you have to live here for at least 5 years on another sort of permit before you're allowed to apply for permanent residence [08:37] nice [09:53] thanks superfly, argparse is amazing [09:53] thatgraemeguy: you're welcome :-) [09:53] (compared with getopt in bash) :-o [09:53] there are times when I wish it were a little better, but for the most part it's a charm [09:53] don't need to write a whole lot of code to handle missing args and printing help, so cool [09:55] yup, it takes a lot of the boilerplate out [10:23] guys I did a sudo rm -rf / and now nothing works anymore [10:26] jerit: that's impossible, you have to use an extra flag to get that right [10:26] :P [10:27] sorry to rain on your party :-P [10:28] eh I just thought it was funny [17:02] alo?! [17:09] it's a me... [17:11] (╯°□°)╯︵ ┻━┻ [17:11] (╯︵╰,) [17:18] Hey nlsthzn [17:18] Lol [17:19] (òÓ,)_\,,/ [17:19] : [17:19] :p [17:20] How you doing? [17:20] Bored clearly :p [17:27] fine thanks paddatrapper , how about you? [17:27] and yes... I do seem to have more time on my hands than I know what to do with [18:01] I see many (-(-_(-_-)_-)-) ... [18:03] nlsthzn: this week has been insane... But I'm good thanks [18:04] good to hear, hope it quiets down now for the downhill run to weekend [18:06] any Pythonistas lurking here? [18:07] print "Hello World" [18:08] can't help with more than that, sorry [18:09] cheers all, have fun ^_^ [18:15] kulelu88: I know some [18:16] paddatrapper: you familiar with REST APIs and asyncio? [18:16] kulelu88: no... Sorry [18:16] ok :) [21:05] superfly: does it make sense to use a synchronous framework as a wrapper(for a REST API) on top of an async library? [21:06] kulelu88: I honestly don't know. and I can't help right now, my sleeping tablet has just kicked in [21:07] sure thing. rest easy superfly