Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pythonはいいぞ
Search
TYuto
March 31, 2018
Technology
0
360
Pythonはいいぞ
kosenconf in Takaoでの発表資料です
#kosenconf_118takao
TYuto
March 31, 2018
Tweet
Share
More Decks by TYuto
See All by TYuto
大学編入について-2022情報工学科学科講演会発表資料
tyuto
0
250
退屈なことはGASにやらせよう
tyuto
0
200
高専生の"立場"を活用しよう
tyuto
0
42
GithubPagesのすすめ
tyuto
0
100
SoundlessTheatre-中間発表資料
tyuto
0
54
Other Decks in Technology
See All in Technology
20260204_Midosuji_Tech
takuyay0ne
1
170
コンテナセキュリティの最新事情 ~ 2026年版 ~
kyohmizu
7
2.7k
1,000 にも届く AWS Organizations 組織のポリシー運用をちゃんとしたい、という話
kazzpapa3
0
220
Greatest Disaster Hits in Web Performance
guaca
0
310
Azure Copilot Migration Agent / #jazug
koudaiii
1
120
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
190
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
150
猫でもわかるKiro CLI(セキュリティ編)
kentapapa
0
150
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
420
Amazon Rekognitionで 「信玄餅きなこ問題」を解決する
usanchuu
1
110
AWS DevOps Agent x ECS on Fargate検証 / AWS DevOps Agent x ECS on Fargate
kinunori
2
320
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
140
The agentic SEO stack - context over prompts
schlessera
0
650
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
840
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
91
Discover your Explorer Soul
emna__ayadi
2
1.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Building Applications with DynamoDB
mza
96
6.9k
Transcript
Pythonはいいぞ ”Python”の紹介(布教) YutoTamura
自己紹介 Yuto Tamura Twitter : @yuto_ct HP : TYuto.github.io GitHub
: TYuto SpeakerDeck : TYuto 春からJK(情報系高専生) 情報工学科 去年の高専プロコンの開発にちょっと参加した 最近は競技プログラミングやってる(AtCoder) 主に使ってる言語はPython
python? ニシキヘビ科(ニシキヘビ か、Pythonidae)は、爬虫 綱有鱗目に属する科。ボア 科の亜科とする説もある。 模式属はニシキヘビ属。 (by wikipedia)
Python Python(パイソン)は、汎用のプログラ ミング言語である。コードがシンプルで 扱いやすく設計されており、C言語な どに比べて、さまざまなプログラムを 分かりやすく、少ないコード行数で書 けるといった特徴がある (by wikipedia)
Pythonの特徴 is 何 ・simple -> 読みやすい,書きやすい ・色々な企業で使われてる(Google,DropBox) ・豊富なLibrary(機械学習,数理計算など) ・速度が遅い(?)
Python is simple #include <stdio.h> int main(void) { printf("Hello, world!\n");
return 0; } print("Hello World") Python C言語
Python is simple C言語でFizzBuzz #include <stdio.h> int main(void) { int
i; for (i = 1; i <= 100; i++) { if (i % 3 == 0 && i % 5 == 0) { printf("FizzBuzz\n"); } else if (i % 3 == 0) { printf("Fizz\n"); } else if (i % 5 == 0) { printf("Buzz\n"); } else { printf("%d\n", i); } } return 0; } #include <stdio.h> int main(void) { int i; for (i = 1; i <= 100; i++) { if (i % 3 == 0 && i % 5 == 0) { printf("FizzBuzz\n"); } else if (i % 3 == 0) { printf("Fizz\n"); } else if (i % 5 == 0) { printf("Buzz\n"); } else { printf("%d\n", i); } } return 0;}
Python is simple PythonでFizzBuzz for i in range(1,101): if i%3
== 0 and i%5==0: print("FizzBuzz") elif i%3 == 0: print("Fizz") elif i%5 == 0: print("Buzz") else: print(i) for i in range(1,101): if i%3 == 0 and i%5==0: print("FizzBuzz") elif i%3 == 0: print("Fizz") elif i%5 == 0: print("Buzz") else: print(i)
Python の Library Keras TensorFlow Chainer MXNet PyTorch Theano DeepLearning
Web django Flask Tornado Bottle 計算(?)とか numpy scipy matplotlib
Python の 速度 Pythonは遅い?
Python の 速度 確かに遅い #include<stdio.h> int main(void){ for (int i=0;
i<=10000; i++ ){ for (int i2=0; i2<=10000; i2++){ if (i+i2==100000){ printf("HelloWorld\n"); } } } return 0; for i in range(10000): for i2 in range(10000): if i+i2==1000000: print("hoge") 8.12S 0.28S
Python の 速度 我々にはまだ PyPyが残されている
PyPy is 何 ? PyPy(パイパイ)は、プログラミング言語Pythonの実 装の1つであり、Pythonで記述されたPythonの処理 系であることが特徴の1つである(セルフホスティン グ)。PyPyは、実行速度と効率、およびオリジナルの Python実装であるCPythonとの互換性に重点を置 いている。
(By wikipedia)
0.25S for i in range(10000): for i2 in range(10000): if
i+i2==1000000: print("hoge") Python の 速度 PyPyで実行すると
まとめ ・Pythonはプログラミング言語 ・Pythonは誰が書いても読みやすい,素早く書ける ・ライブラリが豊富なので色々できる ・速度が遅いと言われるけどPyPy使えばだいたい解決 する
まとめ Pythonを使おう