Author: Vu Thanh Nguyen Nguyen - 12403939 - Computer Engineer.
Course name Advanced Programming.
Instructor: Prof. Dr. Tobias Schaffer.
This is a course provided in the A.I. for Smart Sensors and Actuators to familiarize students to coding, coding standards, best practices and working with Git.
The excercises are taken from: Google's Python course.
Each exercises are done using seperate functions and tested with multiple testing cases.
The python code is executed directly in the editor. Simply open in an editor of choice (e.g. Visual Studio Code) and run the files, and the result will be printed out via the Terminal.
Python version: Python 3.11.9
List of libraries used:
- sys
- os
- re
Instrution to execute wordcount.py
- cd to relative path.
- Run the commands in the terminal:
.\google-python-exercises\basic\wordcount.py
with arguments--count
for count all the words or--topcount
for count only the top 20 words, and file name such asalice.txt
andsmall.txt
. E.g..\google-python-exercises\basic\wordcount.py --topcount alice.txt
Instrution to execute mimic.py
- cd to relative path.
- Run the commands in the terminal:
.\google-python-exercises\basic\mimic.py
and file name such asalice.txt
andsmall.txt
. E.g..\google-python-exercises\basic\mimic.py small.txt
Instrution to execute babynames.py
- cd to relative path.
- Run the commands in the terminal:
.\google-python-exercises\basic\babynames.py
with the--summaryfile
arguement and file name such asbaby2008.html
orbaby1998.html
. E.g..\google-python-exercises\babynames\babynames.py --summaryfile baby2006.html
Presentation on Machine Learning topic:
- Winston's Wine (03.05.24):
Finished excercises:
- string1.py (24.03.24)
- string2.py (24.03.24)
- list1.py (13.04.24)
- list2.py (13.04.24)
- wordcount.py (21.07.24)
- mimic.py (21.07.24)
- babynames.py (21.07.24)
- copyspecial.py
- logpuzzle.py