On 2007-01-27 20:09+0800 Valery Pipin wrote: > All python scripts from share/examples works fine. > But they are designed to run interactively. > Everything is ok in this way. > However they do not understand comand line options.
If the installed python scripts do not understand command-line options then something is not being done correctly with your install. Just to give a concrete example, do you get results from (the installed version) of either of the following commands: python/x01 -h or python python/x01 -h ? For me, this -h command-line option results in a display of help concerning all command-line options. Note, the menu prompting for device should _not_ appear. Similarly, I get good results from, e.g., python/x01 -dev psttfc -o test.ps or (to return to the original topic) python/x01 -dev psttfc -o test.ps -portrait For both these commands, the menu for selecting the device does not appear, and the command just works with no further interaction since it has everything it needs from the command-line options. This is how all the installed examples should work. For example, after building the installed examples with the "make" command (of course, this build is not required for the python examples above), then you should be able to run c/x01c -h c/x01c -dev psttfc -o test.ps c/x01c -dev psttfc -o test.ps -portrait etc. There is something severely wrong with your PLplot install if some/all of the above does not work properly for you. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general