Self directed google python course
Link: https://developers.google.com/edu/python/
Started on : 07/10/2017
Completed on : 07/17/2017
- Make sure you are in the root director of the project.
- Then copy the commands for each exercise into your terminal without changing directories.
- string1.py
#Copy below commands and run in terminal
(cd ./basic && python string1.py)
- list1.py
#Copy below commands and run in terminal
(cd ./basic && python list1.py)
- wordcount.py
#Copy below commands and run in terminal
(cd ./basic && python wordcount.py --count alice.txt)
# OR
(cd ./basic && python wordcount.py --topcount alice.txt)
- babynames.py
#Copy below commands and run in terminal
# Print out baby names and rank
(cd ./babynames && python babynames.py baby1992.html)
# Create .summary file with babynames and rank
(cd ./babynames && python babynames.py --summaryfile baby2006.html && open -a textedit baby2006.html.summary)
# Create .summary file for babynames and rank in all years
(cd ./babynames && python babynames.py --summaryfile baby*.html)
- copyspecial.py
#Copy below commands and run in terminal
(cd ./copyspecial && python copyspecial.py --todir newDir)
# OR
(cd ./copyspecial && python copyspecial.py --tozip ./)
- logpuzzle.py
#Copy below commands and run in terminal
(cd ./logpuzzle && python logpuzzle.py --todir images animal_code.google.com && open imageDisplay.html)