File: __main__.py

package info (click to toggle)
gemmi 0.5.7%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,344 kB
  • sloc: cpp: 48,972; python: 4,352; ansic: 3,428; sh: 302; makefile: 69; f90: 42; javascript: 12
file content (10 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from __future__ import print_function
import os

print('Run directly one of the example scripts:\n')
example_dir = os.path.dirname(__file__)
for d in sorted(os.listdir(example_dir)):
    if d[0] != '_' and d.endswith('.py'):
        print(os.path.join(example_dir, d))
print('\nCheck Gemmi documentation for more details,')
print('or try running examples with the option --help (-h for short).')