{"id":22420038,"url":"https://github.com/tempehs/pythonfundamentals","last_synced_at":"2025-08-01T04:31:58.335Z","repository":{"id":216476411,"uuid":"650557272","full_name":"TempeHS/PythonFundamentals","owner":"TempeHS","description":"A fork of Harvard's CS50 Python course for Codepsaces.","archived":false,"fork":false,"pushed_at":"2024-11-28T00:54:20.000Z","size":10794,"stargazers_count":0,"open_issues_count":0,"forks_count":25,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-28T01:17:48.607Z","etag":null,"topics":["codespaces","learn-python","learn-to-code","learning-exercise","python","python3","vscode"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TempeHS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-07T10:17:16.000Z","updated_at":"2024-11-28T00:54:24.000Z","dependencies_parsed_at":"2024-10-27T11:17:48.844Z","dependency_job_id":"09aaaa05-e16f-4826-bfee-176c03f5aee7","html_url":"https://github.com/TempeHS/PythonFundamentals","commit_stats":null,"previous_names":["tempehs/pythonfundamentals"],"tags_count":0,"template":true,"template_full_name":"microsoft/vscode-remote-try-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FPythonFundamentals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FPythonFundamentals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FPythonFundamentals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FPythonFundamentals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TempeHS","download_url":"https://codeload.github.com/TempeHS/PythonFundamentals/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228330022,"owners_count":17903019,"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":["codespaces","learn-python","learn-to-code","learning-exercise","python","python3","vscode"],"created_at":"2024-12-05T16:17:28.123Z","updated_at":"2024-12-05T16:17:29.764Z","avatar_url":"https://github.com/TempeHS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Fundamentals\r\n## Lectures - Term 1\r\n1. [Functions \u0026 Variables](0-FunctionsVariables/0-FunctionsVariables.md)\r\n2. [Conditionals](1-Conditionals/1-Conditionals.md)\r\n3. [Loops](2-Loops/2-Loops.md)\r\n4. [Debugging](Debugging/Debugging.md)\r\n5. [Exceptions](3-Exceptions/3-Exceptions.md)\r\n6. [Libraries](4-Libraries/4-Libraries.md)\r\n7. [Unit Tests](5-UnitTests/5-UnitTests.md)\r\n8. [File IO](6-FileIO/6-FileIO.md)\r\n\r\n## Lectures - Term 2\r\n\r\n2. [Object Oriented Paradigm](8-OOP/8-OOP.md)\r\n\r\n## Lectures - Optional\r\n1. [Regular Expressions](7-RegularExpressions/7-RegularExpressions.md)\r\n2. [Et Cetera](9-EtCetera/9-EtCetera.md)\r\n\r\n---\r\n\r\n# Commonly used commands\r\n## Bash Commands \r\n1. `clear` clear the terminal window\r\n2. `ls` list files and folders in the active folder\r\n3. `cp [source name] [destination name]` copy a file or folder, example `cp hello.py goodbye.py` copies the file `hello.py` and saves it as `goodbye.py`\r\n4. `mv [target file] [new name]` rename a file or folder, example `mv hello.py hi.py` renames the file `hello.py` to `hi.py`\r\n5. `rm [target file]` removes (deletes) the target file, example `rm hi.py`\r\n6. `mkdir [name]` makes a new folder (directory), example `mkdir myFolder`\r\n7. `rmdir [child folder name]` removes a child folder (directory) of the active folder, example `rmdir myFolder`\r\n7. `cd [child folder name] changes the active folder, example `cd myFolder`\r\n8. `..` move to the parent folder, example `cd ..`moves the active folder to the parent folder\r\n\r\n## Python Commands\r\n1. `code hello.py` create a python file call **hello** and begin coding into the file\r\n2. `python hello.py` execute the python program\r\n\r\n## Git commands\r\n1. Pull latest code from the repository\r\n\r\n\t\tgit pull\r\n2. Add indoor.py to the changes to be committed\r\n\r\n\t\tgit add [file name]\r\n3. Add all chnaged files to the changes to be committed\r\n\r\n\t\tgit add -A\r\n3. Commit all changes in the REPO with comments\r\n\r\n\t\tgit commit -m “My comment“\r\n4. Push all changes to the REPO\r\n\r\n\t\tgit push \r\n\r\n# How to setup your workspace\r\n1. Fork this repository\r\n![](images/fork.png \"\")\r\n2. Correctly name your new reposity\r\n![](images/fork2.png \"\")\r\n3. Open either a virtual or local itegrated developer environment\r\n- Run a virtual codespace\r\n![](images/codespace.png \"\")\r\n_Wait until you see the README.md so your CodeSpace is fully configured_\r\n- Run a local Visual Code\r\n![](images/codespace3.png \"\")\r\n_Make sure all extensions have loaded_\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempehs%2Fpythonfundamentals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftempehs%2Fpythonfundamentals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempehs%2Fpythonfundamentals/lists"}