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
自分のPCにPython環境を用意して_VSCodeでStreamlitアプリを動かすまでの8...
Search
mizzsugar
July 04, 2026
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
自分のPCにPython環境を用意して_VSCodeでStreamlitアプリを動かすまでの8ステップ.pdf
mizzsugar
July 04, 2026
Transcript
12 slides
PC Python 8 2026-07-11 PyLadies Shizuoka Meetup #1 Welcome Day
mizzsugar VSCode Streamlit
None
python.org Downloads Windows python.org Downloads macOS (.pkg) .pkg Install Now
Mac PS> python --version $ python3 --version Python 3.12.x Python 3.12.x OK python3 bootcamp-text.readthedocs.io/textbook/1_install.html python.jp/install/windows/install.html
code.visualstudio.com OS 2
kuji-app kuji-app — VSCode VSCode .venv STEP 4 python -m
venv .venv app.py STEP 4 STEP 7 OK .venv app.py
Python プロジェクトフォルダの中で実⾏する PS> python -m venv .venv 🛡 $ python3
-m venv .venv .venv OK
VSCode PS> .venv\Scripts\activate (.venv) $ _ # 先頭に (.venv) が付けば成功
$ source .venv/bin/activate Python .venv VSCode
pip Python # 先頭に (.venv) が付いているか確認! (.venv) # 付いていなければ STEP
5 に戻る # Streamlitをインストール (.venv) $ pip install streamlit streamlit --version (.venv)
app.py app.py — 新しいファイルを作って書く https://github.com/PyLadiesShizuoka/welcomeday-handson-2026-07-11/blob/main/kuji-app/app.py app.py import random import streamlit
as st def kuji(name): fortunes = ["⼤吉", "中吉", "吉", "⼩吉", "凶"] fortune = random.choice(fortunes) message = f"{name}さんは{fortune}です!" if fortune == "⼤吉": message += "おめでとうございます!" return message st.title("おみくじアプリ") st.write("名前を⼊れてくじを引いてみよう!") name = st.text_input("あなたの名前") if st.button("くじを引く"): message = kuji(name) st.success(message)
streamlit run VSCodeのターミナル(.venv 有効化済み) localhost:8501 (.venv) $ streamlit run app.py
You can now view your app in your browser. Local URL: http://localhost:8501 URL Ctrl + C
Ctrl + C Streamlit deactivate (.venv) $ ^C (.venv) $
deactivate # サーバーが⽌まる $ _ Windows / Mac # (.venv) が消える (.venv) OK
None
More Decks by mizzsugar
See All by mizzsugar
Colabのみで初心者向けPythonハンズオン.pdf
mizzsugar
0
110
厳しさとゆるさの間で迷う人に捧げる個人開発記
mizzsugar
0
79
SQLModel入門〜クエリと型〜
mizzsugar
3
1.7k
フルリモート向いてないと思っていた私が、なんだかんだ健やかに 1年半フルリモート出来ている話
mizzsugar
1
180
Djangoでのプロジェクトだって型ヒントを運用出来る!
mizzsugar
4
9.3k
「動くものは作れる」の一歩先へ 〜「自走プログラマー」の紹介〜
mizzsugar
0
670
pytestの第一歩 〜「テスト駆動Python」の紹介〜
mizzsugar
3
500
データ分析ツール開発でpoetryを使う選択肢
mizzsugar
1
1.2k
unittest.mockを使ってテストを書こう
mizzsugar
5
7.1k
Other Decks in Programming
See All in Programming
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
280
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
780
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
250
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
310
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
220
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
200
SODA - FACT BOOK(EN)
sodainc
1
260
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
490
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
260
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
360
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Mind Mapping
helmedeiros
1
440
Design in an AI World
tapps
1
390
Skip the Path - Find Your Career Trail
mkilby
1
290
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
It's Worth the Effort
3n
188
29k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
810
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.8k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k