![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习笔记
Jack0596
这个作者很懒,什么都没留下…
展开
-
Windows下python如何调用不同目录的.py文件
在windows下安装了python学习编程,实际编码遇到引用问题:主目录的python.exe要怎么访问其他目录的python源文件?我在C:\\Users\\jack\\Documents\\Python\\mylib\\testprint.py中定义了hello方法:def hello(name): print('hello '+name)现在通过sys添加path实现调用:...原创 2019-02-01 22:01:56 · 1477 阅读 · 0 评论 -
python3.7.2【windows】安装web模块问题及解决办法
为了运行微信订阅号文档demo,需要给python安装web模块,遇到的问题及解决办法:安装:pip install web.py==0.40-dev1微信订阅号文档demo:# -*- coding: utf-8 -*-# filename: main.pyimport weburls = ( '/wx', 'Handle',)class Handle(...原创 2019-04-12 10:57:37 · 1057 阅读 · 1 评论