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

https://github.com/hamed-gharghi/python

This repository contain all python codes
https://github.com/hamed-gharghi/python

beginner beginner-python calculator calculator-python code-examples learning-python programming programming-basics python python-calculator python-exercises python-project python-tutorial python3 simple-project

Last synced: 26 days ago
JSON representation

This repository contain all python codes

Awesome Lists containing this project

README

        

![Python-01](https://github.com/user-attachments/assets/d66e1eba-5c88-4628-bdf0-59633128321f)

![View Count](https://komarev.com/ghpvc/?username=Hamed-Gharghi&color=blue&style=for-the-badge)
# Python Scripts Repository

Welcome to the Python Scripts Repository! This repository contains a collection of Python scripts, including basic examples like "Hello World" and more advanced scripts organized into different categories.

[**English**](#python-scripts-repository) | [**فارسی**](#سورس-کدهای-پایتون)

## Getting Started 🚀

### Installing Python

To run the scripts in this repository, you need to have Python installed on your device. Follow these steps to install Python:

1. **Download Python**:
- Go to the official Python website: [Python.org](https://www.python.org/)
- Navigate to the [Downloads](https://www.python.org/downloads/) section.
- Choose the version appropriate for your operating system (Windows, macOS, or Linux) and download the installer.

2. **Install Python**:
- Run the downloaded installer.
- During installation, make sure to check the box that says "Add Python to PATH" to ensure Python is added to your system environment variables.
- Follow the prompts to complete the installation.

3. **Verify Installation**:
- Open your command line interface (CLI) (Command Prompt on Windows, Terminal on macOS/Linux).
- Type `python --version` or `python3 --version` and press Enter. You should see the installed Python version.

### Recommended IDEs 💻

To write and run Python code more efficiently, you can use an Integrated Development Environment (IDE). Here are some popular choices:

1. **PyCharm**:
- Download: [PyCharm Download](https://www.jetbrains.com/pycharm/download/)
- PyCharm is a powerful IDE specifically for Python, offering a rich set of features and plugins.

![PyCharm](https://img.shields.io/badge/IDE-PyCharm-blue)

2. **Visual Studio Code (VSCode)**:
- Download: [VSCode Download](https://code.visualstudio.com/)
- VSCode is a versatile and lightweight code editor with excellent Python support through extensions.

![VSCode](https://img.shields.io/badge/IDE-VSCode-blue)

3. **Python IDLE**:
- Python IDLE comes bundled with Python installation.
- It’s a simple and easy-to-use IDE for beginners, offering a straightforward interface to write and run Python code.

![Python IDLE](https://img.shields.io/badge/IDE-Python_IDE-yellowgreen)

---



___

![Python-01](https://github.com/user-attachments/assets/d66e1eba-5c88-4628-bdf0-59633128321f)

# سورس کدهای پایتون

به مخزن سورس کدهای پایتون خوش آمدید! این مخزن شامل مجموعه‌ای از اسکریپت‌های پایتون است، از جمله مثال‌های ساده مانند "Hello World" و اسکریپت‌های پیشرفته‌تر که در دسته‌های مختلف سازماندهی شده‌اند.

[**English**](#python-scripts-repository) | [**فارسی**](#سورس-کدهای-پایتون)

## شروع کار 🚀

### نصب پایتون

برای اجرای اسکریپت‌های این مخزن، باید پایتون را روی دستگاه خود نصب کرده باشید. مراحل زیر را برای نصب پایتون دنبال کنید:

1. **دانلود پایتون**:
- به وب‌سایت رسمی پایتون بروید: [Python.org](https://www.python.org/)
- به بخش [دانلودها](https://www.python.org/downloads/) بروید.
- نسخه مناسب برای سیستم‌عامل خود (ویندوز، macOS، یا لینوکس) را انتخاب کرده و نصب‌کننده را دانلود کنید.

2. **نصب پایتون**:
- نصب‌کننده دانلود شده را اجرا کنید.
- در طول نصب، اطمینان حاصل کنید که گزینه "Add Python to PATH" را تیک بزنید تا پایتون به متغیرهای محیطی سیستم شما اضافه شود.
- مراحل نصب را دنبال کنید تا نصب کامل شود.

3. **بررسی نصب**:
- رابط خط فرمان (CLI) خود را باز کنید (Command Prompt در ویندوز، Terminal در macOS/Linux).
- تایپ کنید `python --version` یا `python3 --version` و Enter را فشار دهید. باید نسخه نصب شده پایتون را مشاهده کنید.

### IDEهای پیشنهادی 💻

برای نوشتن و اجرای کد پایتون به طور مؤثرتر، می‌توانید از یک محیط توسعه یکپارچه (IDE) استفاده کنید. در اینجا برخی از انتخاب‌های محبوب آورده شده است:

1. **PyCharm**:
- دانلود: [PyCharm Download](https://soft98.ir/software/programming/1652-pycharm.html)
- PyCharm یک IDE قدرتمند به ویژه برای پایتون است که مجموعه‌ای از ویژگی‌ها و افزونه‌های مفید را ارائه می‌دهد.

![PyCharm](https://img.shields.io/badge/IDE-PyCharm-blue)

2. **Visual Studio Code (VSCode)**:
- دانلود: [VSCode Download](https://code.visualstudio.com/)
- VSCode یک ویرایشگر کد چندمنظوره و سبک است که پشتیبانی عالی از پایتون از طریق افزونه‌ها را ارائه می‌دهد.

![VSCode](https://img.shields.io/badge/IDE-VSCode-blue)

3. **Python IDLE**:
- Python IDLE به همراه نصب پایتون ارائه می‌شود.
- این یک IDE ساده و آسان برای مبتدیان است که یک رابط ساده برای نوشتن و اجرای کد پایتون را ارائه می‌دهد.

![Python IDLE](https://img.shields.io/badge/IDE-Python_IDE-yellowgreen)