Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Intro to Python
From OpenCourse
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
In this lesson, we will learn about the Python programming language and what it is. We will also discuss the difference between compiled and interpreted languages. == What is Python? == Python is an interpreted programming language. It is commonly used for desktop app development, website hosting, and much more. == What is a programming language? == Programming languages allow us to perform complex tasks by writing simple code. Without programming languages, all programs would have to be written in machine code. Programming languages allow us to easily tell the computer what to do. == Why use Python? == Python is often used because it is easy to learn. Python has an incredibly simple '''syntax''' (the 'grammar' of the language), which makes it ideal for beginners. Python is also very powerful, as it can be used to perform many different tasks. == Interpreted or compiled? == === Interpreted languages === Python is an interpreted language. This means that the code is run '''line by line'''. The user receives the code, which is then run by an '''interpreter'''. Interpreted languages usually run slower than compiled languages. === Compiled languages === Some languages however, such as C, C#, and Rust, are compiled languages. This means that the code is turned into an executable (machine code) before being run. Once the source code has been compiled, it can be executed even without the compiler being installed. Compiled languages usually run more quickly than interpreted languages. == Python course == This lesson is part of the Python course. [[Installing Python|Go to the next lesson]]. [[Python|Go to the previous lesson]]. [[Python|Go back to the course overview]].
Summary:
Please note that all contributions to OpenCourse are considered to be released under the Public Domain (see
OpenCourse:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)