Keywords in python:
- Python has a set of keywords that are reserved words that cannot be used as variable names, function names, or any other identifiers.
Core Rules for Python Keywords:
- case sensitive
- immutable
- version dependent
to list the python keywords in idle use this command:
import keyword
keyword.kwlist
keywords:
['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
Data types in python:
- Data types in Python define the type of value stored in a variable.
- it also determine the operations that can be performed on that data.
1. Numeric Types:
- int - positive or negative numbers
- float - numbers with a floating decimal points
- complex - Numbers with a real and an imaginary part
2. str type:
- str - text data inside double or single quotes
3. sequence type:
- list - mutable(changeable)
- tuple - immutable(unchangeable)
- range - generates a sequence of numbers
4. Mapping Type:
- dict - Dictionaries that store data in key-value pairs.
5. Set Types:
- set - mutable(changeable)
- frozen set - immutable(unchangeable)
6. Boolean Type:
- bool - True or False.
7. None Type:
- none - represents the keyword none.
Editing tool tasks
1. how to create a file using cat command?
- first open terminal
- then type this command
cat>filename.txt- then press enter
- then type your content on terminal
- save and exit using ctrl+D.
2. how to create two files using cat command?
- first open terminal
- then type this command
cat > file1.txt ; cat > file2.txt- then press enter
- then type your content on terminal,it will shows in file1.txt
- save and exit using ctrl+D it saves the content in file1.txt,and then it will automatically enter into file2.txt in terminal
- then type your content on terminal, it will shows in file2.txt
- save and exit using ctrl+D it saves the content in file2.txt
3.how to merge two files using cat command?
- first open the terminal
- then type this command
cat file1.txt file2.txt > new_merged_file.txt- this command merge the both files and stores in another file.
Linux commands:
- cd: Changes the current directory.
- mkdir: Creates a brand new directory.
- ls: Lists all files and folders in the current directory.
- rm: Deletes files permanently.
- pwd: Prints the current working directory path.
- mv: Moves or renames files and directories.
- cp: Copies files or directories from a source to a destination.
- cat: Displays the entire contents of a file in the terminal.
Client-Side (The Front End):
- The client side is everything that a user interacts with directly.
- The "client" is typically a web browser or a mobile app running on a laptop, smartphone, or tablet.
Server-Side (The Back End):
- The server side consists of everything happening behind the scenes on a remote, centralized computer system.
Framework:
- A framework is a pre-built structure, template, or set of guidelines that helps people—especially software creators—build projects faster without starting from scratch.
types:
- angular
- react
- django
- springboot
- flutter
OpenJDK:
- OpenJDK is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).
- it is managed via the official OpenJDK Project and released under the GNU General Public License.
features:
- Free and Open-Source
- Reference Implementation
OSI layer:
Programming languages advantages:
- c --> compiler,os,Maximum execution speed, hardware control.
- c++ --> gaming applications, payment gateway,Object-oriented performance.
- php --> Built for web servers, massive ecosystem,content management system.
- java --> Enterprise software, Android apps,performance,security.
- python --> Clean syntax, AI/data science libraries,Machine learning, data analytics, scripting.
- javascript --> Interactive web pages, full-stack applications.
References:

Top comments (0)