GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xhal/study-python

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
chap1
chap1
 
 
chap2
chap2
 
 
chap3
chap3
 
 
chap4
chap4
 
 
chap5
chap5
 
 
chap6
chap6
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

study-python

介绍

Python语言学习 DEMO

包目录结构说明

chap1:
demo.py  -- print 使用demo
demo1.py -- 转义字符
demo2.py -- Unicode
demo3.py -- Python 中的 保留(keyword) 关键字
demo4.py -- 变量的定义及使用  对应内存id, 变量类型
demo5.py -- 基础数据类型 demo   int / float / bool / str
demo6.py -- 不同数据类型拼接/ 数据类型转换
demo7.py -- 注释的使用  + 文件编码注释(文件第一行,默认为 utf-8)
chap2
01_input_1.py  -- 输入函数 input
01_input_2.py  -- 输入函数 input , 数据计算
02_calc_1.py   -- 运算符 加 减  乘 除、整除  取余  次方
02_calc_2.py   -- 运算符 整除  取余  一正一负情况
03_set_1.py    -- 赋值运算符 - 执行顺序,从 右 到 左
chap3
demo1.py  -- 比较运算符  大于、等于、小于、大于等于、小于等于、不等于、is、is not
demo2.py  -- 布尔运算符  and / or / not / in / not in
demo3.py  -- 位运算符  位与 &、 位或 | 、  左移位  << 、  右移位 >>
demo4.py  -- 运算符的优先级
chap4
demo1.py  -- 程序的组织结构  - 计算机的流程控制: 顺序结构
demo2.py  -- Python 中一切皆对象,所有对象都有一个布尔值
demo3.py  -- 程序的组织结构  - 计算机的流程控制: 选择(分支)结构
demo4.py  -- pass 语句
demo5.py  -- 内置函数 range 的三种使用方法
demo6.py  -- 程序的组织结构  - 计算机的流程控制:循环结构
chap5
demoList.py      -- 列表对象的基本使用方法
demoListSort.py  -- 列表对象 - 排序
demoListFun.py   -- 列表对象 - 表达式创建(有规律的数据,可用表达式生成)
chap6
demoDic.py     -- 字典对象 - 基础使用
demoDicApi.py  -- 字典对象 - 字典常用方法
demoDicGet.py  -- 字典对象 - 取值
demoDicKey.py  -- 字典对象 - key的判断、新增、修改、删除

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.