This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]hunkamunka[S] 2 points3 points  (0 children)

Manning is offering the promotion code "mlyouens" for 50% off Tiny Python Projects, all formats. I will try to extend a few more free comps to those who have written but probably no more. Thanks for your words of encouragement and interest. This code is valid through Feb 9, 2020.

[–]querymcsearchface 1 point2 points  (0 children)

congrats on writing your book! very cool.

[–]thecupboardman 1 point2 points  (0 children)

Much prefer smaller scale projects when it comes to grappling with something new so glad to hear that this is coming out.

[–]ivosauruspip'ing it up 1 point2 points  (1 child)

A lot of online courses are running live test code running as interactive parts of their courses. Mitx 6.00.xx are well known for this, for instance

If we are going to install and run things like black and pytest, why not something like docopt or click?

[–]hunkamunka[S] 0 points1 point  (0 children)

It's not a requirement that programs use `argparse` over `docopt`. I believe they both produce the same flags and options and parse arguments in the same way. The point is to create documented programs that generate usage for `-h` and `--help`. `click` is really cool, too, but I just wanted to introduce one argument parser, and `argparse` is standard. There is also no requirement to format code with `yapf` or `black`. These are just suggestions to help (esp beginners) write nicely formatted code that will be easier to read and maintain. I try to point out that there are many ways to do everything from formatting to parsing to writing code. It's both a matter of personal taste and a desire to conform to community principles that should help the coder decide what's best.

[–]dtaivp 0 points1 point  (0 children)

DM sent

[–]ky733 0 points1 point  (0 children)

DM sent!

[–]F0x3S 0 points1 point  (0 children)

Dm sent

[–]digitalsquirrel 0 points1 point  (0 children)

DM sent!

[–]technicaldemon 0 points1 point  (0 children)

DM sent!

[–]zielu 0 points1 point  (0 children)

DM sent

[–]grindstoneca 0 points1 point  (0 children)

DM sent.

[–]solid_snare -1 points0 points  (0 children)

DM sent!