Python: Difference between revisions
Mr. MacKenty (talk | contribs) |
|||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[file:python.png|right|frame|Python programming language<ref>http://www.flaticon.com/</ref>]] | [[file:python.png|right|frame|Python programming language<ref>http://www.flaticon.com/</ref>]] | ||
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.<ref>https://www.python.org/doc/essays/blurb/</ref> | |||
[[ | [[media:Programming companion Python.pdf | Please click here for an excellent resource for learning python]] | ||
<!-- [[media:File:Python3 reference cheat sheet.pdf| Please click here for a checklist you must complete]] --> | |||
[[ | [[media:Python3 reference cheat sheet.pdf|Please click here for our python cheatsheet]] | ||
Python is our language of choice. | |||
# It is the CS introductory programming language in many universities | |||
# It has an especially clear syntax | |||
# We get to logical thinking over syntax issues much faster | |||
# The language is well-supported | |||
# Library management is a straight forward | |||
# The language is very powerful for solving complex problems | |||
==Basic ideas == | |||
These ideas follow our programming guide, linked above. | |||
# [[Installing libraries in Python]] | |||
# [[Understand how to output text strings]] | |||
## [[Exceptions and pre-conditions]] | |||
# [[Understand how to input strings and numbers into variables]] | |||
## [[Variable scope in Python]] | |||
# [[Understand string manipulation functions]] | |||
# [[String manipulation functions]] | |||
# [[Understand how to use selection statements]] | |||
# [[How to use selection statements]] | |||
# [[Understand how to use arithmetic operations and random numbers]] | |||
# [[Understand counter controlled iterations]] | |||
# [[Understand condition controlled iterations]] | |||
# [[Understand subroutines, procedures and functions]] | |||
# [[Understand arrays and lists]] | |||
# [[Understand serial files]] | |||
# [[How to handle exceptions for validation]] | |||
## [[Managing exceptions in Python]] | |||
| | # [[Dictionaries|Understand dictionaries]] | ||
# [[Date and times with Python]] | |||
== References == | == References == | ||
[[Category: | [[Category:Python programming language]] | ||
[[Category: | [[Category:Programming languages]] | ||
Latest revision as of 09:34, 28 March 2023
![](/images/e/e4/Python.png)
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.[2]
Please click here for an excellent resource for learning python
Please click here for our python cheatsheet
Python is our language of choice.
- It is the CS introductory programming language in many universities
- It has an especially clear syntax
- We get to logical thinking over syntax issues much faster
- The language is well-supported
- Library management is a straight forward
- The language is very powerful for solving complex problems
Basic ideas
These ideas follow our programming guide, linked above.
- Installing libraries in Python
- Understand how to output text strings
- Understand how to input strings and numbers into variables
- Understand string manipulation functions
- String manipulation functions
- Understand how to use selection statements
- How to use selection statements
- Understand how to use arithmetic operations and random numbers
- Understand counter controlled iterations
- Understand condition controlled iterations
- Understand subroutines, procedures and functions
- Understand arrays and lists
- Understand serial files
- How to handle exceptions for validation
- Understand dictionaries
- Date and times with Python