We’ve updated our Terms of Use to reflect our new entity name and address. You can review the changes here.
We’ve updated our Terms of Use. You can review the changes here.

Automating boring stuff with python 0 2019

by Main page

about

Automate the Boring Stuff with Python Programming Udemy Free Download Torrent

Link: => setnaperfuns.nnmcloud.ru/d?s=YToyOntzOjc6InJlZmVyZXIiO3M6MzY6Imh0dHA6Ly9iYW5kY2FtcC5jb21fZG93bmxvYWRfcG9zdGVyLyI7czozOiJrZXkiO3M6MzU6IkF1dG9tYXRpbmcgYm9yaW5nIHN0dWZmIHdpdGggcHl0aG9uIjt9


Python is a fantastic language for beginning programmers and Sweigart does a great job of explaining it. And, as Talk Python listeners, it get's way sweeter! Finding real use cases with my early skills was hugely motivating. Learning to code can turn users into power users.

And it turned out the most important thing was simply persistence. The goal of this book is to teach non-programmers how to use Python to automate tasks, and it succeeds in that. I don't know if you had learned the. So I think it just needs to get that initial inertia going.

Automate the boring stuff with python

You know, some of the things we do in life are tedious and boring. They are the kind of things that machines or maybe robots could do. So let's build those machines. This is Talk Python To Me and we'll be automating the boring stuff with Al Sweigart. This is your host, Michael Kennedy, follow me on Twitter where I am at mkennedy and keep up with the show and listen to past episodes at talkpythontome. Also, follow the show on Twitter where it is at talkpython. Now, before we get to the show I do have to apologize for my audio on this one, the gain on my mic got bomped and unfortunately I didn't notice until after the interview. Luckily, Al's audio is grat, and I let him do most the talking, so it's not too bad, but the quality is definitely below the bar I tried to set for the for the show, so I am sorry about that. Al Sweigart is a software developer and technical book author living in San Francisco. Python is his favorite programming language, and he is the developer of several open source modules for it. His other books are freely available under the creative common's license on his website Invent with Python- inventwithpython. His cat weighs 14 pounds. You've got a big cat man. In chapter 17 which deals with image manipulation I use a photo of her and she looks especially rotund, in that photo, but I have her on a diet now so she is down to 13 pounds. It came out this past April, I've been working on it for about a year and a half beforehand, and in fact of March 2014 I left my software developer job to start writing full time. The whole learn a code thing is hot, it probably had a place in your life where you were able to take that time and focus and so on, right. But before we get there, how did you get into programming in Python, what's your story. So I always follow that up with all the programming knowledge that I gained between the third grade when I started and probably freshman year of university- you could probably learn that in every weekend for a automating boring stuff with python weeks. So, it didn't really give me that much of a boost, but it was definitely something I'd been interested in for a while. So I had started with Basic and I found this one book that was really great at teaching me how to program. But this one book I found, it was great, it just gave me the source code for all these small little games, and just from that I was able to copy that code and then make tiny adjustments to it. So a few years ago, a friend of mine was the nanny for this precocious ten year old who wanted to learn how to program, so I tried to find some tutorial on programming like that, but I really couldn't find anything. So I just started writing up a short Python tutorial and that just eventually ballooned into book length, which I just self published. And people seem to really like it, so I wrote a second one, and then a third one. What was the name of the original book. By the time it had blown up a little bit, I already was kind of stuck with that name but it's worked out pretty well. I think it's really inspiring to help young people to kind of get started. And I essentially copied the style of that book, of just having the complete source code to small programs instead of only talking about programming concepts abstractly and then leaving it up to the reader to put all those concepts together to actually make something fun. And I think the kind of stuff that you're proposing gets- you know, shortens that gap automating boring stuff with python so it's- fewer people are likely to drop out I guess. Just because you don't really have to have that much code to make something a lot of automating boring stuff with python in Python is actually great about this. Here is how you import the header file and here is how you link the static library, and like- what then. And it's also appropriate for Instagram. And it's appropriate for Disqus, and it like to use huge scale professional things. So the fact that it's a spectrum that you don't like ok I'm going to learn Scratch until I want to put on my big boy pants and then I've got to go learn Java right, it's this continuum that it's wonderful I think. It basically comes down to the realization that code is read way more than it's written. So, let's talk a little bit about your book and some of the topics that kind of surround it. So, one of the things that you said is people feel like that programming is something like intimidating rocket surgery and it's scary. But probably it shouldn't be. What do you think about that. Not just that day, but every day going forward. So this story is at the very beginning of the book, it's one of the things that I remembered when I started writing this. This was I think my sophomore year college roommate, he was telling me about how he was working at this one retail outfit and every once in a while, they would get a huge spreadsheet of product prices of their competitors. I didn't ask how they got the spreadsheet, but they would have to go through and type in each product's que into their database to find their price and then they would have to compare the prices and they just mark it out on these massive printouts that they've made of hundreds of pages, automating boring stuff with python it would be 2 or 3 of them just doing this for two days straight and going through and then just checking to see which prices they should lower. So you know, after a few hours of just writing automating boring stuff with python code and he ran it and it only took a few seconds to run, and basically it just sort of saved everybody multiple people a couple of days of work. And that would be ideal for what you are proposing, right. So it was really helpful to sort of nine months into writing this, and I have no idea if the world needs yet another programming book or something like that. But they would just need a 20 lines script to do something and they don't even know what it has to do until it is suddenly there, faced with this task. So just if they had those programming skills themselves, they could work it out themselves. And once you are going to spending that large amount of money you sort of want a large application, when even that's not necessarily what you really need. So you really stuck through to your original vision for the book in terms of how you chose topics and how you presented them, and how you taught Python. Hired is a two-sided, curated marketplace that connects the world's knowledge workers to the best opportunities. Each offer you receive has salary and equity presented right up front and you can view the offers to accept or reject them before you even talk to the company. Typicaly candidates receive 5 or more offers in just the first week and there are no obligations ever. Well did I mention the signing bonus. And, as Talk Python listeners, it get's way sweeter. Opportunity is knocking, visit hired. I skip list comprehensions and a whole bunch of other Python nifty little features, just because you really don't even need that. By the time you understand why this is a problem you know how to fix it, you are going to be doing something different anyway, right, you may never reach that point, so why impose all this structure. I mean that's kind of why Python and starting with Python is cool, is you can start easy but scale up like, I am saying to these high end large scale web apps, right, so you should be maybe take that same approach from how do you write code perspective as well. And I was just always sort of suspicious whenever I started learning a new language or something like that, you know, I would go to a library or bookstore and try to find whatever books and I would notice like well there is 600, 700 page books on C++, do I actually need to know all of this right from the start in order to start writing code in this. So I really wanted something that just kept to the basic minimum. So one thing I thought was cool about your book is you are using Python 3- 19:07 Yes. Yeah, I made the switch to Python 3, I think about 4 or 5 years ago. Wow yeah, Python 3 has been out that long. So I've been working a lot with Python 3. At my last sort of day job we were still using 2. So, I'm very specific and in particular about telling people automating boring stuff with python you are going to start a new project, or you just learned how to code, go with Python 3. So, it depends whether you are new, whether the project is new, there is a lot of variables there. Kenneth Reitz was talking about interesting data point the Django guys they traditionally had their documentation in Python 2 and they switched it to Python 3, just by switching the documentation's default view to Python 3, it like increased the usage or something like by 4 % of Python 3, it was like wow. Maybe it was only for Django, or it was for- I think it was for Python more general I would have to look at the graphs again, but it was pretty crazy. So I think automating boring stuff with python just needs to automating boring stuff with python that initial inertia going. So one thing you do in the book that I thought was really interesting and I think most programming books would absolutely skip but makes such perfect sense for the audience and experience level that you are targeting, is you actually teach people how to use Google and StackOverflow to get programming answers. So making people more self sufficient in finding answers for themselves I thought was something I wanted to have right at the start of the book. And, as programmers we know, that you can put insane stuff and search for it but when you are learning, you don't necessarily know you can just put like an error code or other bizarre stuff in the Google and get insanely detailed answers. I'm not an Outlook person, I don't really know but he came up and said you know, error ox. It's just we take it for granted but I think it's cool that you show people how to do that. And then just follow all of the steps. There was some study done that said you know what is the most important personality trait for successful startup founders, and basically for people creating tech companies in particular. And it turned out the most important thing was simply persistence. Not being super smart- 26:18 Right, just having that tenacity- 26:20 Yeah, and this is probably- I'm just going to keep searching keep digging until I get there, and that's cool. Another thing that you have in a lot of the sections is you've got like practice questions and you've got even challenges, so that's really nice to have some hands on component. I remember when I read programming books I would kind of you know answer a few of them maybe or sometimes just skip them. And also I wanted to sort of keep focus on having the source code do actual programs, and not just have this be a laundry list of programming concepts that I just- all of these are loops, these are variables, these automating boring stuff with python functions and have it as just that, I wanted to have actual complete programs as well that people could see- 27:45 Yeah, that's great. Do you have your finished examples and programs on something like GitHub. So we talked a little bit about why you chose Python over other languages. But there is certainly, it seems like there might be some tradeoffs like suppose you wanted to do that work with excel, I know if maybe you chose something like. Net you could use like the com integration on Windows to directly integrate with excel, and stuff like that, you know, what was your thought process of choosing Python over the other various things. Codeship has launched organizations, create teams, set permissions for specific team members and improve collaboration in your continuous delivery workflow. Maintains centralized control over your organization's projects and teams with Codeship's new organizations plan. And, as Talk Python listeners you can save 20% off any premium plan for the next 3 months. Check them out at codeship. So there is a chapter on web scraping, using Selenium and Beautiful Soup, and Request and then also another chapter on using Openpyxl to work with excel spreadsheets, and things like that. And so, a lot of the initial work of writing out this book was just going through and mapping out ok where are the problems that have to be solved, what modules are available out there and Python is pretty well supported in that regard. You've got this book, you've two other books, you also said you've done a couple of open source projects, packages for Python. Do you want to speak about that a little. What became the most popular of them so far, is the one that I actually wrote for the book. Before I had started writing this automate book, my second book was on Pygame, and so I had written a few modules for that one which was Pygcurse, which is sort of a curses emulator except built on top of Pygame. Just because, again, you know, Python has curses, but then for Windows there is a separate console module that you would have to install so there is no unified thing that just works on all operating systems and then also there is Pyganim which is a sprayed animation module that I made for Pygame. I mean PyGame is great because it would make it really easy to just display an image in a window somewhere, but if you wanted to have you know, little like animation of like a running character or something like that, it would have to program all that logic in yourself, because Pygame was fairly bare bones. And I looked around and I saw that nobody else had made something like this in particular for Pygame, so I just started that as like a week-long project. And I've written a few other modules but you know, they are all just really tiny and just have like a hundred downloads a month on PyPi. But yeah, it's just a lot of really simple things. Al I think this might be a good place to wrap it up. And so Selenium basically launches Firefox or different browser and lets you programmatically control it, so you could just automate doing web scraping or filling out forms or anything like that, and I'd heard of Selenium and other things before but I always thought like, it must be this really complicated thing that you have to spend an entire weekend reading up on, I did realize it was about four or five different functions that you have to learn and then you can pretty much you are set after that. So, Selenium is definitely one of my- I'm completely amazed at how much you automating boring stuff with python do with it even with very little knowledge and very little time learning about it. It seems like you almost do like basic load testing, integration testing, other types of sort of web automation with it, right. Make automating boring stuff with python those client sides apps actually show what they are supposed to show right. Ok, next one, what kind of editor are you using these days. I've never actually gotten around to learning Vim or Emacs to any great extent where I can sit down and use them but I think I like using the mouse too much. Ok, cool, I like Sublime as well, it's really nice 37:51 Yeah, and in the book I just say go ahead and use Idle because it's just comes with Python, if you are on Windows and so you don't have to automating boring stuff with python any setup of configuration which is really nice. Ok, so what do you want to do a final shout out to, let everybody know about. It's released under the Creative Common's license, so you can actually read it online, at autometetheboringstuff. But also I'd like to just encourage people to go ahead and make it out to PyCon it's a really great conference, you don't have to be a heavy technical person to get a lot of benefit out of and the people and the community are really wonderful. I would like to second that as well and this year it's in Portland Oregon which is my hometown so that's pretty awesome. And I'm trying to get together a some kind of session that's like a panel discussion live podcast presentation, so maybe I'll build the pool it off, that'll be fun. And then I also want to encourage people go check out your book and maybe even buy it right, you've done some really cool stuff in, it is available sort of separate pages as html and you can check it out but you know, it's not that much and support the work. All right Al, thanks for being on the show, it's been fun. Today's guest was Al Sweigart, and this episode has been sponsored by Hired and Codeship. Thank you guys for supporting the show. Codeship wants you to always keep shipping- check them out at Codeship. You can find the links from the show at talkpythontome. Be sure to subscribe to the show. Open your favorite podcatcher and search for Python. We should be right at the top. Our theme music is Developers Developers Developers by Cory Smith, who goes by Smixx. You can hear the entire song on our website. This is your host, Michael Kennedy. Smixx, automating boring stuff with python us out of here.

Become a master of Python programming after studying these projects you will not, but you will be very comfortable with perusing the very excellent online Python documentation and, more importantly, know what it is you are looking for. But what if you could have your computer do them for you? With Python, lack of ex. Each chapter begins with a motivational explanation of a new concept e. Wow yeah, Python 3 has been out that long. In chapter 17 which deals with image manipulation I use a photo of her and she looks especially rotund, in that photo, but I have her on a diet now so she is down to 13 pounds. By the time it had blown up a little bit, I already was kind of stuck with that name but it's worked out pretty well. That said, this was the book I found on the net. Humor is great to keep readers engaged and help prevent them from stressing out about stuff that can be intimidating, but there are a few times here where I felt the quality of explanation suffered a little to squeeze in a joke or geek-culture reference. I think we don't need to use any fancy stuff here.

credits

released January 31, 2019

tags

If you like Automating boring stuff with python 0 2019, you may also like: