Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/python/conditional-statements-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Conditional statements in Python allow you to make decisions in your code. They

## The `if` Statement

The simplest conditional is the `if` statement.
The simplest conditional statement is the `if` statement.

**Syntax:**

Expand Down
6 changes: 3 additions & 3 deletions docs/python/intro-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ You can run this code in any Python interpreter, and it will display the message
4. Verify installation by typing `python --version` in the terminal or command prompt.


### Why Python is So Popular?
### Why is Python so Popular?

Python has gained massive popularity across industries and educational institutions because of the following reasons:

Expand All @@ -86,7 +86,7 @@ Python has gained massive popularity across industries and educational instituti
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.

* **Cross-platform Compatibility**
Python runs on all major operating systems (Windows, macOS, Linux), making it accessible and flexible.
Python runs on all major operating systems (Windows, macOS, Linux) making it accessible and flexible.

* **Strong Community Support**
Python has a huge global community, active forums, and abundant learning resources for beginners and professionals alike.
Expand All @@ -97,4 +97,4 @@ Python has gained massive popularity across industries and educational instituti

## Conclusion

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.
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.
2 changes: 1 addition & 1 deletion docs/python/python-array.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:

---

# Python Arrays
# Arrays in Python

An **Array** in Python is a data structure that stores multiple elements of the **same data type** in contiguous memory locations.
Arrays are **ordered**, **mutable**, and **type-restricted**, making them more memory-efficient than lists for large numeric data.
Expand Down
2 changes: 1 addition & 1 deletion docs/python/python-casting.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:

---

# Python Casting
# Type Casting

In Python, **casting** is the process of converting a variable from one type to another. Python has built-in functions for converting between data types.

Expand Down
2 changes: 1 addition & 1 deletion docs/python/python-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
---


# Python Lists
# Lists in Python

A **List** in Python is a data structure that allows you to store multiple items in a single variable. Lists are **ordered**, **mutable**, and **can contain elements of different data types**.

