On Tue, 22 Apr 2008, Alan G Isaac wrote:

> What happens when you use a relative path? You can always use an absolute
> path. Or so I recall ... (on the run).

Alan,

   I must have not clearly expressed my question. I cannot get the proper
syntax.

   If I use:

      g.writePDFfile('./reports/'+curComp + '_' + curSub + '_' + curVar)

nothing is written. If I use

       g.writePDFfile(./reports/+curComp + '_' + curSub + '_' + curVar)

python finds the '.' to be a syntax error.

   So, let me ask the question this way: how do I write the statement to
direct output to a subdirectory immediately below the CWD in which the
application is running?

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to