blob: 5b9f65c86a5bc4b395f56322b884ec603ff78bd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env python3
import os
import os.path
import sys
def main():
print('Looking in:', os.getcwd())
not_found = list()
for f in sys.argv[1:]:
if not os.path.exists(f):
not_found.append(f)
if not_found:
print('Not found:', ', '.join(not_found))
sys.exit(1)
if __name__ == '__main__':
main()
|