Following are the commands to edit and execute code in a file:
- Run Python code in the next generation Vitis IDE CLI
- Run the named
file
Vitis [1]: run test.py
- Run Python code with the next generation Vitis IDE executable in batch mode
-
vitis
executable can run Python script in batch mode with-source
option.$ vitis -source $XILINX_VITIS/cli/examples/dc_use_case_1.py