/Python

This repository contain all python codes

Primary LanguagePythonMIT LicenseMIT

Python-01

View Count

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 | فارسی

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
    • Navigate to the 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
    • PyCharm is a powerful IDE specifically for Python, offering a rich set of features and plugins.

    PyCharm

  2. Visual Studio Code (VSCode):

    • Download: VSCode Download
    • VSCode is a versatile and lightweight code editor with excellent Python support through extensions.

    VSCode

  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





Python-01

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

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

English | فارسی

شروع کار 🚀

نصب پایتون

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

  1. دانلود پایتون:

    • به وب‌سایت رسمی پایتون بروید: Python.org
    • به بخش دانلودها بروید.
    • نسخه مناسب برای سیستم‌عامل خود (ویندوز، macOS، یا لینوکس) را انتخاب کرده و نصب‌کننده را دانلود کنید.
  2. نصب پایتون:

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

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

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

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

  1. PyCharm:

    • دانلود: PyCharm Download
    • PyCharm یک IDE قدرتمند به ویژه برای پایتون است که مجموعه‌ای از ویژگی‌ها و افزونه‌های مفید را ارائه می‌دهد.

    PyCharm

  2. Visual Studio Code (VSCode):

    • دانلود: VSCode Download
    • VSCode یک ویرایشگر کد چندمنظوره و سبک است که پشتیبانی عالی از پایتون از طریق افزونه‌ها را ارائه می‌دهد.

    VSCode

  3. Python IDLE:

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

    Python IDLE