twibiral / obsidian-execute-code

Obsidian Plugin to execute code in a note.
MIT License
1.14k stars 67 forks source link

Relative Path to Obsidian Vault #253

Closed teqdeq closed 1 year ago

teqdeq commented 1 year ago

Hello,

i am working a lot with .csv files in python with pandas and am curious how you could read them with a relative filePath? The absolute filePath is working, but not very usable on different machines with syncing.

Any help would be very appreciated.

Thx

teqdeq commented 1 year ago

Sorry, i figured it out!

Just needed the pd.read_csv( @vault_path + "/file.csv" as described.

Thanks