摘要:
groupadd语法格式:名称groupadd – 建 立 新 群 组语法groupadd [-g gid [-o]] [-r] [-f] group例如:groupadd -g 1563 hqgroupmod – 修 改 群 组语法groupmod [-g gid [-o]] [-n group_... 阅读全文
摘要:
所需要python第三方库都可以到https://pypi.python.org/pypi去搜安装easy_install,到pypi中搜索setuptools,具体在https://pypi.python.org/pypi/setuptools/7.0然后下载解压tar -zxf pypa-set... 阅读全文
摘要:
centos6.5下的自带的python版本是python2.6.6,想体验2.7.8版本,可以到官网下载源码安装:https://www.python.org/downloads/release/python-278/mkdir -p ~/opt/python依赖库:yum install gcc... 阅读全文
摘要:
在独立的python文件调用django api加入下面代码:1 import os2 import sys3 root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))4 if root not in sys.path: s... 阅读全文