Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pythonはいいぞ
Search
TYuto
March 31, 2018
Technology
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pythonはいいぞ
kosenconf in Takaoでの発表資料です
#kosenconf_118takao
TYuto
March 31, 2018
More Decks by TYuto
See All by TYuto
大学編入について-2022情報工学科学科講演会発表資料
tyuto
0
310
退屈なことはGASにやらせよう
tyuto
0
210
高専生の"立場"を活用しよう
tyuto
0
56
GithubPagesのすすめ
tyuto
0
110
SoundlessTheatre-中間発表資料
tyuto
0
62
Other Decks in Technology
See All in Technology
品質と信頼性を地続きにする
grimoh
2
1k
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
300
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
20k
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
430
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
3k
AIエージェントの権限管理 3: Agentic RAG の Fine grained access control 編
ren8k
1
260
Goodbye ShellScript, Hello File-based App
shunsock
0
980
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
7
3.7k
絵ではじめるKubernetesセキュリティ
aoi1
5
710
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.7k
AWS FinOps Agent 結局何が得意なの?
siromi
0
160
CI/CDではもう遅い - 人とAIが迂回しないDevSecOps Verify基盤の再設計 -
kintotechdev
0
160
Featured
See All Featured
Test your architecture with Archunit
thirion
2
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
The Spectacular Lies of Maps
axbom
PRO
1
1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
We Have a Design System, Now What?
morganepeng
55
8.3k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
730
The Curse of the Amulet
leimatthew05
3
15k
Designing Powerful Visuals for Engaging Learning
tmiket
1
580
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
340
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
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を使おう