摘要: 2.1. 调用(Invoking) 解释器 Python解释器通常安装在系统的/usr/local/bin/python3.8位置; 通过将/usr/local/bin 放在Unix shell的搜索路径(search path)中,就可以通过在Shell窗口中输入以下命令来启动它: python3 阅读全文
posted @ 2019-12-16 21:24 东浪 阅读(4134) 评论(0) 推荐(0) 编辑
摘要: 1. 激发你的学习欲望 如果你要使用电脑做很多工作,最终你会发现有一些任务你希望能够自动化操作。例如,您可能希望对大量的txt文件执行搜索和替换(search-and-replace)操作,或者以复杂的方式来重命名和排列一组照片文件。也许您想编写一个小型的自定义数据库,或者一个专门的GUI应用程序, 阅读全文
posted @ 2019-12-16 20:02 东浪 阅读(3709) 评论(0) 推荐(0) 编辑
摘要: Python 3.8.0 教程 Python是一种易于学习、功能强大 (easy to learn, powerful ) 的编程语言。它具有高效的高级数据结构 (high-level data structures) 和一个简单但有效的面向对象编程方法 (a simple but effectiv 阅读全文
posted @ 2019-12-16 19:51 东浪 阅读(987) 评论(0) 推荐(0) 编辑
摘要: A special variant of the Code Completion feature invoked by pressing Ctrl+Space twice allows you to complete the name of any class no matter if it was 阅读全文
posted @ 2019-12-11 14:17 东浪 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 总结了一下 出现 模块导入错误 Import Error: cannot import name 'XXXX' from 'XXXX' 的几个原因: 原 因:编写的py文件名与导入的模块名相同,导致Python IDLE导入发生错误 解决方法:修改py文件名后重新运行即可解决此问题。 阅读全文
posted @ 2019-12-09 16:00 东浪 阅读(52784) 评论(0) 推荐(3) 编辑
该文被密码保护。 阅读全文
posted @ 2019-12-09 15:39 东浪 阅读(3) 评论(0) 推荐(0) 编辑