Python Concepts

Introduction
Python is a high-level, object-oriented programming language used in coding, created by Guido van Rossum in 1991. Python puts readability at a high standard and this makes it great for both programmers and non-programmers to learn. Python is cross-platform, which means you can run it on all major platforms like Microsoft Windows, Linux, and macOS. 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 fewer lines of codes than other object-oriented languages, like C++ and Java, and it 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 course 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:
 * 1) Contributing and giving your knowledge by editing this resource.
 * 2) Giving a teacher or contributor some feedback about this resource.
 * 3) Grammar and spell corrections are appreciated on this resource.
 * 4) Joining a parallel effort at Matlab and Octave .

This course was the 47th most visited learning project in 2014!!!

Prerequisites
''Prerequisites are suggested courses that should be completed before taking this course. If you're having a hard time understanding the material in this course, make sure you complete these prerequisites first.''


 * Introduction to Computers
 * Computer Skills
 * Introduction to Programming

Learning Resources
''Want to learn something about Python that's not mentioned below? Go to the /Wishlist/ to find out how.''

Introduction
 * /Why learn Python/
 * /Introduction and Setup/
 * /To Get You Started/

Parts of a Program
 * Basic Data Types
 * /Operators/
 * Flow Control

Statements
 * /If Statement/
 * /Match-case Statement/
 * /While Statement/
 * /For Statement/
 * /Try Statement/
 * /With Statement/
 * /List Comprehension/
 * /Other Statements/

Input & Output
 * /Console Output/
 * /Console Input/
 * /Files/
 * /Directories/

Definitions
 * /Functions/
 * /lambda, map, filter, reduce/
 * /Variable Scoping/
 * /Built-in Functions/
 * /Modules/

Object-Oriented Programming
 * /Classes/
 * /Regular Expressions/
 * /Iteration and Iterators/
 * /Using Python's Decimal module/
 * /Interfacing with Unix/
 * /Special Methods/
 * /Custom Data Types/
 * /Exceptions Are Classes/

Data Type Deep Dives
 * /Numbers/
 * /Strings/
 * /Lists/
 * /Bytes objects and Bytearrays/
 * /Tuples/
 * /Sets/
 * /Dictionaries/

/PEP Studies/ /Tkinter/ /PyQt/

Appendix
 * /Quizzes/
 * /Activities/
 * /Resources/
 * /Libraries/
 * /Glossary/

Teachers or Contributors
If you are helping to develop this resource, please sign below by typing 4 tildes (~).
 * I8086 (discuss • contribs) 21:36, 25 November 2014 (UTC)
 * guyvan52 (discuss • contribs) 16:51, 5 December 2014 (UTC)
 * ThaniosAkro (discuss • contribs) 15:55, 1 January 2018 (UTC)
 * hjk321 (discuss • contribs) 05:45, 28 June 2022 (UTC)

Students
If you are using this course as a learning resource, please sign below by typing 4 tildes (~).
 * 13hartc (discuss • contribs) 19:02, 5 December 2014 (UTC)
 * Alkhowarizmi (discuss • contribs) 01:20, 31 March 2016 (UTC)
 * MaratdaviD (discuss • contribs) 21:23, 2 January 2018 (UTC)


 * Mohammed Mustapha Aliyu (discuss • contribs) 11:28, 28 February 2018 (UTC)
 * AbulijahPisces (discuss • contribs) 03:11, 26 December 2019 (UTC)
 * Aldiaz84628 (discuss • contribs) 17:59, 24 April 2020 (UTC)
 * Preston 210 (discuss • contribs) 04:18, 30 June 2023 (UTC)