|
10 | 10 | what is html,
|
11 | 11 |
|
12 | 12 | ]
|
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. |
| 13 | +description: In this tutorial, you will learn about Python, its key features, why Python is so popular, how to write Python code, how to set up the environment, Python syntax compared to other languages, and more. |
| 14 | + |
14 | 15 | ---
|
15 | 16 |
|
16 | 17 | 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.
|
@@ -71,103 +72,31 @@ You can run this code in any Python interpreter, and it will display the message
|
71 | 72 | 4. Verify installation by typing `python --version` in the terminal or command prompt.
|
72 | 73 |
|
73 | 74 |
|
| 75 | +### Why Python is So Popular? |
74 | 76 |
|
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) |
88 |
| -
|
89 |
| -
|
90 |
| -
|
91 |
| -
|
92 |
| -
|
93 |
| -
|
94 |
| -
|
95 |
| -
|
96 |
| -
|
97 |
| -
|
98 |
| - ## How to start with GitHub? |
99 |
| -
|
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. |
101 |
| -:::info |
102 |
| -In the picture below you could see Developer 1, Developer 2... are working on the same project , lets say they are trying to build a amazon website, developer 1 handles the Mens shopping section, Developer 2 deals with Womens section, Developer 3 works on the login feature. |
| 77 | +Python has gained massive popularity across industries and educational institutions because of the following reasons: |
103 | 78 |
|
104 |
| -So each indivituals works on different feature from the copy of the central repository, once the development is done they push changes to the **remote repository** (central repo as per picture). Once **code review** happens and good to go, the senior developer will merge the code to the central repository so all the feature will be live on production. |
105 |
| -::: |
| 79 | +* **Simple and Readable Syntax** |
| 80 | + Python’s syntax is easy to read and write, similar to plain English, making it beginner-friendly. |
106 | 81 |
|
107 |
| - <BrowserWindow url="https://github.com/" bodyStyle={{padding: 0}}> |
108 |
| - [](https://code.visualstudio.com/) |
109 |
| - </BrowserWindow> |
| 82 | +* **Versatile and Multi-purpose** |
| 83 | + Python is used in various fields including web development, data analysis, machine learning, artificial intelligence, automation, scripting, and more. |
110 | 84 |
|
| 85 | +* **Large Standard Library and Ecosystem** |
| 86 | + Python offers a rich standard library and thousands of third-party packages (like NumPy, Pandas, Flask, Django, TensorFlow, etc.) to build anything from simple scripts to complex systems. |
111 | 87 |
|
| 88 | +* **Cross-platform Compatibility** |
| 89 | + Python runs on all major operating systems (Windows, macOS, Linux), making it accessible and flexible. |
112 | 90 |
|
113 |
| -## What is Git?? |
| 91 | +* **Strong Community Support** |
| 92 | + Python has a huge global community, active forums, and abundant learning resources for beginners and professionals alike. |
114 | 93 |
|
115 |
| -So in the above example all the developer where able to work on different feautre simulatneaulsy because of the git. For uploading your project to your Github account, you need to install Git first. In other words, Git helps to do this version management of the files and coordinating work among the diverse team in the software development phase. Git is an open-source project and developed in 2005 by Linus Torvalds and Junior. |
| 94 | +* **Used by Top Companies** |
| 95 | + Companies like Google, Netflix, Facebook, NASA, and Dropbox use Python for various applications, proving its reliability and scalability. |
116 | 96 |
|
117 | 97 |
|
118 |
| - |
119 |
| -:::info |
120 |
| -1. **What is Version control System?**: To understand the version control system, let me give you one example; sometimes, you wish you have a record that contains all the changes you made in your code or your project. The version control systems are software tools that record all of your changes in the files. It is like a database of changes. Git is a version control system that most developers prefer to use. We will see how you can upload your code on Github using Git. With VCS you can track the branch, who made changes at what time, line of code added, retrive the previous version of changes. |
121 |
| -2. Basic Git Terminology:: |
122 |
| -
|
123 |
| - | Keyword | Terminology | Description | |
124 |
| - | --- | --------------- | -------------------- | |
125 |
| - | VCS | Version Control System | Track changes to a collection of files | |
126 |
| - | SCM | Software configuration Management | Another name for VCS, the earlier version of VCS like CVS, SVN used to be centralised server, which cause single point of failure. | |
127 |
| - | DVCS | Distributed Version Control System| Git is distributed, the project history is stored both in client and server. Means you can make changes locally and remote. | |
128 |
| - | Working Tree | Tree | Current version of files where the active project is on | |
129 |
| - | Repo | Repository | Top of working Tree where git keep all records and history. | |
130 |
| - | Bare repo | | Not part of working Tree ends with .git, eg. backup.git | |
131 |
| - | Hash | 160 bit long SHA-1 | Based on the hash number, the file has been modified or not. | |
132 |
| - | Object | Git have 4 objects | Tree Object(directory, names), Blob Object(main file), Commit Object(spesfic versions), Tag(name attached to commit) | |
133 |
| - | Commit | | Makes Changes | |
134 |
| - | Branch | a series of Linked commit | The recent commit is called Head. | |
135 |
| - | Remote | | reference to other git repo | |
136 |
| - | | Git Command | Check this tutorial |
137 |
| -
|
138 |
| -::: |
139 |
| -
|
140 |
| -## Why Learn GitHub? |
141 |
| -
|
142 |
| -GitHub Simplfy all the command line interface of Git and make it more GUI friendly. GitHub has builds above of git. Here want we do is staging the files and doing the commit, You can clone the entire repository and create a branch and commit to that branch ask the main developer to merge the branch. when you clone in reality you are creating a copy of the real code/repository in your local environment. |
143 |
| -
|
144 |
| - [] |
145 |
| - |
146 |
| - |
147 |
| -:::info |
148 |
| -1. Basic GitHub Keywords:: |
149 |
| -
|
150 |
| - | Category | Description | |
151 |
| - | --- | -------------------- | |
152 |
| - | Issues | The place where new suggestions or development ideas can be added. | |
153 |
| - | Discussions | Place where a community discussion can happen | |
154 |
| - | Pull requests | PR - Once the user worked on the issue, they can develop the feature and ask to merge | |
155 |
| - | Labels | Feature to categorise the issue, like bug, deadline, feature | |
156 |
| - | Actions | To automate the entire process of repatitive task on GitHub | |
157 |
| - | Forks | Cloning the original repo to your name | |
158 |
| -
|
159 |
| -
|
160 |
| -The fork is a personal copy of the repo which is already present or uploaded in GitHub by a different user. Once you fork and make changes to the repository the changes will happen to your forked repo, not the real one. |
161 |
| -
|
162 |
| -::: |
163 |
| -
|
164 |
| -
|
165 |
| -
|
166 |
| -### Watch the video Tutorial |
167 |
| -<iframe width="880" height="480" src="https://www.youtube.com/embed/GrTV59Y84S8?list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63" title="How to start with GitHub in 2024 | Beginner's Guide" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |
168 |
| -
|
169 |
| -<AdsComponent /> |
170 |
| -
|
171 | 98 | ## Conclusion
|
172 | 99 |
|
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. --> |
| 100 | +Python is a powerful and versatile programming language that is easy to learn and widely used across different domains. Its simple syntax, vast libraries, and strong community support make it an excellent choice for both beginners and experienced developers. |
| 101 | +
|
| 102 | +👉 Next: [Python Basics](./basics) |
0 commit comments