{"id":1307,"date":"2018-02-01T21:40:41","date_gmt":"2018-02-02T02:40:41","guid":{"rendered":"http:\/\/matthannan.net\/blog\/?p=1307"},"modified":"2018-02-01T21:45:24","modified_gmt":"2018-02-02T02:45:24","slug":"python","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/python\/","title":{"rendered":"Python"},"content":{"rendered":"<p>I am very far behind on this and I have many, many blog posts to write, but this is what I did tonight.<\/p>\n<p>I am currently reading &#8220;<a href=\"https:\/\/automatetheboringstuff.com\/\" rel=\"noopener\" target=\"_blank\">Automate the Boring Stuff With Python<\/a>&#8221; (this is basically a required text), taking the Python course on <a href=\"https:\/\/www.codecademy.com\/learn\/learn-python\" rel=\"noopener\" target=\"_blank\">CodeAcademy.com<\/a>, just about caught up with the present day with the &#8220;<a href=\"https:\/\/talkpython.fm\/episodes\/all\" rel=\"noopener\" target=\"_blank\">Talk Python To Me<\/a>&#8221; podcast (I am listening to 140 and the current episode is 148), and I just started taking another online series of courses, Python for Data Science, at <a href=\"https:\/\/www.datacamp.com\/courses\/intro-to-python-for-data-science\" rel=\"noopener\" target=\"_blank\">CodeCamp.com<\/a>. The last one is a quick run-through of Python basics, then dives into the Data Science end of the pool, which I am lacking. Most of this I do at work, because, well, things at work are scarily slow. I have to do something or I am going to freak out. <\/p>\n<p>I sit next to a large group of developers. Other than SQL, I am not 100% sure what they develop in. Java, probably. But, they are facing a new project and Python is at the heart of this beast. I heard the original phone call that their boss was on when he was handed the project and told that it needs to be done in Python. He stammered and said he had played with it before, but was not expert. Python has come a long way since 2012 and I am sure he hasn&#8217;t looked at it since well before that. <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2018\/02\/growthmajorlanguages-1-1024x878.png?resize=640%2C549&#038;ssl=1\" width=\"640\" height=\"549\" alt=\"Explosive growth of Python\" class=\"aligncenter size-medium\" \/>No one on the team (about 20 people) seem to know a damn thing about it. I heard them discussing all manner of things Python today, trying to figure out how to get their feet under them. There I sat, happily coding away, with a freaking book on the subject on my desk. It gave me a smile.<\/p>\n<p>Tonight I came home to a sick kid. Possibly flu. We will see. So, off to my office I went. What did I do? Wrote a Python <a href=\"https:\/\/github.com\/matthannan1\/Utils\/blob\/master\/move_photos.py\" rel=\"noopener\" target=\"_blank\">script<\/a> that I have been meaning to do for a while now. It moves photos and videos from my Dropbox Camera Upload folder to a .\\\\Photos\\\\year\\\\two-digit_month folder. It moves Jenny&#8217;s, too. Nice and easy, but it exposed me to three areas of the standard library that I do not normally dabble in, so it was good. It could use a little more work to polish it up a bit, but it is perfectly functional and fast. I&#8217;d work on it more, but I think I am going to read about the <a href=\"https:\/\/www.amazon.com\/Cold-Welcome-Europes-Encounter-America\/dp\/0674971922\" rel=\"noopener\" target=\"_blank\">Little Ice Age and early European colonization of the New World<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am very far behind on this and I have many, many blog posts to write, but this is what I did tonight. I am currently reading &#8220;Automate the Boring Stuff With Python&#8221; (this is basically a required text), taking &hellip; <a href=\"https:\/\/matthannan.net\/blog\/python\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1310,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[98,313],"class_list":["post-1307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-geek","tag-jenny","tag-python"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2018\/02\/growthmajorlanguages-1-1024x878.png?fit=770%2C660&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/s2NxlE-python","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1158,"url":"https:\/\/matthannan.net\/blog\/mongodb-and-python-in-data-visualization\/","url_meta":{"origin":1307,"position":0},"title":"MongoDB and Python in Data Visualization","author":"matthannan","date":"24 August 2017","format":false,"excerpt":"This is an interesting web site discussing the use of Python and MongoDB in data visualization. I am getting very comfortable with Python and I have just started playing with MongoDB, so looking at examples of how I can start to generate data visualizations out of these tools is my\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1430,"url":"https:\/\/matthannan.net\/blog\/installing-python-3-6-2-on-raspberry-pi-raspbian\/","url_meta":{"origin":1307,"position":1},"title":"Installing Python 3.6.2 on raspberry pi (raspbian)","author":"matthannan","date":"11 August 2018","format":false,"excerpt":"I want to update to the latest version of Python 3.6.6 on my Raspberry Pi 3B. I do not want my first go with 3.7 to be on a Pi! This Pi will be used in the basement as part of an OpenCV project. Replace 3.6.2 with 3.6.6 and you\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1049,"url":"https:\/\/matthannan.net\/blog\/how-to-run-python-scripts-cpanel-questions\/","url_meta":{"origin":1307,"position":2},"title":"How to run Python scripts (cPanel questions)","author":"matthannan","date":"13 April 2017","format":false,"excerpt":"Source: How to run Python scripts (cPanel questions)","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1576,"url":"https:\/\/matthannan.net\/blog\/from-the-real-world-to-the-web\/","url_meta":{"origin":1307,"position":3},"title":"From the Real World to the Web","author":"matthannan","date":"9 April 2019","format":false,"excerpt":"Part of my quest for world domination, er, getting my Raspberry Pi to tell me about things in my basement without my having to actually go down there is just about complete. I bought a temperature and humidity sensor from Adafruit and finally got around to wiring it up and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1169,"url":"https:\/\/matthannan.net\/blog\/arduino-uno-fun-and-continuous-learning\/","url_meta":{"origin":1307,"position":4},"title":"Arduino Uno Fun and Continuous Learning","author":"matthannan","date":"23 September 2017","format":false,"excerpt":"So, a million years ago, I bought an Arduino Uno Starter Kit from MakerShed. When it arrived, I tried a tutorial and had fun with the first LED lesson, but the second lesson, which I remember was more focused on programming, left me in the dust. I boxed up the\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2017\/09\/IMG_1056_preview_featured.jpg?fit=628%2C472&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2017\/09\/IMG_1056_preview_featured.jpg?fit=628%2C472&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2017\/09\/IMG_1056_preview_featured.jpg?fit=628%2C472&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1069,"url":"https:\/\/matthannan.net\/blog\/zork-2017\/","url_meta":{"origin":1307,"position":5},"title":"Zork 2017","author":"matthannan","date":"23 April 2017","format":false,"excerpt":"I am working my way through Zed Shaw's \"Learn Python the Hard Way\", which is both a book with a DVD containing videos of each of the lessons and a web site that does not have the videos. So far, I am really enjoying it. I'm on lesson 36 and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"Calin's game map","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2017\/04\/CalinDesignsGameForDaddy-237x300.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=1307"}],"version-history":[{"count":5,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1307\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1307\/revisions\/1313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media\/1310"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=1307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=1307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=1307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}