ich rufe mit SHELL ein Python Script auf. Sobald in der Pfadangabe ein Leerzeichen vorkommt funktioniert es nicht mehr.
Sub GetDataFromPython()
Dim pyPrgm As String, pyScript As String
pyPrgm = "C:\Users\User\AppData\Local\Continuum\anaconda3\python.exe"
pyScript = "C:\Users\User\Documents\PythonData\python.py"
Call Shell(pyPrgm & " " & pyScript)
End Sub
...das funktioniert.
Bei
Sub GetDataFromPython()
pyScript = "C:\Users\User\Documents\Python Data\python.py"
End Sub
funktioniert es nicht mehr wg des Leerzeichens in Python Data.Was kann man hier tun?
Viele Grüße
Jens