console
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
console [2018/05/15 01:56] – rex8312 | console [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 68: | 줄 68: | ||
vi $(which script.py) | vi $(which script.py) | ||
- | | ||
- | unicode sparkline | ||
- | |||
- | https:// | ||
- | http:// | ||
- | |||
- | <code python> | ||
- | # -*- coding: utf -*- | ||
- | |||
- | import re | ||
- | try: raw_input | ||
- | except: raw_input = input | ||
- | |||
- | # Unicode: 9601, 9602, 9603, 9604, 9605, 9606, 9607, 9608 | ||
- | try: bar = u' | ||
- | except: bar = ' | ||
- | barcount = len(bar) - 1 | ||
- | while True: | ||
- | line = raw_input(' | ||
- | numbers = [float(n) for n in re.split(r' | ||
- | mn, mx = min(numbers), | ||
- | extent = mx - mn | ||
- | sparkline = '' | ||
- | for n in numbers) | ||
- | print(' | ||
- | print(sparkline) | ||
- | </ | ||
| | ||
Console widget | Console widget | ||
줄 102: | 줄 75: | ||
* asciimatics | * asciimatics | ||
* npyscreen | * npyscreen | ||
+ | |||
+ | ===== Visualization ===== | ||
+ | |||
+ | * [[plotille: | ||
+ | * [[sparkline]] | ||
+ | * [[ascii_plot]] | ||
+ | |||
+ | ===== Image view ===== | ||
+ | |||
+ | * ascii image | ||
+ | * apt install aview | ||
+ | * inline image | ||
+ | * w3m-img | ||
===== Windows ===== | ===== Windows ===== |
console.1526349393.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)