0

I am using this DCM Python example scrip to download files from DCM. It is working well however it downloads the file to location of the scrip. How would I go about specifying a location on my pc for it to download to? Sorry i am a little new to python. Tried reading the documentation but no mention of it. Any help would be amazing.

I thought it would have to be to do with editing line 75 (below), however that is in the print statement so doesn't really change anything.

print('File %s downloaded to %s'
        % (report_file['id'], os.path.realpath(out_file.name)))
4

1 回答 1

0

整理了一下,只需要添加路径报告文件功能。

于 2018-04-11T17:56:32.307 回答