In message 4c5a6d00$0$29614$426a3...@news.free.fr, News123 wrote:
The original question lacks necessary information
That seems to be very common in this newsgroup.
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
In message 4c5a6d00$0$29614$426a3...@news.free.fr, News123 wrote:
The original question lacks necessary information
That seems to be very common in this newsgroup.
...
JM
--
http://mail.python.org/mailman/listinfo/python-list
On 08/04/2010 09:27 AM, Chris Rebert wrote:
On Wed, Aug 4, 2010 at 12:21 AM, News123 news1...@free.fr wrote:
snip
3.) try following python
import os
print os.getcwd()
import shutil
shutil(YOUR_SOURCE_FILE_NAME,DESTINATION_DIRECTORY/DSTNTN_FILE_NAME)
WTF; modules aren't callable. Typo?
On 08/04/2010 06:01 AM, Chris Brauchli wrote:
Hi,
I am writing a script that, at one point, copies a file from directory
A to directory B. Directory B can only be written to by root, but the
script is always called with sudo, so this shouldn't be an issue, but
it is. I have tried using
On Wed, Aug 4, 2010 at 12:21 AM, News123 news1...@free.fr wrote:
snip
3.) try following python
import os
print os.getcwd()
import shutil
shutil(YOUR_SOURCE_FILE_NAME,DESTINATION_DIRECTORY/DSTNTN_FILE_NAME)
WTF; modules aren't callable. Typo?
Cheers,
Chris
--
http://blog.rebertia.com
--
On Wed, Aug 4, 2010 at 9:27 AM, Chris Rebert c...@rebertia.com wrote:
On Wed, Aug 4, 2010 at 12:21 AM, News123 news1...@free.fr wrote:
snip
3.) try following python
import os
print os.getcwd()
import shutil
shutil(YOUR_SOURCE_FILE_NAME,DESTINATION_DIRECTORY/DSTNTN_FILE_NAME)
WTF; modules
On Tue, 03 Aug 2010 21:01:38 -0700, Chris Brauchli wrote:
Hi,
I am writing a script that, at one point, copies a file from directory A
to directory B. Directory B can only be written to by root, but the
script is always called with sudo, so this shouldn't be an issue, but it
is. I have
Hi,
I am writing a script that, at one point, copies a file from directory
A to directory B. Directory B can only be written to by root, but the
script is always called with sudo, so this shouldn't be an issue, but
it is. I have tried using shutil.copy() and calling sudo cp with
os.popen to no
On Tue, 2010-08-03 at 21:01 -0700, Chris Brauchli wrote:
Hi,
I am writing a script that, at one point, copies a file from directory
A to directory B. Directory B can only be written to by root, but the
script is always called with sudo, so this shouldn't be an issue, but
it is. I have tried