Python入门教程 超详细1小时学会Python.pptxVIP

  • 4
  • 0
  • 约小于1千字
  • 约 14页
  • 2021-01-19 发布于广东
  • 举报

Python入门教程 超详细1小时学会Python.pptx

Python 入门教程 超详细 1 小时学会 Python;2;; 在解释器中选择File--New Window 或快捷键 Ctrl+N , 打开一个新的编辑器. 写下如下语句: ;;; l=len(a) print Im sorry we should use unicode char!Characters number of your Chinese \ name in unicode is:+str(l); ;print f # The last elements of word. ;else: ; print a a = range(-2,-7) print a a = range(-7,-2) print a a = range(-2,-11,-3) # The 3rd parameter stands for step print a ;try: ; return a+b ; --child -- init_.py --a.py b.py 那么 Python 如何找到我们定义的 module?在标准包 sys 中,path 属性记录了 Python 的包路径.你可以将之打印出来: import sys print sys.path

文档评论(0)

1亿VIP精品文档

相关文档