Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Computer Programming in Python Oceanography
Install Python
Python Versions
Introduction Execute Python programs
Running the first program
Comments in Python
Summary Introduction to What is a Python? Python
What is Python
History of Python I Python is a computer programming language Features of Python Applications of I It was created by Guido van Rossum, and released in Python
1991. Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to History of Python Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Features of Python Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Applications of Python Python
What is Python
History of Python
Features of Python
Applications of Python
Python and I Web development Oceanography Install Python I Software development Python Versions
I Mathematical analysis Execute Python programs Big data analysis I Running the first program
Comments in Python
Summary Introduction to Python and Oceanography Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Install Python Python
What is Python
History of Python
Features of Python
Applications of Python
Python is usually installed by default in all Operating Python and Systems. Oceanography Install Python There are Python Editors, called as IDE (Integrated Python Versions Development Environment). The major Python IDEs for Execute Python programs Python are Thonny, Pycharm, Netbeans, Spyder and Eclipse. Running the first My preference is Thonny. program Comments in Python
Summary Introduction to Python Versions Python
What is Python
History of Python Python as two major versions Features of Python Applications of 1. Version - 2 Python Python and 2. Version - 3 Oceanography Install Python In Linux, python version 2 is called simply as ’python’ but Python Versions Execute Python python version 3 is called as python3. Check the version programs
number by executing the commands ’python –version’ and Running the first ’python3 –version’ in a linux terminal. program Comments in Python It is better to work with the version - 3. So make sure that Summary python3 is installed. Introduction to Execute Python programs Python
Method-1: Using Python commandline (in Linux) What is Python Open terminal, type ”python3”. This will open the python History of Python Features of Python command-line where python commands can be executed one Applications of by one. Python Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Python Method-2 : Python IDE
What is Python Open the installed python IDE and write the code in the text History of Python editor. Save with file extension as ”.py”. Run the code. Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Method - 3: Outside Python environment Introduction to Python Type python code in a normal text editor. Save file with ”.py” as file extension. In a linux terminal and type the What is Python command ”python3 file.py” where file.py is the python file. History of Python Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Running the first program Python
What is Python Problem : Write a python program to print ”Hello World !” History of Python
Features of Python
Applications of Code Python
Python and Oceanography print("Hello World !") Install Python
Python Versions
Execute Python (Note that ’print’ command is used to display output to programs
screen) Running the first program Do the program in all the three ways: Comments in Python 1. In python command-line Summary 2. In Python IDE 3. Outside Python Environment Introduction to Comments in Python Python
What is Python
History of Python I Comments are plain text written into the program to Features of Python Applications of explain the code. Python I Comments can be used to make the code more readable. Python and Oceanography I Comments can be used to prevent execution of certain Install Python code while testing. Python Versions
Execute Python Example programs Running the first program
Comments in # This program prints "Hello World" Python print("Hello World !") Summary Introduction to Python
Example What is Python History of Python print("Hello World !") # This line ... Features of Python Applications of Python
Python and Example (Multi-line comments) Oceanography Install Python
Python Versions """ This program prints "Hello World" Execute Python programs This was created on 17-02-2018 Running the first Modified on 12-11-2018 program """ Comments in Python print("Hello World !") Summary Introduction to Summary Python
What is Python
History of Python
Features of Python I Python is one of the most used computer programming Applications of language. Python Python and I Python is used in Oceanography along with Fortran Oceanography Install Python I Python can also be used for data visualization Python Versions (graphics) Execute Python I Use Python IDE for doing programs programs Running the first I In python, ’print’ command is used to print outputs. program Comments in I Comments starts with ’#’ character. Include comments Python in your program. Summary Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary Introduction to Python
What is Python
History of Python
Features of Python
Applications of Python
Python and Oceanography
Install Python
Python Versions
Execute Python programs
Running the first program
Comments in Python
Summary