Introduction To Jython
Introduction To Jython
CPT120
Chapter 1
Overview of Unit
In this unit, you will learn the fundamentals of programming that are found in popular programming languages.
We use a programming language and an environment called JES (Jython Environment for Students), which is based
on a popular programming language called Python.
The unit is very hands-on. You will learn and practice programming fundamentals through the manipulation of digital
images.
You will use the units Blackboard (via myRMIT) each week to do the following:
1. Read the lecture slides and then watch the lecture slide commentary (videos)
2. Participate in the discussion forums Ask (or answer) general questions on topics covered
3. Attempt the weekly tutorial exercises and submit your solutions (textbook is required)
4. Work on parts of the current assignment (when released) and ask any general questions in assignment forum
5. Attend the weekly tutorial chat session (your instructor will discuss solutions for the previous week)
In addition to the above, you will also need to submit assignments as per the due dates and towards the end of the
study period you will need to prepare for the final exam.
Assessments:
robert.mcquillan@rmit.edu.au
Weekly online (live) tutorial chats and discussion forums
gayan.wijesinghe@rmit.edu.au
Administration and coordination related matters within the unit
Study materials, assignment and exam design
Weekly online (live) tutorial chats and discussion forums
ouacsit@rmit.edu.au
Processes special consideration and extensions
Queries relating to your OUA degree/programme, struture, etc.
Resources
All other learning/unit materials will be made available on or via the Blackboard
The Story
What is computer science about?
What computers really understand, and where Programming Languages
fit in
Media Computation: Why digitise media?
How can it possibly work?
Specialised Recipes
Some people specialise in crepes or barbecue
Computer scientists can also specialise on special
kinds of recipes
Recipes that create pictures, sounds, movies, animations
(graphics, computer music)
Key concept:
The COMPUTER follows the recipe!
Programming is putting together a sequence of
instructions to get the computer to do something we want.
Make it as hard, tedious, complex as you want!
10
Programming Languages
Different programming languages are different
ways (encodings) that turn into (same/similar)
commands for the computer
11
Jython is Python
Graphics: E.g. Industrial Light & Magic, Walt Disney, Blender 3D software, etc.
Software Development: E.g. Silicon Graphics Inc. (SGI), Red Hat, Nokia, etc.
[Source: python.org]
Python is implemented in C.
12
14
15
16
Multimedia is unimedia
But that same byte with a 65 in it might be
interpreted as
A very small piece of sound (e.g., 1/44100-th of a second)
The amount of redness in a single dot in a larger picture
The amount of redness in a single dot in a larger picture
which is a single frame in a full-length motion picture
17
18
19
20
21
ANDto communicate!
Writers, marketers, producers communicate through computation
22
23
Knowledge is Power,
Knowing how media work is powerful and freeing
24
25
26
27
28
JES
JES v4.3 must be used.
Download from: Blackboard -> Course Documents -> Software to
download
Please do the tutorial exercises (Blackboard->Course Documents>Week 1, etc.) and submit them
29