This is the course page for the introduction to python programming workshop given March 17, 24, and 31 2012 at UPR-RRP for the Association of Computer Science Students.
Python is an open source, object-oriented, interpreted high level language. It has a vibrant online community, and is used in many application areas and companies. I love it because it lets you write very compact code and test many ideas out interactively.
First we set up a working python environment: Installing and running python
Next, the five things every program needs
Now go and write some programs!
We worked on a program to find the top 10 machines generating traffic in the 5 minute flow data from 2004. The 2004 data file. Here's data in slightly different format from 2011. Modify the top 10 program to print the top 10 machines and the total traffic from this file instead. Columns seem to be: filename::lineno, flow.srcaddr, flow.dstaddr, flow.src_as flow.dst_as, flow.srcport, flow.dstport, flow.dOctets, flow.dPkts. Columns are separated by tabs.
Most recent change: 2012/10/29 at 09:23
Generated with GTML