/usr/share/python-ase/doc/images.py is in python-ase-doc 3.12.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import os.path
try:
from urllib.request import urlretrieve
except ImportError:
from urllib import urlretrieve
url = 'http://wiki.fysik.dtu.dk/ase-files/'
def setup(app):
pass
for file in ['ase/ag.png',
'ase/ase-talk.pdf']:
if os.path.isfile(file):
continue
try:
urlretrieve(url + os.path.basename(file), file)
except IOError:
pass
|