
Course & instruction introduction, plus an overview of the projects/case studies students will be solving.
Open the idle editor, write your first Python script in the code editor, and run module to see results using the print function in the interpreter.
Learn how to document Python code using hashes for inline comments, block comments, and headings, creating readable scripts like a profit and loss calculator and clarifying variables and data types.
Learn how to use lists to store multiple values in one variable, compare Excel ranges to Python lists, and access items by index from zero, including printing and multiplying forecasts.
Open or create a text file in Python, write forecast data with f.write, and save by closing the file, while selecting write, append, or read modes and handling newlines.
Explore custom functions, or user defined functions, and learn to define, pass arguments, and return values in Python and Excel, with examples using visual basic editor.
Master while loops, including infinite execution and break, with time pauses via the time module. Learn to generate random numbers with random and stop loops when stock price falls.
Explore third party libraries in Python, install with pip, and import tools like TensorFlow for AI, pandas for data analytics, and pyautogui for mouse automation, demonstrated via a cookie-clicking example.
Master debugging in Python by distinguishing syntax and logic errors, and use try and except blocks to gracefully handle issues like no internet when checking stock data with Y Finance.
Discover how pandas converts raw data into data frames and series, enabling automated spreadsheets, data cleaning, and wrangling with read_csv, head, tail, and info.
Learn to filter a data frame by the section column using double equals for exact matches, then combine conditions with and/or, returning results as a data frame.
Learn how to sort data in Pandas using sort_values to order by sections, item, or multiple columns, with ascending or descending options and in place versus not in place.
Learn to remove duplicates in pandas using drop_duplicates, handling full-row and subset duplicates, with keep options (first, last, false) and permanent changes via reassignment.
Learn how to replace values in a data frame using the replace function to substitute baked goods with bakery and update the data frame.
Format values by rounding to a chosen number of decimals, convert floats to integers, and apply both operations via chaining on a data frame for concise, one-line transformations.
Learn to build a pandas pivot_table to aggregate revenue and expense by section, toggle between index and columns, use margins, and assign results to a new dataframe.
Launch a Jupyter notebook, fetch the Binance API endpoint with Python using requests, convert the JSON string with json.loads to extract the BTC price.
Compare get and post requests in APIs, illustrating get retrieves data via a URL while post uses a separate body payload for secure inserts and updates.
Automate stock price alerts by using the We Finance Library to fetch Microsoft’s current price and send a Telegram message when it hits 300, looping every five seconds.
Celebrate completing the course and begin your programming journey by solving a personal pain point with code, automate Excel reports with pandas, and explore web apps with Django and Flask.
This is a beginners Python Accountants Course that explains how to automate 4 Accounting projects:
Streamline stock market analysis by automating stock data extraction,
Automate an Excel sales report & data cleansing report using common Data Analytics techniques,
Automate cryptocurrency data extraction from Binance, and
Automate stock or crypto price alerts to your phone via APIs & Push notifications.
This course is for Accountants who want to learn Python in an easy to follow, and straight to the point manner, whilst skipping unncessary technical jargon that can be intimidating for beginners.
Students will also be able to understand the relevance of Python by practicing their skills on 4 real-world Financial projects.
I've condensed over 10 years of my experience as a Consultant at a Big 4 into this 3 hour course which I know you'll love because I use everything in this course to automate my job :)
Please watch the Course Preview to find out more and get started!
--------------------
Below is an overview of each chapter:
Chapter 1
A quick introduction about me, and what this course covers.
Chapter 2
Explains basic Python syntax and fundamentals - for example, you might love reading novels and want to write a book, but before you write it, you have to learn grammar, syntax, and style guides - same thing goes with coding, and that’s what this chapter is about - learning the grammar, syntax, and style guides of Python. This chapter will go through the following:
- Installing Python & downloading course files,
- Using the code editor (IDLE) & print function
- Arithmetic operators,
- Comparison operators,
- Variables & datatypes,
- Code documentation,
- If statements,
- F-String,
- Lists,
- For loops,
- Opening & saving text files,
- Custom functions,
- Standard libraries,
- While loops,
- Third party libraries, and
- Installing Pandas.
We'll then apply what you've learnt in the basics to solve your first real world case study - Python stock analysis - specifically, extracting stock market data to a spreadsheet using the Yahoo Finance / YFinance library.
Chapter 3
An introduction to Jupyter Notebooks. We upgrade our code editor to Jupyter Notebook which is more powerful than IDLE (the default code editor that comes with Python).
Chapter 4
Teaches fundamental Data Analytics techniques using the Pandas library which is important for every Accountant to know. This is THE chapter for Excel automation. You'll learn techniques like:
- Adding & removing columns,
- Sorting data,
- Filtering,
- Removing duplicates,
- Formatting,
- Pivot tables,
- Exporting to CSV & Excel, and
- Location / If Function.
We’ll then apply those learnings by automating 2 case studies:
- Supermarket sales report - we’ll aggregate loads of sales data into a pivot table with just a few lines of code.
- Data Cleaning / Data Wrangling case study which is about fixing bad data.
Chapter 5
A general overview of APIs. I'll explain what is an API, how to connect to APIs, and the difference between a Get and Post Request.
We'll be using the Binance API as an example as I go through the API explanation which means you'll learn how to automatically extract cryptocurrency prices to your Python script or to an Excel spreadsheet.
We'll then finish this chapter with a case study which combines EVERYTHING we've learnt in this course - we'll use the Telegram App (Android / iOS) and Telegram API to send stock market alerts, messages, and push notifications to our phone.