2
Protocol
set of rules and standards that define how devices communicate and exchange data over a network.
*HTTP *
HyperText Transfer Protocol
HTTP is communication protocol that defines how data is transferred between a web browser (client) and a web server(server) over the Internet
Who Invented Python?
Creator: Guido van Rossum
Started: 1989, at Centrum Wiskunde & Informatica (CWI), Netherlands
First Release: 1991
Reason: Started as a hobby project during Christmas holidays
Predecessor: Inspired by the ABC language, but Guido improved it by fixing its limitations
Python2 Vs Python3
Python 2 officially reached end-of-life on January 1, 2020. That means no more security patches, no more bug fixes, and no more official support — from anyone. If you’re running Python 2 in production today, you’re running software with known, unfixed vulnerabilities.
Python 3 was first released in December 2008.Python 3 isn’t just a newer version. It was a deliberate redesign of the language to fix problems that couldn’t be fixed without breaking backward compatibility. Most of those fixes make your code cleaner, more predictable, and less error-prone.
Python IDLE
IDLE-Integrated Development and Learning Environment
used to write, edit, and run Python programs
CLI
CLI-Command Line Interface
text-based interface where we type commands
- Windows: Command Prompt (CMD) or PowerShell
- Linux/macOS: Terminal
To start Python from the terminal, type:
python3
Python Shell (Python Interpreter)
When we type python3 in the terminal, the Python Interpreter starts, and we enter the Python Shell
10+12
Output:22
print("Kiruthiga")
Output:Kiruthiga
name="Mabel"
print("hello",name,"!")
Output:hello Mabel !
name="Mabel"
print("Hello"+name+"!")
Output:HelloMabel!
Function Overloading
multiple functions have the same name but different arguments
Top comments (0)