Hallo Forum,
ich habe Probleme beim Öffnen von Dateien:
import pandas as pd
bf = open("test.txt","w")
print(bf)
Folgende Fehlermeldung:
C:\Users\Nemluva\anaconda3\envs\TestProject\python.exe C:/Users/Nemluva/PycharmProjects/TestProject/Excel-Dateien.py
C:\Users\Nemluva\anaconda3\envs\TestProject\python.exe: can't open file 'C:/Users/Nemluva/PycharmProjects/TestProject/Excel-Dateien.py': [Errno 2] No such file or directory
Process finished with exit code 2
Das passiert auch mit
import pandas as pd
bf = pd.read_excel("test.xls")
print(bf)
Dabei habe ich die Datei im Verzeichnis, wo die Python-Programme sind. Hat jemand eine Idee, woran das liegen könnte? Ich bin da aufgeschmissen - vielen Dank