T. Meissner
5d15239439
fixed order of includes; added _GNU_SOURCE define to succ. compile under Linux; through away return value of closedir()
10 years ago
T. Meissner
215c899318
added 21st century c link
10 years ago
T. Meissner
88ac01498d
initial commit of 21st century c book examples
10 years ago
T. Meissner
2e19992f15
added case study of chapter 6
10 years ago
T. Meissner
fcff21703f
Merge branch 'master' of https://www.github.com/tmeissner/learning-by-doing
10 years ago
T. Meissner
b32f55befa
make files pep8 compliant
10 years ago
T. Meissner
9d4d8c41f6
added new file with examples of extending built-in types like integer
10 years ago
T. Meissner
61cf2c9b67
added new file with examples of using the set data type/object
10 years ago
T. Meissner
e3cd75c638
added new file with examples of using the list data type/object
10 years ago
T. Meissner
129ed90f27
completed dict examples by adding various methods for initialising, for example with defaultdict
10 years ago
T. Meissner
53bce1fa4d
completed tupes examples by adding one for named tupes
10 years ago
T. Meissner
9588711a2d
added first examples of chapter 06: tuples
10 years ago
T. Meissner
cd9bc2dd75
added error handling for: invalid filename (empty string), file save error, delete error; back() & forward() now safe in range of 0 .. characters list length; some minor refactoring
10 years ago
T. Meissner
75ae457119
make it pep8 compliant
10 years ago
T. Meissner
4e387a3dc3
added new zipscale variant which uses composition instead of inhiterance
10 years ago
T. Meissner
47dd9bf1cc
make it pep8 compliant
10 years ago
T. Meissner
3a6d1e600d
added timeout after that the webpage still will be loaded
10 years ago
T. Meissner
4a09212506
completed chapter 05 case study
10 years ago
T. Meissner
12f8a5c2c9
making the source files pep8 comliant
10 years ago
T. Meissner
0dbac08bd9
added case study of chapter 05
10 years ago
T. Meissner
5e866e5a68
renamed class ZipReplace into ZipReplaceInh
10 years ago
T. Meissner
4597685ec8
added zipreplace_comp.py as composition example
10 years ago
T. Meissner
cc9fffdc82
added class ZipProcessorComp for composition example
10 years ago
T. Meissner
c25b1b4991
added zipscale module which inhiterances from zipprocessor module
10 years ago
T. Meissner
4f677a4978
added zip files to gitignore list
10 years ago
T. Meissner
427eac2f82
example for useful use of property function
10 years ago
T. Meissner
b0a6f0240f
refactoring of zipsearch.py by using inhiterance
10 years ago
T. Meissner
7e5496029d
example for managing objects which replaces given strings in zipped files
10 years ago
T. Meissner
0a3d7b8cd5
more examples of chapter 05
10 years ago
T. Meissner
78e27a0633
added Editor class
10 years ago
T. Meissner
2daf82f8d5
added example of function vs. oop
10 years ago
T. Meissner
bc87e3e041
editor module to use & test auth module
10 years ago
T. Meissner
687b2a8f25
added case study of chapter 4: auth module
10 years ago
T. Meissner
db8f802191
Further integration of classes
Following classes were added: Purchase, Rental, HouseRental, HousePurchase,
ApartmentRental, ApartmentPurchase, Agent
Furthermore printing an empty newline was added at the end of display() methods
in each class where the method exists
10 years ago
T. Meissner
68d6b0a424
added newline between docstring and quak method() of class Frog
10 years ago
T. Meissner
1fea3a6738
added class House which inherits from class Property
10 years ago
T. Meissner
d21b24d951
initial commit of chapter 3 case study
10 years ago
T. Meissner
dca775717e
added wikipedia example for duck typing with python
10 years ago
T. Meissner
8671e2e9dd
added FlacFile class as example for duck typing instead of polymorpism using inhiterance
10 years ago
T. Meissner
f7d909bc6c
new code example audiofile.py showing inhiterance with polymorphism
10 years ago
T. Meissner
14772e3f2d
changed (internal) _remove_note() method to (not internal) method remove_note()
10 years ago
T. Meissner
df2b2469e1
added internal method _remove_note() to remove note with given id from note list
10 years ago
T. Meissner
ace441084b
added method remove_note() to remove note with given id from note list; added menu option to call remove_note()
10 years ago
T. Meissner
2fa6cdc648
added *.pyc files to .gitignore
10 years ago
T. Meissner
e71d139a13
added handling of error in _decode_notefile() method by chacking its return value in method load_notes()
10 years ago
T. Meissner
bef1bc0976
added notebook.safe to .gitignore
10 years ago
T. Meissner
cb66a8fa81
added more docstrings
10 years ago
T. Meissner
8fdbf8d53c
added compression of notebook safefile using gzip module; moved encoding & decoding of ntoebook dafefile into seperate internal methods _decode_notefile() & _encode_notefile()
10 years ago
T. Meissner
71f2e48751
new internal method _set_id() to set global last_id attribute to the highest id found in actual notebook object
10 years ago
T. Meissner
032fd0f884
added return when note with given id not exists in modify_note(); increased iterations of kdf to 10.000
10 years ago