|
| 1 | +# Days 70-72: Excel Automation with openpyxl |
| 2 | + |
| 3 | +Working with spreadsheets is one of those daunting tasks that gets you into programming. It can be pretty tedious! |
| 4 | + |
| 5 | +Openpyxl makes it that little bit easier and approachable... so we're spending the next 3 days on it! |
| 6 | + |
| 7 | + |
| 8 | +## Day N: Openpyxl setup, workbooks, worksheets and playing with Cell values |
| 9 | + |
| 10 | +A pretty filled day to kick you off! |
| 11 | + |
| 12 | +Once you've got your env setup, watch the *Working with workbooks and worksheets* video followed by *Pulling Cell values*. |
| 13 | + |
| 14 | +These videos will guide you through accessing your Excel file using openpyxl and pulling your first data down. |
| 15 | + |
| 16 | +Play with this and the included *Financial Sample.xlsx* file. |
| 17 | + |
| 18 | + |
| 19 | +## Day N+1: Maxrow and Inserting Data |
| 20 | + |
| 21 | +We continue playing with the *Financial Sample.xlsx* file today. This time we learn how to use `maxrow` and then move onto inserting data/functions into cells. |
| 22 | + |
| 23 | +Again, once you've finished watching the *Maxrow* and *Inserting Data* videos, continue playing with the included Excel file. Insert data once cell at a time, then try doing an entire column. |
| 24 | + |
| 25 | + |
| 26 | +## Day N+2: Your Turn! |
| 27 | + |
| 28 | +You've got the basics down so now start scripting around your own Excel file. |
| 29 | + |
| 30 | +Examples for you to try: |
| 31 | +Monitor or allow a script to edit an employee shift roster. |
| 32 | +Try adding to or creating a financial budget based on spending data entered into a script. |
| 33 | +Populate a spreadsheet with data pulled down from an API of some sort. |
| 34 | + |
| 35 | +Give it a go! I'm sure you'll... EXCEL at it! |
| 36 | + |
| 37 | + |
| 38 | +### Time to share what you've accomplished! |
| 39 | + |
| 40 | +Be sure to share your last couple of days work on Twitter or Facebook. Use the hashtag **#100DaysOfCode**. |
| 41 | + |
| 42 | +Here are [some examples](https://twitter.com/search?q=%23100DaysOfCode) to inspire you. Consider including [@talkpython](https://twitter.com/talkpython) and [@pybites](https://twitter.com/pybites) in your tweets. |
| 43 | + |
| 44 | +*See a mistake in these instructions? Please [submit a new issue](https://github.com/talkpython/100daysofcode-with-python-course/issues) or fix it and [submit a PR](https://github.com/talkpython/100daysofcode-with-python-course/pulls).* |
0 commit comments