Python

From Wikiversity
Jump to: navigation, search

Introduction[edit]

Python-logo-notext.svg

Python is a high-level, object oriented programming language, created by Guido van Rossum in 1991.[1][2] Python puts readability at a high standard and learning Python is great for both non-programmers and programmers. Python is cross-platform, which means you can run it on all major platforms like Windows, Linux, and Mac OS X. Python is open source software and, as a result, has a large community of developers who help maintain and improve the language. Currently, the main implementation of Python, CPython, is managed by the Python Software Foundation, a non-profit organization working to develop and maintain the Python standards.


Python is a fast way to rapidly develop projects, while being able to maintain them at the same time. Python usually uses less lines of codes than other languages, like C++ and Java, and Python has a simple and easy syntax.


Please help develop this resource by either:

  1. Find more codes for the holycross website to run.
  2. Give a teacher or contributor some feedback about this resource.

Meanwhile a parallel effort on Wikiversity is underway using Matlab and Octave.

Prerequisites[edit]

Prerequisites are courses it is suggested you understand before you attempt this course. If you're having a hard time understanding the material in this course, make sure you understand these prerequisites first.

Lets get started![edit]

holycross website.

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name

You will find that these codes don't work because holycross isn't true Python. For example the Fibonacci series code must be replaced with

parents, babies = (1, 1)
while babies < 100:
    print 'Hi, %s.' % str(babies)
    parents, babies = (babies, parents + babies)


Learning Resources[edit]

Nuvola apps edu mathematics-p.svg Subject classification: this is a mathematics resource .
Nuvola apps kcmprocessor.png Subject classification: this is a technology resource .

Introduction

Basic Data Types

To Be Classified

  • Operators - Python operators - basically, ways to do things.
  • Basic Functions - In this lesson, we'll cover local variables, value-passing, and defining functions.
  • Flow Control - By using Boolean expressions, flow control, and loops, you'll learn how to code logic into your program.
  • Objects - Learn to write Class definitions, and inherit from other classes.
  • Libraries - Learn how to use the impressive Python Standard Library.
  • Quizzes - Quizzes on these lessons.
  • Basic Script - Basic Python script example.
  • Learning resources - Additional resources for those who want to learn Python, or get better at it.
  • Using USB 00%

Active Participants[edit]

Teachers or Contributors[edit]

If you are helping to develop this resource, please sign below by typing 4 tildes (~).

Students[edit]

If you are using this course as a learning resource, please sign below by typing 4 tildes (~).

Further reading[edit]

Wikibooks-logo.svg Wikibooks has a book on the topic of Non-Programmer's Tutorial for Python .
Wikibooks-logo.svg Wikibooks has a book on the topic of Think Python .
Wikibooks-logo.svg Wikibooks has a book on the topic of Python Programming .
Wikibooks-logo.svg Wikibooks has a book on the topic of PyGTK For GUI Programming .
Wikibooks-logo.svg Wikibooks has a book on the topic of Python Imaging Library .
Wikibooks-logo.svg Wikibooks has a book on the topic of Subject:Python programming language .

See Also[edit]

References[edit]