Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2024 09:10 AM
Hi @clentin ,
The steps:
1. Create your .py to be imported as a file and not a notebook
2. In the notebook that uses your .py file append its path to sys.path
Check my answer to the similar question for more details:
https://community.databricks.com/t5/data-engineering/trying-to-use-python-source-file-as-module-in-d...