Experience of Python Learning Week 2

本周学习了Python的重要组成部分——模块,包括标准库如sys和os等,并了解了pyc文件的作用。同时,还探讨了数据操作的基础知识及字典、元组、列表之间的区别。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Adam

2017年7月27日

 

 

Experience of python learning

Week2

 

In the beginning of this week , I finally learn the most important part of python -- the module (the standard library means that the people who have created python wrote for us , such as sys, os and so on.

And what is pyc? As a matter of fact , the compiler of python’s real outcome is PyCodeObject , and then write it back into a pyc. So when your program runs for the second time , the program will try to find pyc in your hard disk. So we call pyc as a permanent way to save PyCodeObject.

And then I have learned the data operation , those are as follows:

    

 

And then the differences between : 

In the end , learn how to fetch data from a key-value dictionary , and tuple , array(list) .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值