摘要:
```setattr( self, '_events', {e._event_name: e for _, e in getmembers(self, lambda x: ismethod(x) and hasattr(x, '_event_name'))})``` 阅读全文
摘要:
[image](https://hub.tenxcloud.com/repos/tenxcloud/postgres)## start a postgres instance```docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres```## connect to it from an a... 阅读全文
摘要:
[TOC]## remove_all_pyc```find . -name "*.pyc" -exec git rm -f {} \;```## find_all_links```import requestsimport re# get urlurl = input('Enter a URL (include `http://`): ')# connect to the urlwebsite =... 阅读全文