Taula de continguts

think python

cadenas

list

diccionarios

Tuplas

13

ficheros

escritura fichero

nombres fichero y paths

catch exceptions

try:
    fin = open('fichero_no_existente')
    for line in fin:
        print line
    fin.close()
except:
    print "Error"

databases

pickling

Pipes

Modulos

Clases y objetos

class Point(object):
    attributes: x,y
 
class Rectangle(object):
    attributes: width,height,corner
 
box = Rectangle()
box.width = 100.0
box.height = 200.0
box.corner = Point()
box.corner.x = 0.0
box.corner.y = 0.0

Clases y funciones

Clases y métodos (17)

otros