<filename>vaspwiki/vaspwiki.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright (c) 2018, <NAME>.
License: MIT License (see LICENSE for details)
"""


__author__ = '<NAME>'
__maintainer__ = "<NAME>"
__email__ = '<EMAIL>'
__license__ = 'MIT License'
__creation_date__= 'Dec. 27, 2018'
__revision_date__= 'Aug. 26, 2021'

import webbrowser
import sys

index_wiki = "https://www.vasp.at/wiki/index.php/"


def help_function(pattern):
    url = index_wiki + pattern
    newtab = 2
    webbrowser.get().open(url, new=newtab)


def main():
    pattern_list = sys.argv[1:]
    for pattern in pattern_list:
        help_function(pattern)


if __name__ == "__main__":
    main()

<filename>vaspwiki/vaspwiki.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright (c) 2018, <NAME>.
License: MIT License (see LICENSE for details)
"""


__author__ = '<NAME>'
__maintainer__ = "<NAME>"
__email__ = '<EMAIL>'
__license__ = 'MIT License'
__creation_date__= 'Dec. 27, 2018'
__revision_date__= 'Aug. 26, 2021'

import webbrowser
import sys

index_wiki = "https://www.vasp.at/wiki/index.php/"


def help_function(pattern):
    url = index_wiki + pattern
    newtab = 2
    webbrowser.get().open(url, new=newtab)


def main():
    pattern_list = sys.argv[1:]
    for pattern in pattern_list:
        help_function(pattern)


if __name__ == "__main__":
    main()

#!/usr/bin/env python # -*- coding: utf-8 -*- Copyright (c) 2018, <NAME>. License: MIT License (see LICENSE for details)