Ticket #4854: 4854.diff
File 4854.diff, 838 bytes (added by , 17 years ago) |
---|
-
docs/modpython.txt
89 89 90 90 .. caution:: 91 91 92 If you're using Windows, remember that the path will contain backslashes. 93 This string is passed through Python's string parser twice, so you need to 94 escape each backslash **twice**:: 92 Forward slashes are recommended even if you are using Windows:: 95 93 96 PythonPath "['c: \\\\path\\\\to\\\\project'] + sys.path"94 PythonPath "['c:/path/to/project'] + sys.path" 97 95 98 Or, use raw strings::99 96 100 PythonPath "[r'c:\\path\\to\\project'] + sys.path"101 102 97 You can also add directives such as ``PythonAutoReload Off`` for performance. 103 98 See the `mod_python documentation`_ for a full list of options. 104 99