mac

1d
awarded Nice Answer
Jan
15
awarded Enlightened
Jan
15
comment Convert ASCII armored output to binary data
@ankostis - Correct, updated answer (originally from 5 years ago!). :)
Jan
15
revised Convert ASCII armored output to binary data
Update content 2011 → 2016
Jan
5
awarded Good Answer
Dec
11
comment Python @property versus getters and setters
@superbatfish - Python is a strongly idiomatic language: what you are referring to as groupthink is indeed just convention (and therefore the "pythonic way"). Sorry if my answer hurts your feelings, that was not the meaning. Cheer up! :)
Dec
1
awarded Famous Question
Nov
24
comment How to test or mock "if __name__ == '__main__'" contents
@MichaelLeonard - I am not sure I understand your question correctly. main is - by convention - the function that should run when invoking the module as a script, so it is the conventional place where parsing code should go. If you have a single function you want to expose from within the module, that should not be called main but something else, and the main function should in turn invoke it passing the parsed arguments. Or am I misunderstanding your question entirely?
Nov
21
awarded Constituent
Nov
19
asked How to save fuzzy search index between sessions?
Nov
10
awarded Famous Question
Nov
10
awarded Caucus
Nov
8
awarded Yearling
Nov
8
awarded Yearling
Sep
29
awarded Nice Question
Sep
28
awarded Popular Question
Sep
1
awarded Caucus
Aug
25
awarded Popular Question
Aug
13
awarded Autobiographer
Aug
13
awarded Supporter
1 2 3 4 5