Fill the fields of the record,fillfields,class Employ
Fill the fields of the record,fillfields,class Employ
class Employee: passjohn = Employee() # Create an empty employee record# Fill the fields of the recordjohn.name = 'John Doe'john.dept = 'computer lab'john.salary = 1000
相关内容
- python获得本机机器名,python获得机器,import sys,
- python魔幻方法:__str__ , __repr__,__str___repr_,class adder:
- python list,python,import comma
- python类的成员变量定义,python成员变量,class FirstC
- 生成类属性,生成属性,class Shared
- python ftp示例,python示例,class Writer
- urllib2 绑定ip来访问url,urllib2绑定ipurl,import urlli
- python设置进程的环境变量,python环境变量,import ospri
- python创建访问对象属性,python创建对象,class Critte
- python NameTag类,pythonnametag类,class NameTa
评论关闭