asweigart / automatetheboringstuffwithpythondotcom Goto Github PK
View Code? Open in Web Editor NEWSource for the AutomateTheBoringStuff.com website.
Source for the AutomateTheBoringStuff.com website.
Hi Al, I'm really enjoying the tutorials in "Automate the Boring Stuff" but can't seem to get mouseNow.py to work on Mac OS X 10.14. I've double-checked the code and that the correct modules were imported, but it keeps repeating the mouse position rather than only providing the current position. Do you know how I could fix this?
Hi Al,
I want to start by saying I started learning to program almost exactly one year ago with this book. Learning to program has been a fantastic, super enjoyable, and fulfilling hobby for me in the past year, and I am so grateful to you for the way you have packaged so much knowledge into such an easily digestible format in your books. I truly will be forever thankful for the significant part your book played in getting me started on this journey.
This is also my first open source contribution; so hopefully it's helpful to you!!
At some point, I noticed the fonts went missing on this website. The fonts are not in this repository, and they don't get pulled into the static site from anywhere by generateSite.py
. I'm guessing they may have gone missing in the shuffle of switching hosting providers or something?
Good news! I have already implemented a solution and gotten the site looking very nice. I googled each of the fonts you were using previously and matched them as closely as possible with a font hosted on Google Fonts.
Before I make a pull request, I want to ask for your input. Obviously, fonts have a huge impact on the appearance of the site, and being an author an all, I figured there's a solid chance you have strong opinions about fonts. If you want me to match the old fonts exactly, I am thinking I can just download the fonts and add the to this repo so that they stay with the site's other static assets and get brought over to the public folder by generateSite.py
. Or, if you want to make some other tweaks or update to a fresh look โ fonts or otherwise, I'm happy to give it a shot!
My fork is ready to merge if you are happy with the Google Fonts solution. I'm also happy to implement the alternative solution I've proposed above if you want the fonts to match the fonts from before exactly.
res = requests.get('https://google.com/search?q=' 'https://pypi.org/search/?q='
Line 381 should likely read:
res = requests.get('https://pypi.org/search/?q='
Snippet of code from first edition of book stuck around in mangled form.
The TOC controller is missing at the bottom of chapter 3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.