> where /r ベースフォルダ 検索対象ファイルパターン(ワイルドカード指定可能)現在のフォルダから再帰的に *.ini にマッチするファイルを検索する
| """ | |
| icecream ライブラリのサンプル | |
| REFERENCES:: | |
| https://github.com/gruns/icecream | |
| """ | |
| import collections | |
| import contextlib as ctx | |
| import datetime |
| import datetime as dt | |
| import time as tm | |
| import sys | |
| def go(): | |
| while True: | |
| d = dt.datetime.now() | |
| now = d.strftime('%Y/%m/%d %H:%M:%S') | |
| sys.stdout.write(f'\r{now}') |
| """ | |
| bokeh のサンプルです。 | |
| 基本パターンについて。 | |
| 参考: | |
| https://bokeh.pydata.org/en/latest/docs/user_guide/quickstart.html#userguide-quickstart | |
| """ | |
| import bokeh.plotting as bp |
| """ | |
| Bokehのサンプル | |
| """ | |
| from bokeh.models import ColumnDataSource, TapTool | |
| from bokeh.plotting import figure, show | |
| from bokeh.layouts import gridplot | |
| from bokeh.models.callbacks import CustomJS | |
| def go(): |
| """ | |
| asyncio のサンプル | |
| """ | |
| import asyncio | |
| import random | |
| from datetime import datetime | |
| from functools import partial | |
| async def async_helloworld(): |