You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/python/intro-python.md
+74-16Lines changed: 74 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,89 @@ tags:
13
13
description: In this tutorial, you will learn about SQL, its importance, what is SQL, why learn SQL, how to use SQL, steps to start using SQL, and more.
14
14
---
15
15
16
-
Python is very easy to leaen
17
-
Interpreted langugae, which means when you execute line by line you can see the output
18
-
No need to compile the entire code to see the result.
16
+
Python is a high-level, interpreted, and general-purpose programming language. It was created by **Guido van Rossum** and first released in **1991**. Python's simple syntax, readability, and vast ecosystem of libraries make it one of the most popular programming languages in the world today.
17
+
18
+
19
+
### Key Features of Python
20
+
21
+
-**Easy to Learn and Use** – Python has a clean and straightforward syntax similar to English.
22
+
-**Interpreted Language** – No need to compile code before running.
23
+
-**Dynamically Typed** – No need to declare variable types explicitly.
24
+
-**Extensive Libraries** – Huge collection of standard and third-party libraries.
25
+
-**Cross-platform** – Python code can run on Windows, macOS, Linux, and more.
26
+
-**Community Support** – One of the largest and most active programming communities.
27
+
28
+
29
+
### What Can You Do with Python?
30
+
31
+
-**Web Development** – Frameworks like Django, Flask.
32
+
-**Data Science and Machine Learning** – Libraries like NumPy, pandas, scikit-learn, TensorFlow.
33
+
-**Scripting and Automation** – Automate daily tasks and processes.
34
+
-**Game Development** – Libraries like Pygame.
35
+
-**Desktop Applications** – GUI development with Tkinter or PyQt.
36
+
-**Cybersecurity and Ethical Hacking** – Tools like Scapy, Nmap integrations.
37
+
38
+
---
39
+
40
+
### Python Syntax Example
41
+
42
+
Here is a simple Python program that prints "Hello, World!":
43
+
44
+
45
+
```python
46
+
print("Hello, World!")
47
+
````
48
+
49
+
Output:
50
+
51
+
```
52
+
Hello, World!
53
+
```
54
+
55
+
You can run this code in any Python interpreter, and it will display the message on the screen.
56
+
57
+
58
+
### Good to know
59
+
60
+
1. The most recent major version of Python is **Python 3**, which is the version used in most tutorials today. Although **Python 2** is no longer maintained, it is still used in some legacy systems.
61
+
2. Python files use the **`.py`** extension.
62
+
3. You can write Python code in a text editor or an IDE like **VS Code**, **PyCharm**, **Thonny**, or **Jupyter Notebook**.
63
+
4. Python is widely used in both academic research and industry for automating tasks, analyzing data, building applications, and more.
64
+
65
+
66
+
### 📦 Installing Python
67
+
68
+
1. Visit the [official Python website](https://www.python.org/downloads/)
69
+
2. Download the installer for your operating system.
70
+
3. Follow the installation instructions.
71
+
4. Verify installation by typing `python --version` in the terminal or command prompt.
72
+
73
+
74
+
75
+
### Why Learn Python?
76
+
77
+
Python is beginner-friendly yet powerful enough for professional development. Whether you're starting out or switching from another language, Python opens doors to many fields, including:
78
+
79
+
* Software development
80
+
* AI & machine learning
81
+
* Data analysis
82
+
* Web development
83
+
* Automation
84
+
* Cybersecurity
85
+
86
+
87
+
👉 Next: [Python Basics](./basics)
19
88
20
-
It supports muliple project parafigms like object oriented and functional.
21
-
both dynamically typed and strongly typed.
22
89
23
-
Baic Concept includes.
24
-
Understanding the Syntax. Variables, data types, and operation.
25
-
data strucutre includes List, Dict, Sets and loops and conditional statements.
26
90
27
91
28
92
29
-
GitHub is a web-based platform used for version control and collaboration. It allows developers to work together on projects from anywhere in the world. GitHub is built on top of Git, a distributed version control system created by Linus Torvalds in 2005.
30
93
31
94
32
-
:::note
33
-
Key Features of SQL:
34
-
GitHub will help you to control the version of the project on a large scale.
35
95
36
-
GitHub offers <ahref="https://github.com/pricing">Premium</a> account for use, Premium users get unlimited Github Repo time, Storage etc.
37
96
38
-
:::
39
97
40
-
## How to start with GitHub?
98
+
## How to start with GitHub?
41
99
42
100
Whenever you create something exciting or something new on your own, you always want to show it to others. As programmers, we also want to show our projects and codes to others, but how? So GitHub is the solution, it let's people to collaborate and scale the projects all on cloud. Some other example of simillar platform are , Bitbucket, GitLab, Beanstalk, etc. Many of them give you the facility to work on your code together as a team. Currently, Github is more popular than other above-listed platforms for hosting your code.
43
101
:::info
@@ -112,4 +170,4 @@ The fork is a personal copy of the repo which is already present or uploaded in
112
170
113
171
## Conclusion
114
172
115
-
If you think this Github Tutorial starter kit for Beginner was useful to you, then don’t forget to share it with others. Till then, we will meet For uploading your project to your Github account, you need to install Git first. which we will discuss in detail in the next post.
173
+
If you think this Github Tutorial starter kit for Beginner was useful to you, then don’t forget to share it with others. Till then, we will meet For uploading your project to your Github account, you need to install Git first. which we will discuss in detail in the next post. -->
0 commit comments