Yabasic can output to text and graphics (PostScript) formats. Writing to files is as easy as
with open("somefilename","w") as outfile:
yabasic.outputstring("print carriage return")
yabasic.outputstring("linefeed")
An example of PACParser in action
Obtaining PACParser
PACParser is released under the GPL3.
Direct download
You can get the latest released version of PACParser from here.
And you can download the source code of the current implementation of PACParser from this link
Example
To better understand the API, here is a very simple example of a python script "my_pac.py" using its API to automatically configure a PAC script based on the HTTP referer.
Sie müssen Mitglied von Korsika sein, um Kommentare hinzuzufügen!
Mitglied werden Korsika