{"id":19206195,"url":"https://github.com/jeffthompson/pythonteachingexamples","last_synced_at":"2025-08-13T23:09:10.648Z","repository":{"id":6810143,"uuid":"8058061","full_name":"jeffThompson/PythonTeachingExamples","owner":"jeffThompson","description":"Example scripts for learning Python","archived":false,"fork":false,"pushed_at":"2014-02-26T21:30:55.000Z","size":973,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T17:22:11.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jeffThompson.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}},"created_at":"2013-02-06T19:15:55.000Z","updated_at":"2020-07-15T02:41:21.000Z","dependencies_parsed_at":"2022-08-26T06:31:26.047Z","dependency_job_id":null,"html_url":"https://github.com/jeffThompson/PythonTeachingExamples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeffThompson/PythonTeachingExamples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPythonTeachingExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPythonTeachingExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPythonTeachingExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPythonTeachingExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffThompson","download_url":"https://codeload.github.com/jeffThompson/PythonTeachingExamples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPythonTeachingExamples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270330595,"owners_count":24565816,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09T13:15:02.450Z","updated_at":"2025-08-13T23:09:10.633Z","avatar_url":"https://github.com/jeffThompson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PythonTeachingExamples\n======================\n\nExample scripts for learning Python. Currently examples are for text parsing for data visualization.\n\n**GETTING STARTED**  \nWe'll be writing code in a text editor - I recommend one of the following:  \n+\tText Wrangler (free, [download here](http://www.barebones.com/products/textwrangler/download.html))  \n+\tSublime Text (free with paid upgrade, [download here](http://www.sublimetext.com/2))\n\nPython is a scripting language that is very powerful, but easy to get started with. It should come pre-installed on your computer! To check, open your command line:  \n+\tMac users: `Applications \u003e Utilities \u003e Terminal`  \n+\tPC users: `Start \u003e All Programs \u003e Accessories \u003e Command Prompt`\n\nTo see if Python is set up, type `python` into the window - you should get a bunch of information on which version you have set up.\n\n**WRITING YOUR FIRST SCRIPT**  \nAll Python scripts (programs) will be written in your text editor and saved with the `.py` extension. See the `Basics` folder for some simple examples.\n\nOnce written, you can run your script using the following:  \n+\tText Wrangler: `#! \u003e Run in Terminal...`  \n+\tSublime Text: `Tools \u003e Build... (or command/control B)`  \n\nYour script should run, either in the Terminal window (Text Wrangler) or in the built-in console (Sublime Text).\n\n**BASICS**  \nJust a few simple scripts to get you started. Covers printing, data types, and basic math operators.\n\n**DATA CLEANUP**  \nA few examples of taking messy, real-world data and prepping it for use. (See also the `Text Processing \u003e Introduction to Regular Expressions` example.)\n\n**TEXT PARSING**  \nBasic to intermediate examples on manipulating text.\n\n**UTILITIES**  \nRandom assortment of (hopefully) useful scripts, mostly based on in-the-moment student questions.\n\n\\- \\- \\-\n\n\\[ all code available under [Creative Commons BY-NC-SA license](http://creativecommons.org/licenses/by-nc-sa/3.0/) - feel free to use but [please let me know](http://www.jeffreythompson.org) \\]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffthompson%2Fpythonteachingexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffthompson%2Fpythonteachingexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffthompson%2Fpythonteachingexamples/lists"}