How to format and join strings ?
inputdir = '/path/to/dir'
Hi, all
For example, like following short python examples.
name1 = 'sample-plot'
filename = '%s.png' % name1
os.path.join(inputdir, filename)
Best,
Hyunchul Kim
[[alternative HTML version deleted]]
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 13:30:16 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.