4.16 本章小结
练习题
2017-10-18 15:56:26,613 - access - ERROR - account [1234] too many login attemptspython argument.py luffy 打印出 luffy''' Linux当前目录/usr/local/nginx/html/ 文件名:index.html ''' import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(index.html))) print(BASE_DIR)[DEFAULT] [client] port = 3306 socket = /data/mysql_3306/mysql.sock [mysqld] explicit_defaults_for_timestamp = true port = 3306 socket = /data/mysql_3306/mysql.sock back_log = 80 basedir = /usr/local/mysql tmpdir = /tmp datadir = /data/mysql_3306 default-time-zone = '+8:00'<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>luffycity.com</title> </head> <body> </body> </html>{"expire_date": "2021-01-01", "id": 1234, "status": 0, "pay_day": 22, "password": "abc"}. ├── account │ ├── luffy.json │ └── tesla.json └── bin └── start.py------- Luffy Bank --------- 1. 账户信息 2. 转账. ├── account │ └── luffy.json ├── bin │ └── start.py └── core └── withdraw.py------- Luffy Bank --------- 1. 账户信息 2. 提现. ├── account │ └── luffy.json ├── bin │ └── start.py └── core | └── withdraw.py └── logs └── bank.log
本章作业:
Last updated