







































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!








































Python for Informatics: Exploring Information www.pythonlearn.com
What Next?
What Next?
What Next?
What Next?
What Next?
What Next?
What Next?
From a software creator’s point of view, we build the software. The end users (stakeholders/actors) are our masters - who we want to please - often they pay us money when they are pleased. But the data, information, and networks are our problem to solve on their behalf. The hardware and software are our friends and allies in this quest.
It is a little piece of our intelligence in the computer
It is a little piece of our intelligence we can give to others - we figure something out and then we encode it and then give it to someone else to save them the time and energy of figuring it out
while music is playing: Left hand out and up Right hand out and up Flip Left hand Flip Right hand Left hand to right shoulder Right hand to left shoulder Left hand to back of head Right ham to back of head Left hand to right hit Right hand to left hit Left hand on left bottom Right hand on right bottom Wiggle Wiggle
while music is playing: Left hand out and up Right hand out and up Flip Left hand Flip Right hand Left hand to right shoulder Right hand to left shoulder Left hand to back of head Right hand to back of head Left hand to right hip Right hand to left hip Left hand on left bottom Right hand on right bottom Wiggle Wiggle
name = raw_input('Enter file:') handle = open(name, 'r') text = handle.read() words = text.split()
counts = dict() for word in words: counts[word] = counts.get(word,0) + 1 bigcount = None bigword = None
for word,count in counts.items(): if bigcount is None or count > bigcount: bigword = word bigcount = count print bigword, bigcount
http://upload.wikimedia.org/wikipedia/commons/3/3d/RaspberryPi.jpg
Software
Input and Output Devices
Central Processing Unit
Main Memory
Secondary Memory
What Next?
Software
Input and Output Devices
Central Processing Unit
Main Memory
Secondary Memory
What Next?
if x< 3: print
Software
Input and Output Devices
Central Processing Unit
Main Memory
Secondary Memory
What Next?
01001001 00111001