- This topic has 1 reply, 2 voices, and was last updated 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC Educators › How to run the python file instead of python notebook
Please let me know how to run the python file instead of ipynb
Hello,
A way to run a python file can be to create a code cell on the ipynb notebook and type:
“%run <relative_path_to_python file>.py”
alternatively you can open a terminal and run your python file as “python <python_file_name>.py” (be sure to be in the correct directory)
hope this helps