xuezhisd / lpthw

learn python the hard way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lpthw

learn python the hard way

  • print
  • 注释
  • 数学运算 +、-、*、/、%、**、<、>、<=、>=
  • 变量
  • 格式化字符串
  • 打印
  • 转义字符和三引号
  • 输入 raw_input
  • 参数,解包
  • import modules
  • argv
  • 读取文件 open read
  • 读写文件truncate, write, close
  • 文件拷贝
  • 函数
  • 函数和变量
  • 函数用户和文件
  • 函数返回值
  • 读代码
    • bitbucket.org
    • github.com
    • launchpad.net
    • koders.com

关键字

python关键字详解

  • and
  • del
  • from
  • not
  • while
  • as
  • elif
  • global
  • or
  • with
  • assert
  • else
  • if
  • pass
  • yield
  • break
  • except
  • import
  • print
  • class
  • exec
  • in
  • raise
  • continue
  • finally
  • is
  • return
  • def
  • for
  • lambda
  • try

About

learn python the hard way


Languages

Language:Python 100.0%