Top Banner
SP Seminar cancho
22

SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Dec 13, 2015

Download

Documents

Peter Butler
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

SP Seminar

cancho

Page 2: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Index0x01. RSS Reader0x02. Python0x03. Django0x04. Schedule

Page 3: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

RSS Reader

Page 4: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

RSS

Re-allySimple

Syndica-tion

Page 5: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Bookmark

Blog

Board

News

Page 6: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

RSS

Blog

Board

News

RSS Reader

Page 7: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

RSS Reader

Page 8: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

python

Page 9: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Scriptaux

|ps

grepvim

Page 10: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

python vs

Page 11: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

print reduce(operator.mul, [i for i in range(1, 10)])

…int result=1;for(int i=1;i<10;i++)

result *= i;System.out.println(result);

python

Page 12: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

myFile = open(“test.txt”)

Import java.io.*;…BufferedReader myFile =

new BufferedReader(new FileReader(“test.txt”));

python

Page 13: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

aList = []aList.append(5)aNumber = aList[0]

…public Vector<Integer> aList = new Vec-tor<Integer>();aList.addElement(5);public int aNumber = aList.getElement(0);

python

Page 14: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Python canExpress muchIn a few words

Page 15: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

python vs

Page 16: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

table = [['cancho', 100], ['pipoket', 0]]

print ''' <html> <head> <title>%s</title> </head> <body>''‘

for row in table: print '<tr>' for col in table[row]: print '<td>%s</td>' % col print '</tr>‘

print ''' </body> </html>''' % (title, body)

python

cancho 100

pipoket 0

Page 17: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

print ''' <html> <head> <title>%s</title> </head> <body> Hello World! </body> </html>''' % title

python

Hello World!

cancho 100

pipoket 0

Page 18: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

django

Page 19: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Do notRe-peatYour-self

Page 20: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

djangoVi

ew

Controller

Model

DATALOGICUI

Isolate logic from UI

Page 21: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

Con-troller

django

Hello World!

cancho 100

pipoket 0View

Model

Page 22: SP Seminar cancho. Index 0x01. RSS Reader 0x02. Python 0x03. Django 0x04. Schedule.

6/22 ~Mon/Wed 10:00 P.M.Bring laptop on Wed

Sched-ule