Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.67 KB

File metadata and controls

31 lines (22 loc) · 1.67 KB

iPython Jupyter Notebook: Uploading a Folder

  1. Make sure the folder is still in .zip format
  2. Upload the .zip file to your Jupyter Notebook directory (not home path)

My zip file is named PYNQ_Workshop-master.zip and was uploaded my /home/xilinx/jupyter_notebooks directory.

  1. Now that the .zip file is uploaded, we want to unzip it. So, in Jupyter Notebook, open a new terminal session, and run
    ! unzip /home/xilinx/jupyter_notebooks/PYNQ_Workshop-master.zip -d /home/xilinx/jupyter_notebooks

Note: The above instructions are a quick and dirty method, under the assumption that: you are uploading the same-named file to the same-named directory path and that Jupyter Notebook is being ran locally on the ZYNQ board. For Session_1 (Lab One), this should be the case.


General Instructions:

  1. Make sure the folder is still in .zip format
  2. Upload the .zip file to your Jupyter Notebook (assuming home path directory)
  3. Now that the .zip file is uploaded, we want to unzip it. So, in Jupyter Notebook, open a new terminal session, and run
    ! unzip ~/yourfolder.zip -d ~/

where:

! specifies a Unix/OS command

unzip is the unzipping command

~/yourfolder.zip tells the command where your .zip folder is currently at.
~/ assumes the .zip is stored in the home path of the directory. For paths other than home, remove the ~

-d ~/ specifies where you want to put the unzipped folder. It currently assumes you want to put it in the home path of the directory. For paths other than home, remove the ~

Made with ♥ from Muhammad Elarbi

elarbi.m@northeastern.edu