![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
lcusk0812
这个作者很懒,什么都没留下…
展开
-
python基础学习笔记(二)
//class73-76 变量的格式化输出 %s 字符串 %d 有符号十进制 %f 浮点数 %% 输出% print("格式化字符串" % 变量) print("格式化字符串" % (变量1,变量2...)) %06d 000002 补6位 长度超长时 以实际为准 %.2f 表示小数点后只显示2位 print("比例 %.2f%%" % (0.25*100)) 输出25% //class...原创 2018-08-07 08:54:56 · 194 阅读 · 0 评论 -
python基础学习笔记(一)
文件和目录命令 ls cd touch mkdir rm 拷贝和移动 tree cp mv 文件查看 cat more grep 远程指令 ifconfig ping ssh //class24 25 pycharm的初始设置 恢复pycharm的初始设置 pycharm的配置信息保存在主目录的家目录中的 .pycharmXXX目录下,xxx表示pycharm的版本号 1,关闭pycharm ...原创 2018-08-02 17:47:39 · 146 阅读 · 0 评论