In article <mailman.986005960.10805.python-list at python.org>, Michael Hall <py.list at mulga.com.au> writes: | But this does work: | os.system('mv /tmp/install.log %s/install.log' %s SYSPRODIR) [there's a typo, replace he second %s with %] | Is this the normal/best way to do this in Python ... seems a little | convoluted me, like there must be a simpler way. Bash for example would be | happy with something like: | mv /tmp/install.log $SYSPRODIR/install.log there's a module for doing string interpolation like this at <URL:http://www.lfw.org/python/>. -- erno
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4