![]() Terry, before I go on, would you mind if I converted the node toĪn node? There are good reasons for doing so: it would allow Perhaps inkscape created it? Or its precursor? For example, template.svg looks like a lot I've just begun to study the code in detail. I never could get lxml installed in win 7 py 2.7, fine in 2.6 with your lxml=2.2.4. There does still seem to be something wrong with the -png flag - I'll install leo in win 7 py 2.6 and see what happens. ![]() W = pix.grabWindow(app.activeWindow().winId()) This script is working for me from Leo (in Ubuntu, admittedly). Really I wasn't expecting you'd use it from the command line (although I want to fix any problems there). Try c:\python26\python.exe inkcall.py -help It needs a screenshot filename as an argument. Oh, didn't see it properly the first time. > Now the message is: No such file or directory: c:\\output.png > -inkscape "c:\Program Files (x86)\Inkscape\inkscape.exe" \ Success! setting svgfile = os.path.join(os.getcwd(),svgfile) brings Inkscape didn't load "some_screen_shot.svg", presumably because the The first line is the basically the cmd above. However, making a similar change in three places in inkcall.py crashesĪh. ![]() The following test script does bring up inkscape: I now have inkscape.bat that brings up inkscape, so we should be So either I tell Python about Inkscape or I tell Inkscape about I didn't read the installation instructions.Įasy_install lxml=2.2.4 will install for Python 2.6. > I'm having trouble installing lxml on Windows 7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |