333 </dl> |
333 </dl> |
334 <div align="right"><a href="#top">Up</a></div> |
334 <div align="right"><a href="#top">Up</a></div> |
335 <hr /><hr /> |
335 <hr /><hr /> |
336 <a NAME="shutilCopy" ID="shutilCopy"></a> |
336 <a NAME="shutilCopy" ID="shutilCopy"></a> |
337 <h2>shutilCopy</h2> |
337 <h2>shutilCopy</h2> |
338 <b>shutilCopy</b>(<i>src, dst</i>) |
338 <b>shutilCopy</b>(<i>src, dst, perm=0o644</i>) |
339 <p> |
339 <p> |
340 Wrapper function around shutil.copy() to ensure the permissions. |
340 Wrapper function around shutil.copy() to ensure the permissions. |
341 </p><dl> |
341 </p><dl> |
342 <dt><i>src</i></dt> |
342 <dt><i>src</i></dt> |
343 <dd> |
343 <dd> |
344 source file name (string) |
344 source file name (string) |
345 </dd><dt><i>dst</i></dt> |
345 </dd><dt><i>dst</i></dt> |
346 <dd> |
346 <dd> |
347 destination file name or directory name (string) |
347 destination file name or directory name (string) |
|
348 </dd><dt><i>perm=</i></dt> |
|
349 <dd> |
|
350 permissions to be set (integer) |
348 </dd> |
351 </dd> |
349 </dl> |
352 </dl> |
350 <div align="right"><a href="#top">Up</a></div> |
353 <div align="right"><a href="#top">Up</a></div> |
351 <hr /><hr /> |
354 <hr /><hr /> |
352 <a NAME="usage" ID="usage"></a> |
355 <a NAME="usage" ID="usage"></a> |