준비사항
- 인터넷 연결이 가능하고 Conflux서버와 동일한 OS버젼 및 동일한 파이썬 버젼을 준비한다.
인터넷 연결 가능한 PC에서 모듈 설치
- pip install 로 설치 하고 싶은 모듈을 다운로드 한다.
D:\pyhton_down> pip download tabulate==0.9.0 --only-binary=:all: Collecting tabulate==0.9.0 Using cached tabulate-0.9.0-py3-none-any.whl (35 kB) Saved d:\pyhton_down\tabulate-0.9.0-py3-none-any.whl Successfully downloaded tabulate [notice] A new release of pip available: 22.3.1 -> 25.2 [notice] To update, run: python.exe -m pip install --upgrade pip |




파이썬을 샘플을 작성한다.
- table.py
from tabulate import tabulate table = [["Name", "Age"], ["Alice", 24], ["Bob", 30]] print(tabulate(table, headers="firstrow")) |
파이썬을 실행해본다.
