Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 609 Bytes

File metadata and controls

20 lines (14 loc) · 609 Bytes

pycache

  • this is bite code

Pythpn data type / object types cause in python every thinkg are object

  • Number : 1234, 3.14, 3+4j, 0b111, Decimal(), Fraction()

  • String : "spam", 'spam', b'a/x01c', u'sp/xc4m'

  • List : [1,2,3,['pabna', 'roy']], list(range(10))

  • Tuple : (1, 'spam', 4, 'U'), tuple("spam"), namedtuple

  • Dictionary : {'food': 'spam', 'test': 'yum'}, dict(hours=10)

  • Set : set('abc'), {'a', 'b', 'c'}

  • File : open ('eggs.txt), open(r'C:\ham.bin', 'wb')

  • Boolean : true , false

  • None : None

  • function, modules, classes

  • Advance : Decorator, Genarator, Iterators, MetaPrograming