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][3] 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 Microsoft Windows, Linux, and Mac OS X. Python is open source software and, as a result, has a large community of developers who help improve and contribute to 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 gives you the ability to rapidly develop projects, while being able to maintain them at the same time. Python usually uses less lines of codes than other object-oriented languages, like C++ and Java, and Python has a simple and easy syntax. A simple "Hello, world!" can be done with just one line of code (actually this is called a command) and only four lines when recreating it as a GUI!


This resource is part of the School of Computer Science. For a complete list of resources, see the Computer Science Course Listing.


Please help develop this resource by either:

  1. Helping contribute and give your knowledge by editing this resource.
  2. Giving a teacher or contributor some feedback about this resource.
  3. Grammar and spell corrections are most welcomed on this resource.
  4. Becoming an editor or co-sponsor of Using Wikiversity to cross-link advanced and introductory programming .
  5. Joining a parallel effort at 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.

Learning Resources[edit]

Nuvola apps edu mathematics-p.svg Subject classification: this is a mathematics resource .
Nuvola apps kalzium.svg Subject classification: this is a science resource .
Nuvola apps kcmprocessor.png Subject classification: this is a technology resource .
Smiley green alien whatface.svg Resource type: please help Wikiversity by tagging this resource with a resource type.

Introduction

Basic Data Types

To Be Classified

  • Basic Data Types - Learn the five types: strings, tuples, lists, dictionaries, and integers.
  • 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.
  • With Statement
  • Quizzes - Quizzes on these lessons.
  • Learning resources - Additional resources for those who want to learn Python, or get better at it.

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]

See Also[edit]

References[edit]