Expand Down
2 changes: 1 addition & 1 deletion docs/python/python-tuple.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: python-tuple
title: Tuple in Python
sidebar_label: Tuple in Python #displays in sidebar
sidebar_label: Tuples in Python #displays in sidebar
sidebar_position: 9
tags:
[
Expand Down
10 changes: 5 additions & 5 deletions docs/python/python-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Here:

### 2. How to Declare and Assign Variables

You simply write a variable name, use the `=` sign, and assign a value.
You simply write a variable name, use the assignment `=` operator, and assign a value.

```python
a = 10
Expand All @@ -59,7 +59,7 @@ Python allows assigning values to multiple variables in a single line.
x, y, z = 1, 2, 3
```

You can also assign the **same value to multiple variables**:
You can also assign **same value to multiple variables**:

```python
a = b = c = 100
Expand All @@ -69,8 +69,8 @@ a = b = c = 100
### 4. Variable Naming Rules

* Must start with a letter (a–z, A–Z) or an underscore (\_)
* Can contain letters, digits, and underscores
* Are case-sensitive (`name` and `Name` are different)
* Can contain letters, digits, and special character like underscore.
* Are case-sensitive (`name` and `Name` are different).
* Cannot use reserved keywords like `if`, `class`, `def`, etc.

```python
Expand Down Expand Up @@ -129,7 +129,7 @@ print(x) # Raises NameError

### 9. Scope of Variables

There are **two types of variable scope**:
There are **two scopes of variables**:

### 10. Global Variable

Expand Down
4 changes: 2 additions & 2 deletions docs/python/python_oops.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:
---


# Python OOPs
# Python OOPs concept

**OOP** is a way of organizing code that uses objects and classes to represent real-world entities and their behavior. In OOP, object has attributes thing that has specific data and can perform certain actions using methods.

Expand Down Expand Up @@ -67,7 +67,7 @@ class BankAccount:

4. Inheritance - One class can inherit from another.

📌 **Use Case**: car (parent) class is getting inherited by (child) ElectricCar
📌 **Use Case**: Car (parent) class is inherited by ElectricCar (child) class

```python
class ElectricCar(Car):
Expand Down
2 changes: 1 addition & 1 deletion docs/python/python_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:

# Python Operators

In Python, **operators** are special symbols used to perform operations on variables and values. Python supports a wide variety of operators categorized based on their functionality.
In Python, **operators** are special symbols used to perform operations on variables and values. Python supports a wide range of operators categorized based on their functionality.


Used to perform basic mathematical operations:
Expand Down
44 changes: 23 additions & 21 deletions docs/python/setup-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ description: In this tutorial, you will learn how to set up your development env

Install Python

### Step 1: Let’s Download the git
### Step 1: Let’s Download the git.

1. Go to the [Git Website](https://git-scm.com/) and click on download for windows button.

Expand All @@ -30,77 +30,77 @@ Install Python
</BrowserWindow>


### Step 2: Select your Version you want to insatll.
### Step 2: Select your Version you want to install.

1. Get your Installer:

Based on the current version of windows you can choose to have standalone installer or windows insaller to get started with. As my system is 64 bit i will choose here 64 bit, you can get know which system you are using by going to ``This PC`` icon right click on ``Properties`` Check under the system type.
Based on your current version of Windows, you can choose either the standalone installer or Windows installer to get started. Since my system is 64-bit, I'll choose the 64-bit option. You can check which system type you have by right clicking ``This PC`` icon, selecting ``Properties``, and looking under ``System type``.

- **Installer:** Get the Installer
<BrowserWindow url="https://git-scm.com/downloads/win" bodyStyle={{padding: 0}}>
[![GitHub](./assets/setupimg2.png)](https://git-scm.com/downloads/win)
</BrowserWindow>


- **Start Installation:** Open the Installer, upon downloading.
- **Start Installation:** Upon downloading, open the installer.


<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
[![GitHub](./assets/setupimg3.png)](https://git-scm.com/)
</BrowserWindow>

- 1. The next screen click next on Public Licence.
- 1. On the next screen, click next on Public Licence.
- 2. Choose the location as default and click on Next



### Step 3: Understanding the Interface.

Next step, Git Will ask you to install couple of components you can checko on additional icons to add on Desktop and leave the rest as default and click on the Next.
In the next step, Git will ask you to install couple of components. You can check on additional icons to add on Desktop and leave the rest as default and click on Next.

- 1. The next screen click next , make sure the start folder name is Git.
- 2. Next option is to choose the default editor you can use your editor, im using visual studio code. or keep Vim as the default editor
- 1. On the next screen click next , make sure the start folder name is Git.
- 2. Next option is to choose the default editor you can use your editor, I'm using Visual Studio Code. Or keep Vim as the default editor.


<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
[![GitHub](./assets/setupimg4.png)](https://git-scm.com/)
</BrowserWindow>


### Step 5: Adjusting name of the repo setting in Git
### Step 5: Adjusting name of the repo setting in Git.

This stage it will ask you to Choose a initial branch in new repository, it would be ideal approach to give the second option, as we move further it gives us flexibility to change the intial branch name , like main master, trunk.
At this stage it will ask you to choose an initial branch in a new repository, it would be ideal approach to choose the second option, as we move further it gives us flexibility to change the intial branch name , like main master, trunk.


<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
[![Github](./assets/setupimg5.png)](https://github.com/sanjay-kv)
</BrowserWindow>


### Step 5: Adjusting Your path enviornment
### Step 5: Adjusting Your path enviornment.

This is where we specify the path enviornment of git, just go with the recommened option which is 2.
This is where we specify the path enviornment of git, just go with the recommended option which is 2.

<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
[![Github](./assets/setupimg6.png)](https://github.com/sanjay-kv)
</BrowserWindow>


1. ``1`` In the next screen choose the SSH Executable, use the deafault one ``use bundled OpenSSH`` which is the default option.
2. ``2`` On the next, you will ask to configuring the line ending conversions, you gotta keep it default which is option 1.
1. ``1`` In the next screen choose the SSH Executable, pick ``use bundled OpenSSH`` which is the default option.
2. ``2`` In the next step, you'll be asked configuring the line ending conversions, you should keep it default which is option 1.
3. ``3`` Next step will be configuring the terminal emulator to use the git bash. Keep the default which is option 1.
4. ``4`` Next option is to choose the defualt option to use the gith . use the default one which is the Fast- forward and merge option 1.
5. ``5`` In the Credential helper choose the ``Git Credential Manager`` screen. and click on Next.
6. ``6`` Enable the extra option , click on the ``Enable the file system Caching`` and click on the Next button.
7. ``7`` In the Next step Screen it will ask you to enable the expiremental support , choose the both the option and click on Install.
4. ``4`` Next option is to choose the defualt option to use the git. use the default one which is the Fast-forward and merge option 1.
5. ``5`` In the Credential helper section, choose ``Git Credential Manager``, then click Next.
6. ``6`` Enable the extra option by selecting ``Enable the file system Caching`` then click Next again.
7. ``7`` On the Next Screen, it will ask whether you want to enable expiremental support. Select both options and click Install.

<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
[![Github](./assets/setupimg8.png)](https://github.com/sanjay-kv)
</BrowserWindow>

Congratulations! The Git Setup has been finished and now you can launch the GitHub.
Congratulations! The Git setup is now complete and you can launch GitHub.

After that setup, you can see in your PC’s application list there are few new apps are added like ‘Git Bash,’ ‘Git GUI,’ ‘Git CMD.’ However, we will mostly use Git Bash for uploading our projects.
After installation, you'll find new application in your PC’s program list, such as ‘Git Bash’, ‘Git GUI’, ‘Git CMD’. We'll mainly use Git Bash for uploading our projects.

Execute the below command to see your current version of git in Git CMD or windows command promt. Git Installation on Windows is completed.

Expand All @@ -111,4 +111,6 @@ Install Python

## Conclusion

In conclusion, I hope you enjoyed reading this article on “Setting up your Git Enviornment?”. In the next post, will be discussing using Git to create a Repository and clone a project Github. Signing off Sanjay Viswanathan.
I hope you enjoyed reading this article on “Setting up your Git Enviornment”. In the next post, we'll discuss how to create a Repository and clone a project from Github.
Signing off,
Sanjay Viswanathan.
Loading