I'm Ronald Hayden, founder of Software University at Apple and now owner of Conquer Programming. I love teaching Python to new and experienced programmers.
New programmer: "My job is to just get something -- anything -- working!"
Experienced programmer: "My job is to get things working, run it a bunch of times to find problems, then deploy."
Elite programmer: "My job is to get the tests to succeed."
My first ever sprint at #pycon! In my previous job I couldn't do this -- starting with a project that caught my eye: @PyBeeWare (beeware.org).
As my first action, answered a guy's questions about what virtual environments are...
On my quest for the most intuitive charting solution for students (*not* matplotlib!) -- currently settling on @BokehPlots with Patrik Hlobil's
Pandas-Bokeh library to automate DataFrame plotting. Nice!
github.com/PatrikHlobil/Pand…
Stressful day at #pycon2019 — thief stole my jacket wallet w/ID, cash, and credit cards. Had to start figuring out how to fly home without ID, when the wallet was found.
Thief took cash jacket, dumped wallet.
Local & Pycon staff were very helpful.
Learned in a Jupyter tutorial at #pycon2019 today: You can paste code from StackOverflow and such with the interpreter syntax into Jupyter and it will run without modification:
>>> for word in "That's pretty cool".split():
... print(word)
I'm hoping that csv.DictReader will stop using OrderedDict now that it's redundant. Output like this makes it harder to explain dictionaries to students:
OrderedDict([('Employee ID', '2'), ('First Name', 'Aziz'), ('Last Name', 'Agarwal'), ('Attended Orientation', 'No')])
Just arrived in Cleveland to stay for 10 days for #PyCon2019. The conference last year had a big impact on me and helped change my career. Looking forward to this year!
It took me a long time to work up a really good explanation of Unicode, with all the details you needed to understand in Python 2. Revising it for Python 3 and I'm cutting out 80% of the material; you just don't need to know it anymore.
Researching various Excel/Python libraries. After trying OpenPyxl and Pandas, my current favorite is #xlwings for the dynamic connection to spreadsheets and ability to do inline features. This is what my customers are asking for.
I used to joke in my #Python classes: "StackOverflow has shown that programmers who use spaces make more money than those who use tabs. But space users also kick puppies."
Now I've given up because my code editors enforce spaces. I joke no more.
The slogan for my 'helping' library is: "As my girlfriend's cat says when knocking over my drink: I'm HELPING!" Love the new logo done by ericatures.com for the library:
Just published my pathlib_additions library, which adds stuff I can't live without to pathlib.Path:
write_content() -- creates output directory before writing out text.
directories()
files()
copy()
walk()
rmtree()
github.com/ConquerProgrammin…
Just released my new 'helping' library for #Python on Pypi. You can install with 'pip install helping', and can see the project at github.com/ConquerProgrammin….
This provides very readable information about Python objects. I'll be adding more features over time!
Just used @thonnyide to figure out a really subtle bug...I'm now using Thonny in my classes, in my book, and for debugging (I'm usually a "printf() debugger") -- soon I'll write a blog post extolling its benefits...
Practical Business Python (pbpython.com) is a great site (basically what I’m trying to do), and I was pleasantly surprised that @chris1610 mentioned my mydir library in his newsletter!
us18.campaign-archive.com/?u…
Previous #Python help for dict.get() that I made fun of:
D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.
New version:
Return the value for key if key is in the dictionary, else default.
Not perfect, but great to see this being improved!
Check out the latest episode of Talk Python to Me and listen to me talk about python and Excel. I had a great time doing the podcast and hope you all enjoy. bit.ly/2NieNV9