Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okajun35/for_pycon_shizu
python
https://github.com/okajun35/for_pycon_shizu
Last synced: 3 months ago
JSON representation
python
- Host: GitHub
- URL: https://github.com/okajun35/for_pycon_shizu
- Owner: okajun35
- License: mit
- Created: 2019-12-28T01:34:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-07T02:15:32.000Z (almost 5 years ago)
- Last Synced: 2024-01-25T13:42:36.835Z (about 1 year ago)
- Language: Python
- Size: 4.6 MB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# for_pycon_shizu
[Pythonでデスクトップアプリを簡単に作る方法](https://shizuoka.pycon.jp/session/dario_okazaki/)のcfpよう当日の[スライド](https://speakerdeck.com/okajun35/pythondedesukutotupuapuriwojian-dan-nizuo-rufang-fa)
## example の中身
examle配下にはデモで使ったファイルがあります。
試す際は`99_Python_Script_Launcher.py`を実行するとランチャーが立ち上がるので便利かと思います。
- 01_tk_sample.py
- 02_tk_sample.py
- 03_basic.py
- 05_graph_sample.py
- 07_vba_excell_join.py
- 08_asci_img.py
- 99_Python_Script_Launcher.py### 01_tk_sample.py
tkinterを使ったサンプル。
こちらのコードは以下のサイトのコードを使用しました。
- https://wynn-blog.com/make-gui-application-with-python- 実行結果

実行ボタンをクリックした結果

### 02_tk_sample.py
tkinterを使ったサンプル。- 実行結果

実行ボタンをクリックした結果

### 03_basic.py
02_tk_sample.pyをPySimpleGUIを使って書き直したサンプル。- 実行結果

実行ボタンをクリックした結果

### 04_graph_sample.py
公式のグラフのサンプル( https://pysimplegui.trinket.io/demo-programs のGraph Element)を一つにまとめてボタンで切り替えるようにしたもの実行結果
### 07_vba_excell_join.py
公式の[Visual Basic Mockup](https://pysimplegui.trinket.io/demo-programs#/examples-for-reddit-posts/visual-basic-mockup)を元にレイアウトを追加、機能追加したもの実行結果
### 08_asci_img.py
公式の[Demo_Img_Viewer](https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_Img_Viewer.py)を参考に[アスキーアートを自動生成する
](https://tat-pytone.hatenablog.com/entry/2020/02/26/202205)にGUIをつけたもの実行結果
### 99_Python_Script_Launcher.py
公式の[Demo_Script_Launcher.py](https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_Script_Launcher.py)を元にPythonファイルを実行、Vscodeで開くようにしたもの- 実行結果

Pythonファイルを実行した場合
### 公式のサンプルについて
スライドの中で紹介したものは公式の以下のサンプルになります。#### matplotlibとの連携
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_Matplotlib.py#### グラフのソートアニメーション
https://pysimplegui.trinket.io/demo-programs#/graph-element/visualizing-sorts#### CPUのリアルタイムアニメーション
https://github.com/PySimpleGUI/PySimpleGUI-Rainmeter-CPU-Cores/blob/master/PySimpleGUI_Rainmeter_CPU_Cores.py#### PySimpleGUI-exemaker
https://github.com/PySimpleGUI/PySimpleGUI/tree/master/exemaker