Initial commit

Mira Kovac 1 year ago
commit 09486ceebb95df20a919b07ba6c20f8e91e81edf
3 changed files with 62 additions and 0 deletions
+6-0.gitignore ADDED
@@ -0,0 +1,6 @@
1+__pycache__/
2+*.pyc
3+.venv/
4+.env
5+budget.json
6+notes.txt
+21-0LICENSE ADDED
@@ -0,0 +1,21 @@
1+MIT License
2+
3+Copyright (c) 2025 glibCode
4+
5+Permission is hereby granted, free of charge, to any person obtaining a copy
6+of this software and associated documentation files (the "Software"), to deal
7+in the Software without restriction, including without limitation the rights
8+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+copies of the Software, and to permit persons to whom the Software is
10+furnished to do so, subject to the following conditions:
11+
12+The above copyright notice and this permission notice shall be included in all
13+copies or substantial portions of the Software.
14+
15+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+SOFTWARE.
+35-0README.md ADDED
@@ -0,0 +1,35 @@
1+# Python for Absolute Beginners
2+
3+Example code and exercises for the glibCode course **[Python for Absolute Beginners](https://glibcode.net/courses/python-basics/)** (Beginner, about 9 hours).
4+
5+Variables, loops, functions and files, then a real project: a budget tracker that reads your bank's CSV export.
6+
7+## Lessons
8+
9+| # | Lesson | Code |
10+| --- | --- | --- |
11+| 1 | Your first program | [`lessons/01-your-first-program`](lessons/01-your-first-program/) |
12+| 2 | Variables and types | [`lessons/02-variables-and-types`](lessons/02-variables-and-types/) |
13+| 3 | Making decisions with if | [`lessons/03-making-decisions-with-if`](lessons/03-making-decisions-with-if/) |
14+| 4 | Loops that do the work | [`lessons/04-loops-that-do-the-work`](lessons/04-loops-that-do-the-work/) |
15+| 5 | Functions: name it once, use it everywhere | [`lessons/05-functions-name-it-once-use-it-everywhere`](lessons/05-functions-name-it-once-use-it-everywhere/) |
16+| 6 | Lists and dictionaries | [`lessons/06-lists-and-dictionaries`](lessons/06-lists-and-dictionaries/) |
17+| 7 | Reading and writing files | [`lessons/07-reading-and-writing-files`](lessons/07-reading-and-writing-files/) |
18+| 8 | Errors and how to read them | [`lessons/08-errors-and-how-to-read-them`](lessons/08-errors-and-how-to-read-them/) |
19+| 9 | Modules and pip | [`lessons/09-modules-and-pip`](lessons/09-modules-and-pip/) |
20+| 10 | Project: budget tracker | [`lessons/10-project-budget-tracker`](lessons/10-project-budget-tracker/) |
21+
22+## Getting started
23+
24+```sh
25+git clone https://git.glibcode.net/glibcode/python-basics.git
26+cd python-basics
27+```
28+
29+Python 3.10 or newer. Lesson 9 needs `pip install -r requirements.txt`.
30+
31+Questions? Ask in the course forum or write to help@glibcode.net.
32+
33+## License
34+
35+The code is MIT licensed (see `LICENSE`). The lesson texts are © glibCode.