- 博客(3)
- 收藏
- 关注
原创 python flask SQLAlchemy处理分表
class Bench(object): _mapper = {} @staticmethod def model(id): # table_index = id if int(id) < 10: class_name = 'Bench0%d' % id else: cla...
2018-06-20 09:25:01
1701
2
原创 python 2.6 升级 2.7
# 下载[root@vip ~]# cd /usr/local/src[root@vip ~]# wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz# 解压[root@vip ~]# tar -zxvf Python-2.7.10.tgz[root@vip ~]# lsPython-2.7.10 Python...
2018-06-06 10:21:17
155
转载 解决error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file:
安装了python2.7,第一次执行时报错:error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory解决方法如下:1.编辑 vi /etc/ld.so.conf 如果是非root权限帐号登录,使用 sudo vi ...
2018-06-06 10:10:17
5494
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人