python
大大大飞侠超人
这个作者很懒,什么都没留下…
展开
-
某麦数据analysis参数逆向分析 最新
某麦数据analysis参数逆向分析**说明:**获取数据的url为 https://api.qimai.cn/rank/release?analysis=dQ59QSxacUR9ZHlEdTByQSlwfxZ8ZHVJfGR1QCldeR15dVFIfVkASH1kdVZubxxHb1MEDXATH0JRVg8YSgFYUwBDVXATCQIFDlEFCVUCBFBwEwE%3D&is_preorder=all&date=2020-12-11&sdate=2020-12-11&a原创 2020-12-11 21:10:33 · 432 阅读 · 0 评论 -
nginx uwsgi django项目上线
nginx配置nginx下载sudo apt-get install nginxnginx使用 service nginx stop service nginx start service nginx restart 添加虚拟主机,实现nginx访问,在/etc/nginx/sites-available下创建虚拟主机配置文件 vim photoserver添加如下内...原创 2018-11-06 14:54:20 · 177 阅读 · 0 评论 -
使用Celery时候报错AttributeError: 'float' object has no attribute 'items'
[2018-11-15 12:02:53,607: CRITICAL/MainProcess] Unrecoverable error: AttributeError("'float' object has no attribute 'items'",)Traceback (most recent call last):File "/user/lib/python3.6/site-packag...原创 2018-11-23 09:23:05 · 6031 阅读 · 3 评论 -
MySQLdb raises “execute() first” error even though I execute before calling fetchall
你cursor多次调用,这会创建多个游标。您在第一个游标上执行查询,然后从第二个游标获取。由于您没有在第二个上执行任何操作,因此会出现此错误。仅使用一个光标。...转载 2018-12-25 17:25:59 · 1840 阅读 · 0 评论 -
python ftp文件上传
# -*- coding: utf-8 -*-from ftplib import FTPdef ftp_upload(): ftp_server = 'ip' # 公网ip username = 'mine' password = '111111' ftp = FTP() ftp.set_debuglevel(2) # 打开调试级别2,显示详细信...原创 2019-01-16 16:47:36 · 153 阅读 · 0 评论 -
Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check th
Django执行迁移时候报错raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc)django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations ta...原创 2019-04-01 17:10:08 · 2284 阅读 · 1 评论