[Tutor] IPython problem: Difficulty in setting editor to TextPad

Alan Gauld alan.gauld at btinternet.com
Thu Jul 17 17:13:13 CEST 2008


"Dick Moores" <rdm at rcblue.com> wrote
> In my ipy_user_conf.py I have put this line:
> ipy_editors.install_editor("C:\Program Files\TextPad 5\TextPad.exe")

escape the spaces and backslashes(raw string might work as well)

ipy_editors.install_editor("C:\\Program\ Files\\TextPad 
5\\TextPad.exe")

OR maybe

ipy_editors.install_editor(r"C:\Program Files\TextPad 5\TextPad.exe")

Alan G 




More information about the Tutor mailing list