ardian haxha- flying with python (oscal2014)
TRANSCRIPT
Flying with Python
Intro into computer programming
Flying with Python
Who am I
FLOSSK MemberFedora AmbassadorMozilla RepresentativeSoftware Developer @ AdaptivIT
Flying with Python
Examine what is a computerWhat makes them work?Imagination defines the limits of potentialWhat is a program?You can do it tooDemonstrationSuggestions
Computers ?
A device that computes, especially a programmable electronic machine that performs high-speed mathematical or logical operations or that assembles, stores, correlates, or otherwise processes information.
What makes them work
A bunch of electronics that respond to programmable instructions.
What is a program
What is a program
How about this?A program is a set of ordered instructions for a computer to perform?
Phases of development
1. Define the task (problem) = [Scope]2. Plan the Solution: = [Design]- Find suitable algorithm- Find data structures- Pseudo coding
3. Write the Code = [Implementation]
4. Fix errors (bugs)= Testing and Debugging
Flying with Python
Top 10 Reasons Why Python Rocks
1. Simple, easy to read syntax2. Automatic modules namespaces3. Object oriented4. Huge community with great support5. Modules for pretty much everything you might need to do6. 99 % cross platform7. Interactive shell8. Easy to embed and extend9. Supported by Maya, Houdini, XSI, Blender, Digital Fusion etc10. Open Source
First Step
http://www.publiseek.com/publicity/wp-content/blogs.dir/sites/4/Taking-small-steps.jpg
Download Python: Python.org (Linux, OS X, Windows)Activestate.com (Windows)
Text editor (Emacs, Gedit, Notepad ++, Sublime Text etc)
Python Syntax
Python is case sensitive
Python is type-less
Whitespace matters
# is used for comments
Lets get interactive
Windows users:Start > cmd > python
Start and search python
Linux and Mac users:Have it installed open terminal and type python