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
5k
Other Decks in Programming
See All in Programming
AIエージェントで業務改善してみた
taku271
0
540
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
1k
Agentic Elixir
whatyouhide
0
410
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
4
1.2k
GoogleCloudとterraform完全に理解した
terisuke
1
160
AIと共に生きる技術選定 2026
sgash708
0
110
Road to RubyKaigi: Play Hard(ware)
makicamel
1
470
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
150
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
120
t *testing.T は どこからやってくるの?
otakakot
1
710
From Formal Specification to Property Based Test
ohbarye
0
350
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
800
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
180
From π to Pie charts
rasagy
0
170
Designing for Timeless Needs
cassininazir
0
210
Joys of Absence: A Defence of Solitary Play
codingconduct
1
350
WCS-LA-2024
lcolladotor
0
550
30 Presentation Tips
portentint
PRO
1
280
Facilitating Awesome Meetings
lara
57
6.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Skip the Path - Find Your Career Trail
mkilby
1
110
Evolving SEO for Evolving Search Engines
ryanjones
0
180
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
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