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
はじめての Hello Python
Search
Masa
December 25, 2017
Programming
410
0
Share
はじめての Hello Python
はんなりPython #1 での発表スライド
これからPythonを始めようという時に知りたい情報を簡単にまとめた。
Masa
December 25, 2017
More Decks by Masa
See All by Masa
Compose on Kubernetes をGKEで動かそう
masayuki14
0
1.4k
DockerからKubernetesまでを簡単に紹介
masayuki14
2
690
Dockerを使った可視化環境の作り方
masayuki14
1
1.6k
個人の学びを続けるために
masayuki14
0
1.4k
君はWindow関数を知っているか
masayuki14
1
1.3k
はんなりPython2018ふりかえり
masayuki14
0
1.2k
MySQL8.0を使ってブロックチェーンを実装する
masayuki14
0
4.4k
Life is no plan.
masayuki14
0
690
MySQL InnoDB Cluster を使って運用を手抜きしよう
masayuki14
5
5.1k
Other Decks in Programming
See All in Programming
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.4k
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
150
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
370
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
130
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
580
空間オーディオの活用
objectiveaudio
0
110
Explore CoroutineScope
tomoeng11
0
140
Back to the roots of date
jinroq
0
620
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
600
[RubyKaigi 2026] Require Hooks
palkan
1
280
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
190
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
200
Featured
See All Featured
HDC tutorial
michielstock
2
650
Faster Mobile Websites
deanohume
310
31k
The Cult of Friendly URLs
andyhume
79
6.9k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Scaling GitHub
holman
464
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
110
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.9k
Transcript
はじめての Hello Python masayuki14 / reserve-docs
自己紹介 @masayuki14 masayuki14 / reserve-docs
自己紹介 主夫 パートタイムプログラマ スプーキーズアンバサダー masayuki14 / reserve-docs
スプーキーズ ソシャゲ ✕ ボドゲ masayuki14 / reserve-docs
スプーキーズ メンバー募集中 masayuki14 / reserve-docs
今日する話 はじめての Hello Python masayuki14 / reserve-docs
今日する話 バージョン 実行環境 ほかのLLとの違い masayuki14 / reserve-docs
バージョン 2系と3系どっ ちをえらんだ らいいの? masayuki14 / reserve-docs
バージョン python.orgによると 言語としては3系が成熟している 3系を使用したくない人は少数派 2系のサポートは2020年で終了 https://wiki.python.org/moin/Python2orPython3 masayuki14 / reserve-docs
バージョン 今から始めるなら Python 3 masayuki14 / reserve-docs
環境 on Mac brew pyenv Docker masayuki14 / reserve-docs
環境 brew $ brew install python3 $ python3 masayuki14
/ reserve-docs
環境 pyenv $ brew install pyenv $ echo 'eval "$(pyenv
init -)"' >> ~/.bash_profile $ pyenv install [version] masayuki14 / reserve-docs
環境 Docker FROM python:latest $ docker build . $ docker
run -it --rm python3 /bin/bash masayuki14 / reserve-docs
ほかのLLとの違い ruby perl etc masayuki14 / reserve-docs
ほかのLLとの違い バイトコンパ イル masayuki14 / reserve-docs
python処理系 コードを解析 仮想マシン用のバイトコードに変換 仮想マシンで実行 masayuki14 / reserve-docs
バイトコンパイル 事前にバイト コードにして 保存して masayuki14 / reserve-docs
バイトコンパイル 高速化でき る!! masayuki14 / reserve-docs
まとめ バージョンは3系を使おう Macなら簡単に使える バイトコードは速い masayuki14 / reserve-docs
さいごに $ python3 -c 'print("Hello Python!")' Hello Python! masayuki14
/ reserve-docs