GithubHelp home page GithubHelp logo

justcliffsmith / automatetheboringstuff Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

Exercises from the book Automate the Boring Stuff. Most solutions solve the exercise verbatim while others implement other little features such as exception handling.

Python 100.00%

automatetheboringstuff's Introduction

AutomateTheBoringStuff

Exercises from the book Automate the Boring Stuff. Most solutions solve the exercise verbatim while others implement other little features such as exemption handling.

Chapter 3 - Functions

Ex 1) Implement Collatz conjecture.

Ex 2) Add input validation

Chapter 4 - Lists

Ex 1) Take a list of words and output it comma seperated with an and before the final word.

Ex 2) Rotate a grid such that it looks like a heart.

Chapter 5 - Dictionaries and Structuring Data

Ex 1) Create a video game inventory using dictionary.

Ex 2) Create a function to add items to the inventory.

Chapter 6 - Manipulating Strings

Ex 1) Take a list of lists of strings and print it as a nice table.

Chapter 7 - Pattern Matching with Regular Expressions

Ex 1) Check the strength of a password using regular expressions

Ex 2) Implement strip including the ability to strip non-whitespace characters.

Chapter 8 - Reading and Writing Files

Ex 1) Implement a delete and delete all functionality into the multiclipboard example. Using packages shelve and pyperclip.

Ex 2) Mad Libs program that reads in a text file and prompts users for replacements for each instance of the words ADJECTIVE, NOUN, ADVERB, or VERB.

Ex 3) Opens all .txt files in folder and searches for any line that matches a regex.

Chapter 9 - Organizing Files

Ex 1) Walk through a folder tree and search for files with a certain file extension. Copy these files in to a new folder.

Ex 2) Walk through a folder tree and searches for files or folders over 50 MB and prints the file with absolute paths.

Ex 3) Finds all files with a given prefix in a single folder and locates any gaps in the numbering. Have the program rename all the later files to close this gap.

**Chapter 10 - Debugging **

Ex 1) Debug the supplied coin flip program.

To Do

Chapter 11 - Web Scraping

Chapter 12 - Working with Excell Spreadsheets

Chapter 13 - Working with PDF and Word Documents

Chapter 14 - Working with CSV Files and JSON Data

Chapter 15 - Keeping Time, Scheduling Tasks, and Launching Programs

Chapter 16 - Sending Email and Text Messages

Chapter 17 - Manipulating Images

Chapter 18 - Controlling the Keyboard and Mouse with GUI Automation

automatetheboringstuff's People

Contributors

justcliffsmith avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.