{"id":20299847,"url":"https://github.com/python-ninja-hebi/training","last_synced_at":"2026-05-26T23:33:00.377Z","repository":{"id":178032485,"uuid":"245869067","full_name":"Python-Ninja-Hebi/Training","owner":"Python-Ninja-Hebi","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-15T17:17:17.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T06:24:43.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Python-Ninja-Hebi.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":"2020-03-08T18:47:10.000Z","updated_at":"2020-03-15T17:17:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"14f39101-9c3a-4191-b1a9-da90c3f58238","html_url":"https://github.com/Python-Ninja-Hebi/Training","commit_stats":null,"previous_names":["python-ninja-hebi/training"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Python-Ninja-Hebi/Training","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Ninja-Hebi%2FTraining","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Ninja-Hebi%2FTraining/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Ninja-Hebi%2FTraining/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Ninja-Hebi%2FTraining/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Python-Ninja-Hebi","download_url":"https://codeload.github.com/Python-Ninja-Hebi/Training/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Ninja-Hebi%2FTraining/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33543973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T16:16:31.901Z","updated_at":"2026-05-26T23:33:00.359Z","avatar_url":"https://github.com/Python-Ninja-Hebi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Training with Python Ninja Hebi\n\nAuthor hebi@python-ninja.com\n\n\u003e\u003cspan style=\"font-size:larger;\"\u003eEven a python ninja has to find a solution to everyday tasks   \n\u003ebefore the way is clear to the ultimate wisdom.\u003c/span\u003e\n\n## Task 1 - Delete all files with extension '.doc' in a folder\n\nThere are different ways to reach the goal. But you can not do it with only one command.\n\n\n```python\nimport os\nfolder = '/example_path/'\nfor file in os.listdir(folder):\n    if file.endswith('.doc'):\n        os.remove(folder + file)\n```\n\n\n```python\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-ninja-hebi%2Ftraining","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-ninja-hebi%2Ftraining","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-ninja-hebi%2Ftraining/lists"}