{"id":19957555,"url":"https://github.com/rimubytes/python-demos","last_synced_at":"2026-04-28T13:38:44.456Z","repository":{"id":241784686,"uuid":"807515287","full_name":"rimubytes/python-demos","owner":"rimubytes","description":"This is a repo depicting basics of python library in projects","archived":false,"fork":false,"pushed_at":"2024-08-09T08:53:08.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T15:46:56.755Z","etag":null,"topics":["flask","jinja","python","tkinter-gui"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rimubytes.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-05-29T08:47:55.000Z","updated_at":"2024-08-09T08:54:18.000Z","dependencies_parsed_at":"2024-09-14T14:30:48.672Z","dependency_job_id":null,"html_url":"https://github.com/rimubytes/python-demos","commit_stats":null,"previous_names":["m-murithi/python-demos","rimubytes/python-demos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rimubytes/python-demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Fpython-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Fpython-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Fpython-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Fpython-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimubytes","download_url":"https://codeload.github.com/rimubytes/python-demos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimubytes%2Fpython-demos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261200384,"owners_count":23123946,"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":["flask","jinja","python","tkinter-gui"],"created_at":"2024-11-13T01:38:14.643Z","updated_at":"2026-04-28T13:38:39.405Z","avatar_url":"https://github.com/rimubytes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-demos\nThis is a repo depicting basics of python library in projects\n\n## How to Execute Python Programs in VSCode and PyCharm\n\nThis guide will walk you through the steps to run Python programs in Visual Studio Code (VSCode) and PyCharm.\n\n### Prerequisites\n- Python installed on your system. Download it from [python.org](https://www.python.org/).\n- The desired IDE installed on your system:\n  - [Visual Studio Code](https://code.visualstudio.com/)\n  - [PyCharm](https://www.jetbrains.com/pycharm/)\n\n---\n\n## Running Python Programs in Visual Studio Code (VSCode)\n\n### 1. Install VSCode and Python Extension\n1. **Download and Install VSCode**: \n   - Download from [code.visualstudio.com](https://code.visualstudio.com/).\n   - Install following the instructions for your operating system.\n\n2. **Install Python Extension for VSCode**:\n   - Open VSCode.\n   - Go to the Extensions view by clicking the Extensions icon in the Activity Bar or by pressing `Ctrl+Shift+X`.\n   - Search for \"Python\" and install the extension provided by Microsoft.\n\n### 2. Running a Python Script\n1. **Open or Create a Python File**:\n   - Open an existing `.py` file by going to `File \u003e Open File...`.\n   - Or create a new Python file by going to `File \u003e New File` and save it with a `.py` extension.\n\n2. **Select Python Interpreter**:\n   - Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS) to open the Command Palette.\n   - Type `Python: Select Interpreter` and select your Python interpreter.\n\n3. **Run the Python Script**:\n   - **Using the Terminal**:\n     - Open the integrated terminal by going to `View \u003e Terminal` or pressing `` Ctrl+` ``.\n     - Navigate to your script’s directory using `cd path_to_your_script`.\n     - Run your script by typing `python script_name.py` (or `python3 script_name.py` on some systems) and pressing Enter.\n   - **Using the Run Button**:\n     - Open the Python file you want to run.\n     - Click the `Run` button in the top-right corner of the editor.\n     - Alternatively, right-click the file in the Explorer view and select `Run Python File in Terminal`.\n\n---\n\n## Running Python Programs in PyCharm\n\n### 1. Install PyCharm\n1. **Download and Install PyCharm**:\n   - Download from [jetbrains.com/pycharm](https://www.jetbrains.com/pycharm/).\n   - Install following the instructions for your operating system.\n\n### 2. Running a Python Script\n1. **Open or Create a Python Project**:\n   - Open PyCharm.\n   - To open an existing project, go to `File \u003e Open...` and select your project folder.\n   - To create a new project, go to `File \u003e New Project...`, choose a location, and set up a new project.\n\n2. **Create or Open a Python File**:\n   - In your project, right-click the project folder in the Project view, select `New \u003e Python File`, and name it.\n   - Or, open an existing Python file by double-clicking it in the Project view.\n\n3. **Configure Python Interpreter**:\n   - Go to `File \u003e Settings...` (or `PyCharm \u003e Preferences...` on macOS).\n   - Navigate to `Project: \u003cyour_project_name\u003e \u003e Python Interpreter`.\n   - Select the interpreter you want to use, or add a new interpreter if necessary.\n\n4. **Run the Python Script**:\n   - Right-click the Python file in the Project view or the editor, and select `Run 'filename'`.\n   - Alternatively, with the file open, click the green play button in the top-right corner of the editor.\n\n### Additional Tips\n- **Running via Terminal**:\n  - Open the terminal within PyCharm by going to `View \u003e Tool Windows \u003e Terminal`.\n  - Navigate to your script’s directory and run it using `python script_name.py`.\n\nBy following these steps, you will be able to run your Python scripts efficiently in both Visual Studio Code and PyCharm.\n\n---\n\n## Troubleshooting\n- Ensure Python is installed and added to your system's PATH.\n- Check that the correct Python interpreter is selected in both IDEs.\n- Make sure all necessary Python extensions/plugins are installed and enabled.\n\nIf you encounter any issues, refer to the official documentation or support for [VSCode](https://code.visualstudio.com/docs) and [PyCharm](https://www.jetbrains.com/pycharm/documentation/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimubytes%2Fpython-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimubytes%2Fpython-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimubytes%2Fpython-demos/lists"}