随笔分类 -  py 问题解决集锦

摘要:用pip安装时都要在cmd命令行里启动的,而在python中无法运行。退出python运行环境就再执行pip可以了。而且最好用管理员身份运行cmdC:\WINDOWS\system32>cd D:\Python\APIC:\WINDOWS\system32>D:D:\Python\API>pip i 阅读全文
posted @ 2018-06-07 09:14 wuxinyan 阅读(686) 评论(0) 推荐(0) 编辑
摘要:#! /usr/bin/env python# -*- coding:utf-8 -*-# login 模块中登录时输入密码,想用getPass模块实现密码的不回显操作。#如下: import getpass ret = input("welcome to the system:please make a choice-1 or 2") if ret == '1': user = inp... 阅读全文
posted @ 2018-05-13 17:02 wuxinyan 阅读(2137) 评论(0) 推荐(0) 编辑
摘要:Traceback (most recent call last): File "D:/Python/mypy/basic/shutil.py", line 4, in <module> import shutil File "D:\Python\mypy\basic\shutil.py", lin 阅读全文
posted @ 2018-04-19 20:10 wuxinyan 阅读(455) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示