본문 바로가기

Tech/파이썬

Python Terminal # 1 (ASCII Art/Termplotlib/Gnuplotlib/Terminalplot/Argparse/Easydict)

Turning your images to ASCII Art using Python

 

Turning your images to ASCII Art using Python - AskPython

In this tutorial, we will learn how to convert any image to ASCII art using the Python programming language. I’m sure you have heard of ASCII art which is a

www.askpython.com

 

 

 

Display Images on Terminal using Python

 

Display Images on Terminal using Python - GeeksforGeeks

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

www.geeksforgeeks.org

 

 

 

How to plot a chart in the terminal

 

How to plot a chart in the terminal

I'm researching ML/Theano, and recently came across this script: https://gist.github.com/notmatthancock/68d52af2e8cde7fbff1c9225b2790a7f which was cool to play with. And like all ML researchers, I

stackoverflow.com

 

 

terminalplot 0.4.0

 

terminalplot

Plot points in terminal

pypi.org

 

 

Python ASCII plots in terminal

 

Python ASCII plots in terminal

With Octave I am able to plot arrays to the terminal, for example, plotting an array with values for the function x^2 gives this output in my terminal: 10000 ++---------+-----------+----------+...

stackoverflow.com

 

 

 

[Python] argparse(Argument Parser) 에서 boolean 값 받기

 

[Python] argparse(Argument Parser) 에서 boolean 값 받기

아래와 같이 str2bool 함수를 구현하여 argparse 에서 boolean 값을 받아올 수 있다. def str2bool(v): if isinstance(v, bool): return v if v.lower() in ('yes', 'true', 't', 'y', '1'): return True elif v.lower() in ('no', 'false', 'f', 'n',

eehoeskrap.tistory.com

 

 

 

argparse 리스트(list), boolean(True or False) 를 파라미터로 받는 방법

 

argparse 리스트(list), boolean(True or False) 를 파라미터로 받는 방법

파이썬 파일을 실행시킬때 외부 파라미터를 받아서 실행시키는 것은 거의 모든 프로젝트에서 사용되고 있다. 파라미터에 스트링이나 integer, float은 자유롭게 받지만.. 리스트를 받으려면 어떻게

dodonam.tistory.com

 

 

 

 

[python-colab(jupyter notebook)] argparse 에러는 esaydict로

 

[python-colab(jupyter notebook)] argparse 에러는 esaydict로!

파이참에서 개발하다 급하게 colab으로 개발환경이 바뀌면서 기존에 사용한 코드 실행에 문제가 생겼다. 바로 "argparse"부분이 실행되지 않는 문제가 생긴 것이다!!! 코드 실행을 터미널에서 진행

studyingfox.tistory.com

 

 

 

 

ABSL(Abseil Standard Library)

 

absl

설명 ABSL은 "Abseil Standard Library"의 약자로, Google에서 개발한 C++ 코드 라이브러리의 Python 버전입니다. Python에서는 일반적으로 기본 라이브러리 외에도 다양한 패키지들을 사용하는데, ABSL은 이러

velog.io

 

 

 










>