{"id":770,"slug":"python-teaser","title":"Python Teaser","excerpt":"After a deal of success with the command line interface-to-Arduino project, I am in the middle of stepping it up a notch. I ended up on a few blogs due to that …","content":"\u003cp\u003eAfter a deal of success with the command line interface-to-Arduino project, I am in the middle of stepping it up a notch. I ended up on a few blogs due to that last effort, which indicates that I am doing something worthy of note. Hats off to me, perhaps. Well, my tool belt is what it is\u0026hellip;if I can\u0026rsquo;t do it via shell scripting, I reach next for Python. In an attempt to parse stuff that I have been \u0026lsquo;getting\u0026rsquo; via wget, I found myself trying to do some clunky regex from the command line. Guess what\u0026hellip;I can do that without as much heartache via Python via BeautifulSoup\u0026hellip; \u003cimg src=\"/uploads/2011/05/beautysoup.jpg\" alt=\"beautiful soup\" title=\"beautysoup\"\n  loading=\"lazy\"\n  decoding=\"async\"\n/\u003e\n Thus far, I have python doing the website getting and Beautiful Soup doing the parsing of my site\u0026hellip;basically just grabbing some info at this point that I can modify. I have my LCD driven via my trusty Arduino, and that is that. Instead of redirecting standard out to serial, I am writing to serial via python. Easy breezy. I have some sloppy sloppy code at this point, and need to add some hardware and stuffs to my prototype. Stay tuned\u0026hellip;this could be a good one.\u003c/p\u003e\n","date":"2011-05-30T19:41:08Z","permalink":"https://swantron.com/2011/05/30/python-teaser/","link":"https://swantron.com/2011/05/30/python-teaser/","path":"/2011/05/30/python-teaser/","featuredImage":"/uploads/2011/05/beautysoup.jpg","categories":[],"tags":[]}