An open API service indexing awesome lists of open source software.

https://github.com/stfuxbm/python-basic

Tutorials and basic applications that cover fundamental Python concepts and techniques.
https://github.com/stfuxbm/python-basic

python python-basics

Last synced: about 2 months ago
JSON representation

Tutorials and basic applications that cover fundamental Python concepts and techniques.

Awesome Lists containing this project

README

        

# Python Basic

This repository is designed as a learning resource for beginners who want to start learning Python. It provides a series of tutorials and basic applications that cover fundamental Python concepts and techniques.

## Installation Guide

Follow these steps to install and run the project locally:

1. **Install Python:**

Visit the official Python website at [https://www.python.org/downloads/](https://www.python.org/downloads/) and download the latest version for your operating system (Windows, macOS, or Linux).

After installation, verify that Python is installed correctly by running:

```bash
python --version
```

> If you're on macOS/Linux and `python` doesn't work, try using `python3`.

2. **Clone the repository:**

```bash
git clone https://github.com/stfuxbm/python-basic.git
```

3. **Navigate to the project directory:**

```bash
cd python-basic
```

4. **Create and activate a virtual environment:**

```bash
python -m venv venv
source venv/bin/activate # For Linux/macOS
venv\Scripts\activate # For Windows
```

5. **Navigate to the `src` folder:**

Since all the main application files are in the `src` folder, navigate there:

```bash
cd src
```

6. **Run the application locally:**

You can choose the folder you want to explore (e.g., `1.hello-world`, `2.comments`, etc.) and run the respective `main.py` file. Example:

```bash
cd 1.hello-world
python main.py
```

Repeat the same for other tutorials by navigating to the respective folder and running:

```bash
python main.py
```

This command will execute the Python file and you can start interacting with the tutorial locally.

## Contribution Guidelines

Contributions are welcome. Fork this repository, create a new branch, and submit a pull request. Please follow the coding guidelines and add tests where necessary.

## License

This project is licensed under the **MIT License**. You are free to use, modify, and distribute the code.