# coding:utf-8

from collections import namedtuple

Student = namedtuple('Student', ['no', 'name', 'age', 'sex'])
student = Student("2016214338", u"张三", 19, u"男")
print student.name
print student.age

-----结果显示--------------------

张三
19

最新文章

  1. 当div有边框图片的时候,怎么实现内部的p标签的水平和垂直居中
  2. SQL Server 2008 R2 下移动数据库的存储位置
  3. 【bzoj1042】 HAOI2008—硬币购物
  4. Lazarus for Raspbian安装
  5. UVa 11624,两次BFS
  6. 《梦断代码》读书笔记第0篇——“软件时间”、“死定了”、“Agenda之魂“
  7. 安装sybase12.0,运行时报错异常。
  8. Dubbo -- 系统学习 笔记 -- 示例 -- 参数验证
  9. ORACLE EHCC(exadata hybrid columnar compression)
  10. [ 高危 ]mt某站SQL注入
  11. Redis开启AOF导致的删库事件
  12. 【JavaScript从入门到精通】第二课 初探JavaScript魅力-02
  13. Machine Learning--week3 逻辑回归函数(分类)、决策边界、逻辑回归代价函数、多分类与(逻辑回归和线性回归的)正则化
  14. 进程池的同步方法 pool.apply
  15. 使用json通过telegraf生成metrics(摘自telegraf github文档)
  16. null和System.DBNull.Value的区别
  17. 精巧好用的DelayQueue
  18. [JQuery插件系列]-强烈推荐10个非常不错的jQuery工具提示插件
  19. python webdriver中对不同下拉框通过文本值的选择
  20. linux-2.6.22.6内核启动分析之Makefile文件

热门文章

  1. webpack 代理问题
  2. abp demo运行1
  3. 四种webAPP横向滑动模式图解—H5页面开发
  4. Codeforces Round #602 (Div. 2, based on Technocup 2020 Elimination Round 3) B Box
  5. CF399B Red and Blue Balls
  6. 怎么解析后台返回数据中\r\n换行
  7. [CF276B] Little Girl and Game
  8. [luogu3950] 部落冲突 - Link Cut Tree
  9. JAVA 注解教程(二)元注解
  10. codeforces 1284C. New Year and Permutation(组合数学)