SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
Python
Python #5
?
• (@jbking)
• ( )
(Yarch)
•
•
•
•
PyCon JP 2017
?
(Python )
!!! !!!
•
•
• ( )
• ( )
• ( )
•
•
•
# incr.py
n = 0
print('n = %d' % n) #
with open('incr.py') as f:
lines = f.read().split('n')
for idx, l in enumerate(lines):
if l.startswith('n = '):
next_n = int(l.replace('n = ', '')) + 1
lines[idx] = 'n = %d' % next_n
with open('incr.py', 'w') as f:
f.write('n'.join(lines))
$ python3 incr.py
n = 0
$ python3 incr.py
n = 1
$ python3 incr.py
n = 2
$ python3 incr.py
n = 3
$ python3 incr.py
n = 4
…?
• ( )
•
•
•
•
• ( )
• ( )
• ( )
•
•
•
Python
?
( Python )
•
• Python Python
• Python
Python
• Twisted
• Deferred
•
• Tornado
•
• Django
• MVC, MTV
• Pandas
•
Python
?
• Python ?
• Python ( )
•
•
•
•
• Django
• ( ) Web
• 10
• Django REST Framework
• Jupyter Notebook
•
•
•
•
•
• Python
•
•
•
• Python
私のPythonとの関わりかた

Contenu connexe

Plus de Yusuke Muraoka

Debug it-python-hack-a-thon-2011.02
Debug it-python-hack-a-thon-2011.02Debug it-python-hack-a-thon-2011.02
Debug it-python-hack-a-thon-2011.02Yusuke Muraoka
 
App Engineと非同期とテストと私
App Engineと非同期とテストと私App Engineと非同期とテストと私
App Engineと非同期とテストと私Yusuke Muraoka
 
Can A Python Go Beyond The Python
Can A Python Go Beyond The PythonCan A Python Go Beyond The Python
Can A Python Go Beyond The PythonYusuke Muraoka
 

Plus de Yusuke Muraoka (7)

Django learning
Django learningDjango learning
Django learning
 
Poolboy
PoolboyPoolboy
Poolboy
 
Pyramid Security
Pyramid SecurityPyramid Security
Pyramid Security
 
Some about chef
Some about chefSome about chef
Some about chef
 
Debug it-python-hack-a-thon-2011.02
Debug it-python-hack-a-thon-2011.02Debug it-python-hack-a-thon-2011.02
Debug it-python-hack-a-thon-2011.02
 
App Engineと非同期とテストと私
App Engineと非同期とテストと私App Engineと非同期とテストと私
App Engineと非同期とテストと私
 
Can A Python Go Beyond The Python
Can A Python Go Beyond The PythonCan A Python Go Beyond The Python
Can A Python Go Beyond The Python
 

私のPythonとの関わりかた