Skip to content
Snippets Groups Projects
Commit 8938fa72 authored by Jochens, Florian's avatar Jochens, Florian
Browse files

Merge branch 'main' into 'main'

add input test file - test.py

See merge request !2
parents 1868d958 32c54ac0
No related branches found
No related tags found
1 merge request!2add input test file - test.py
#!/usr/bin/env python3
from input_fj import input, print_pub_info
import sys
if len(sys.argv) != 2:
sys.stderr.write('Usage: {} <url>\n'.format(sys.argv[0]))
exit(1)
url = sys.argv[1]
pub = input(url)
print_pub_info(pub)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment