How to print python file
2023. 2. 20. 22:40ㆍData science/Python
반응형
1. Convert to PDF file
# to download the xelatex
brew install basictex
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox
sudo tlmgr install collectbox
sudo tlmgr install ucs
sudo tlmgr install environ
sudo tlmgr install trimspaces
sudo tlmgr install titling
sudo tlmgr install enumitem
sudo tlmgr install rsfs
2. Convert to HTML file and print
pip install nbconvert
cd Users/Downloads # Directory changes
jupyter nbconvert --to html myfile.ipynb
# Replace myfile to the file name which you want to convert to HTML
반응형
'Data science > Python' 카테고리의 다른 글
Decision Tree _ Bagging Classifier simple example (0) | 2023.02.21 |
---|---|
Python - np.empty vs. np.zeros (0) | 2023.02.15 |
Python Semester 1. (0) | 2023.01.15 |
[IBM] Data Analysis with Python - Model Development (0) | 2021.05.17 |
[IBM]Data Analysis with Python - Exploratory Data Analysis(EDA) (0) | 2021.05.15 |