{"id":21864113,"url":"https://github.com/chmohit91/Introduction-to-Python","last_synced_at":"2025-07-21T02:31:09.195Z","repository":{"id":264760113,"uuid":"893309448","full_name":"chmohit91/Introduction-to-Python","owner":"chmohit91","description":"A comprehensive collection of Python programming resources, from basics to advanced concepts. Built for learners, by learners","archived":false,"fork":false,"pushed_at":"2025-02-07T16:02:10.000Z","size":70986,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:45:21.652Z","etag":null,"topics":["matplotlib","numpy","pandas","plotly","python","python-library","python3","seaborn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chmohit91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T04:50:43.000Z","updated_at":"2025-02-07T16:02:13.000Z","dependencies_parsed_at":"2025-01-26T17:33:02.320Z","dependency_job_id":null,"html_url":"https://github.com/chmohit91/Introduction-to-Python","commit_stats":null,"previous_names":["chmohit91/python-learning-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chmohit91/Introduction-to-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmohit91%2FIntroduction-to-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmohit91%2FIntroduction-to-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmohit91%2FIntroduction-to-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmohit91%2FIntroduction-to-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmohit91","download_url":"https://codeload.github.com/chmohit91/Introduction-to-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmohit91%2FIntroduction-to-Python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266229454,"owners_count":23896268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["matplotlib","numpy","pandas","plotly","python","python-library","python3","seaborn"],"created_at":"2024-11-28T04:07:30.073Z","updated_at":"2025-07-21T02:31:09.189Z","avatar_url":"https://github.com/chmohit91.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction to Python 🐍\n\n## Table of Contents\n- [What is Python?](#what-is-python)\n- [Why Learn Python?](#why-learn-python)\n- [Setting Up Python](#setting-up-python)\n- [Basic Syntax and Concepts](#basic-syntax-and-concepts)\n- [Data Types](#data-types)\n- [Control Structures](#control-structures)\n- [Functions](#functions)\n- [Modules and Packages](#modules-and-packages)\n- [Best Practices](#best-practices)\n- [Learning Resources](#learning-resources)\n- [Contributing](#contributing)\n- [License](#license)\n\n## What is Python? 🖥️\n\nPython is a high-level, interpreted programming language known for its:\n- Clean and readable syntax\n- Versatility across different domains\n- Extensive standard library\n- Strong community support\n\n## Why Learn Python? 🚀\n\nPython is incredibly popular due to its applications in:\n- Web Development\n- Data Science and Machine Learning\n- Artificial Intelligence\n- Automation and Scripting\n- Scientific Computing\n- Game Development\n- Desktop Applications\n\n## Setting Up Python 💻\n\n### Installation\n\n1. **Download Python**:\n   - Visit [python.org](https://www.python.org/downloads/)\n   - Download the latest version for your operating system\n   - During installation, check \"Add Python to PATH\"\n\n2. **Verify Installation**:\n   ```bash\n   python --version\n   pip --version\n   ```\n\n### Recommended Development Environments\n- **Visual Studio Code**: Free, lightweight, extensible\n- **PyCharm**: Comprehensive IDE for professional development\n- **Jupyter Notebook**: Great for data science and interactive coding\n- **IDLE**: Built-in Python IDE (comes with Python installation)\n\n## Basic Syntax and Concepts 📝\n\n### Hello World\n```python\nprint(\"Hello, Python World!\")\n```\n\n### Variables and Data Types\n```python\n# Basic variable assignment\nname = \"Python Learner\"  # String\nage = 25  # Integer\nheight = 5.9  # Float\nis_student = True  # Boolean\n\n# Multiple assignment\nx, y, z = 1, 2, 3\n```\n\n### Comments\n```python\n# This is a single-line comment\n\n\"\"\"\nThis is a \nmulti-line comment\n\"\"\"\n```\n\n## Data Types 📊\n\n### Numeric Types\n- `int`: Whole numbers\n- `float`: Decimal numbers\n- `complex`: Complex numbers\n\n### Sequence Types\n- `list`: Ordered, mutable collection\n- `tuple`: Ordered, immutable collection\n- `range`: Sequence of numbers\n\n### Mapping Type\n- `dict`: Key-value pairs\n\n### Set Types\n- `set`: Unordered collection of unique elements\n- `frozenset`: Immutable version of set\n\n## Control Structures 🔀\n\n### Conditional Statements\n```python\n# If-Else\nif condition:\n    # do something\nelif another_condition:\n    # do something else\nelse:\n    # default action\n```\n\n### Loops\n```python\n# For loop\nfor item in collection:\n    # do something\n\n# While loop\nwhile condition:\n    # repeat until condition is False\n```\n\n## Functions 🧩\n\n```python\ndef greet(name):\n    \"\"\"Greeting function with docstring\"\"\"\n    return f\"Hello, {name}!\"\n\n# Lambda function\nsquare = lambda x: x ** 2\n```\n\n## Modules and Packages 📦\n\n```python\n# Importing modules\nimport math\nfrom datetime import datetime\n\n# Installing packages\n# pip install package_name\n```\n\n## Best Practices 🏆\n\n1. Use meaningful variable names\n2. Follow PEP 8 style guide\n3. Use virtual environments\n4. Write clean, readable code\n5. Comment and document your code\n6. Handle exceptions gracefully\n\n## Learning Resources 📚\n\n### Online Platforms\n- Codecademy\n- Coursera\n- edX\n- Udacity\n- freeCodeCamp\n\n### Books\n- \"Python Crash Course\" by Eric Matthes\n- \"Automate the Boring Stuff with Python\" by Al Sweigart\n- \"Learning Python\" by Mark Lutz\n\n### YouTube Channels\n- Corey Schafer\n- Sentdex\n- Real Python\n\n## Contributing 🤝\n\n1. Fork the repository\n2. Create your feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n\n## License 📄\n\nThis project is open-source. \n[Choose an appropriate license, e.g., MIT License]\n\n---\n\n**Happy Coding! 💻✨**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmohit91%2FIntroduction-to-Python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmohit91%2FIntroduction-to-Python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmohit91%2FIntroduction-to-Python/lists"}