Berker Peksag <[email protected]> added the comment:
> In windows, we always give a path using '\' and python 3 can correctly dispose
> it just as we using '/' in Linux. But if you offer
> a path in windows with a '\' followed as 'r'. Everyting will goes wrong.
You need to use raw strings to avoid this. Replace
"C:\Program Files (x86)\Graphviz2.38\lib\release\lib"
with
r"C:\Program Files (x86)\Graphviz2.38\lib\release\lib"
See
https://blog.lerner.co.il/avoiding-windows-backslash-problems-with-pythons-raw-strings/
for more details about raw strings.
This tracker is for issues with bugs.python.org. Please use Stack Overflow or
python-list to ask usage questions.
----------
assignedto: abarnert ->
nosy: +berker.peksag
status: unread -> resolved
_______________________________________________________
PSF Meta Tracker <[email protected]>
<http://psf.upfronthosting.co.za/roundup/meta/issue660>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
[email protected]
https://mail.python.org/mailman/listinfo/tracker-discuss
Code of Conduct: https://www.python.org/psf/codeofconduct/