Python

A page about Python class, learning, information, resource and QAs for CIS 122 students at University of Oregon, as well as Python beginners!

Last Updated: Aug 19, 2013

Class:
CIS 122 Intro to Algorithms and Problem Solving Using Python in CIS dept at University of Oregon

Learning:
Online python exercises from University of Waterloo ~ CS circles

Info:
0. Download and install Python
http://www.python.org/getit/

1. IDLE crash on MAC system
Need to install ActiveTcl library instead of using the Apple provided one. Please check the link below:
http://www.python.org/getit/mac/tcltk/#activetcl-8-5-13

2. Jython intro
Interested in writing Java code using Python style? Check the like below:
https://davejingtian.org/2012/11/28/jython-combination-of-java-and-python/

3. 64-bit libraries for Windows
If you are looking for compiled 64-bit Python extension packages, please go to the link:
http://www.lfd.uci.edu/~gohlke/pythonlibs/

4. Python online visualizer
An online Python interpreter which is trying to visualize the process of code running:
http://cscircles.cemc.uwaterloo.ca/visualize/#mode=edit

5. Python online console
An online Python interpreter in case if your local one is not working…
http://cscircles.cemc.uwaterloo.ca/console/

6. Caesar Cipher in Python
An implementation of Caesar code encoder, decoder and brute force decoder based on statistics:
https://davejingtian.org/2012/09/28/python-learning-caser-cipher/

7. Regular Expression
An example of regular expression in Python:
https://davejingtian.org/2012/09/28/python-learning-regular-expression/

8. PyScripter
The IDE for Python I am using…
http://code.google.com/p/pyscripter/

9. Make a melody using Python?
Yes, you could do that ~ compose your own song:
http://stackoverflow.com/questions/1967040/how-can-i-create-a-melody-is-there-any-sound-module

10. Play music using Python
Just write a simple MP3 player by yourself:
http://stackoverflow.com/questions/307305/play-a-sound-with-python

11. Pointers in Python
Yes, we could use pointers in Python…
https://davejingtian.org/2013/01/29/pointer-in-python/

12. Yet another online Python Visualizer
http://www.pythontutor.com/visualize.html#

13. Parallel Python
http://www.parallelpython.com/

Resource:
A byte of Pythonshort and brief intro to Python programming
Writing games using Python – free online books for game programming using Python
Intro to Turtle – official documents for Turtle graphics

QA:

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.