![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Cpath
没有做不到的,只有想不到的
展开
-
Windows python 环境之快速搭建及访问
@下载环境包 @https://www.python.org/downloads/ @http://www.jetbrains.com/pycharm/download/#section=windows1、cmd 运行: F:\python_environment>python.exe -VPython 3.5.3F:\python_environment>python.exePython原创 2017-05-22 22:42:37 · 824 阅读 · 0 评论 -
python 获取一个值在某个区间的指定倍数的值
#获取一个值在某个区间的指定倍数的值#1# print([i for i in range(1,101) if i%5==0])# 2# L = range(1,101);# for k in L:# if k%5==0:# print(k)#3# for k in range(0,101,5):# if not k==0:# print(原创 2017-06-04 11:18:43 · 9045 阅读 · 0 评论 -
Django 的安装及访问
#pip 安装F:\python_environment>pip install Django==1.11#到目录下源码安装python setup.py install#检查Django安装成功F:\python_environment>python -m django --version1.11# 或者import django#创建项目F:\python_www>django原创 2017-06-19 22:59:13 · 1305 阅读 · 0 评论 -
python oop
/usr/bin/python3.6@# Study notes for personal reference only'''class A(object): hobby = 'cpath' def __init__(self , name , age ,weight): self.name = name; self._age = age;原创 2017-09-24 20:08:24 · 392 阅读 · 0 评论 -
linux 下快速搭建python3 环境
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0a4.tgztar -zxvf Python-3.7.0a4.tgz cd Python-3.7.0a4/ ./configure --prefix=/usr/bin/python3 make && make install#查看python 版本/usr/b原创 2018-01-10 22:41:28 · 932 阅读 · 0 评论