会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ljllh
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
2021年12月21日
pycharm新建python项目基础5
摘要: for循环 1、for...else结构: 2、for、while:
阅读全文
posted @ 2021-12-21 20:54 ljllh
阅读(35)
评论(0)
推荐(0)
2021年12月20日
pycharm新建python项目基础4
摘要: 循环初步 猜拳游戏:
阅读全文
posted @ 2021-12-20 14:26 ljllh
阅读(34)
评论(0)
推荐(0)
2021年12月19日
pycharm新建python项目基础3
摘要: 条件语句 注意键盘输入为字符串——类型转换 ——条件语句简单实现:首页面
阅读全文
posted @ 2021-12-19 17:17 ljllh
阅读(31)
评论(0)
推荐(0)
2021年12月18日
pycharm新建python项目基础2
摘要: 1、格式化输出 %s string 字符串 %d digit 整数 %f float 浮点数 2、进制转换 bin() int() oct() hex() 3、位运算
阅读全文
posted @ 2021-12-18 19:58 ljllh
阅读(31)
评论(0)
推荐(0)
2021年12月17日
pycharm新建python项目基础1
摘要: 1、print底层源码: 如:print(1,2,3,sep='#') 结果为1#2#3 2、算术运算符: 3、关系运算符: 4、逻辑运算符:
阅读全文
posted @ 2021-12-17 14:41 ljllh
阅读(41)
评论(0)
推荐(0)
2021年12月16日
pycharm新建python项目基础
摘要: 1、共用选site-packages New environment using则是每个项目都有各自独立的site-packages •venv是虚拟环境,但一般新建项目时选Existing interpreter即可 2、有__init__.py就是包,没有就是python文件 3、Setting
阅读全文
posted @ 2021-12-16 13:27 ljllh
阅读(126)
评论(0)
推荐(0)
2021年12月15日
pip
摘要: pip包管理器 1、安装一个库文件:pip install 库的名字 •临时使用:pip install 库的名字 -i 国内镜像源 •永久使用:在user目录中创建一个pip目录,再新建文件pip.ini,内容以douban为例: [global]index-url = http://pypi.d
阅读全文
posted @ 2021-12-15 15:18 ljllh
阅读(225)
评论(0)
推荐(0)
2021年12月14日
cmd命令
摘要: 1、跳转盘:e: 2、回退:cd .. 3、查看所有可跳转文件:dir 4、cd跳转文件,tab键可以补全文件名 此时按tab键
阅读全文
posted @ 2021-12-14 13:48 ljllh
阅读(196)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告