Cov txheej txheem:

Kuv yuav khaws phau ntawv Jupyter li PDF li cas?
Kuv yuav khaws phau ntawv Jupyter li PDF li cas?

Video: Kuv yuav khaws phau ntawv Jupyter li PDF li cas?

Video: Kuv yuav khaws phau ntawv Jupyter li PDF li cas?
Video: Merging PDFs with Python! 2024, Hlis ntuj nqeg
Anonim

15 Teb

  1. Rau cov zis HTML, koj yuav tsum tam sim no siv Jupyter nyob rau hauv qhov chaw ntawm IPython thiab xaiv File -> Download as -> HTML (.html) lossis khiav cov lus txib hauv qab no: jupyter nbconvert --rau html phau ntawv . ipynb ib. Qhov no yuav hloov lub Jupyter cov ntaub ntawv phau ntawv .
  2. Hloov cov ntaub ntawv html phau ntawv . html ua a ua pdf npe file phau ntawv .

Ntawm no, koj yuav khaws phau ntawv Jupyter li cas?

3 Teb. Koj ua tau cawm a phau ntawv mus rau qhov chaw koj xaiv los ntawm kev siv "Cov ntaub ntawv" -> "Download li" -> " Phau ntawv (. ipynb)" xaiv los ntawm cov ntawv qhia zaub mov. Xwb koj tuaj yeem pib koj phau ntawv server los ntawm ib tug sib txawv directory thiab nws yuav cawm tag nrho phau ntawv mus rau qhov directory.

Kuv yuav export kuv Jupyter phau ntawv tso zis li cas? Tsis muaj txoj hauv kev mus xa tawm ib cell tso zis hauv Jupyter , raws li tam sim no, tab sis qhov koj tuaj yeem ua tau yog hloov tag nrho phau ntawv mus rau ib tug ntau pab hom ntawv thiab ces luas tawm tsuas yog cov seem uas koj xav tau.

Yog li, kuv yuav khaws cov ntaub ntawv python li PDF li cas?

Cia li qhib lub ntaub ntawv nrog tus nyeem ntawv, nyem lub pob "print", xaiv lub virtual PDF tshuab luam ntawv thiab nias "print". Yog tias koj muaj tus nyeem ntawv rau lub PY file , thiab yog tias tus nyeem ntawv tuaj yeem luam tawm ntaub ntawv , ces koj yuav hloov lub ntaub ntawv rau a PDF.

Puas yog Jupyter notebook yog IDE?

Jupyter Phau Ntawv muab koj nrog ib qho yooj yim-rau-siv, sib tham sib cov ntaub ntawv kev tshawb fawb ib puag ncig thoob plaws ntau hom lus programming uas tsis tsuas yog ua haujlwm raws li ib qho IDE , tab sis kuj yog ib qho kev nthuav qhia lossis cov cuab yeej kev kawm. Nws zoo meej rau cov neeg uas nyuam qhuav pib nrog cov ntaub ntawv tshawb fawb!

Pom zoo: