spserver.analytic.url(file="")
Return URL for accessing files within the currently-running analytic directory. The file argument is pasted on the end, to construct a complete URL. Illegal URL characters (like spaces) are converted to the appropriate URL characters.
# URL for accessing whole analytic directory # spserver.analytic.url()
# URL for accessing file foo
spserver.analytic.url("foo")
# URL for accessing file foo in subdirectory sub
spserver.analytic.url("sub/foo")