bites
Opened this issue · 2 comments
66
https://wiki.python.org/moin/Generators
https://wiki.python.org/moin/Iterator
167 Title Case
http://metinsaylan.com/8866/how-to-convert-string-to-title-case-in-python/
https://pybit.es/property-decorator.html
https://dbader.org/blog/python-dunder-methods
https://stackoverflow.com/a/1438297
https://stackoverflow.com/a/41687141
- Infinite loop, input, continue and break
https://realpython.com/python-mock-library/#patch-as-a-decorator
71
__call__
https://www.python-course.eu/python3_magic_methods.php
- Parse a csv file and create a bar chart
https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections
https://stackoverflow.com/a/35371451
https://www.geeksforgeeks.org/ordereddict-in-python/
https://www.geeksforgeeks.org/count-frequencies-elements-array-python-using-collections-module/
https://stackoverflow.com/a/7961390
https://www.programiz.com/python-programming/reading-csv-files
https://www.foxinfotech.in/2018/09/python-read-csv-columns-into-list.html
228
https://docs.python.org/3/library/hashlib.html
https://www.pythoncentral.io/hashing-strings-with-python/
https://www.journaldev.com/23763/python-remove-spaces-from-string
https://stackoverflow.com/questions/54351740/how-can-i-use-f-string-with-a-variable-not-with-a-string-literal
110
https://docs.python.org/3.8/reference/simple_stmts.html?highlight=raise#the-raise-statement
If no expressions are present, raise re-raises the last exception that was active in the current scope. If no exception is active in the current scope, a RuntimeError exception is raised indicating that this is an error.
https://stackoverflow.com/questions/18001721/raise-with-no-argument
https://stackoverflow.com/questions/13957829/how-to-use-raise-keyword-in-python
https://stackoverflow.com/questions/56429727/python-raise-without-arguments-what-is-the-last-exception-that-was-active-in
238
https://stackoverflow.com/a/37870714
https://pytest.org/en/latest/getting-started.html#assert-that-a-certain-exception-is-raised
https://realpython.com/python-mock-library/
https://myapollo.com.tw/zh-tw/python-mock-return-value-vs-side-effect-vs-wraps-vs-spec-part-1/
https://medium.com/@yeraydiazdiaz/what-the-mock-cheatsheet-mocking-in-python-6a71db997832
218
decorators
https://pybit.es/decorators-by-example.html
@wraps
https://blog.csdn.net/hqzxsc2006/article/details/50337865
45
def my_queue(n=5):
class Queue(list):
def append(self, obj):
if len(self) == n:
del self[0]
super().append(obj)
return Queue()