Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13861

How can I get hinylive python file paths to work?

$
0
0

I am making a shiny application, but when I host it on shiny live using:

python3 -m http.server --directory docs --bind localhost 8008 or hosting it on github.

The filepaths of the csv files I'm referring get the error filenotfound.

I tried:

df = pd.read_csv(os.path.normpath("data_new.csv"))df = pd.read_csv("data_new.csv"))

And other path manipulations but I always get:

FileNotFoundError: [Errno 44] No such file or directory:

Absolute paths don't work either.


Viewing all articles
Browse latest Browse all 13861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>