We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bc526 commit 7a187bfCopy full SHA for 7a187bf
submit.py
@@ -1,25 +1,14 @@
1
#!/usr/bin/env python
2
-from __future__ import print_function
3
import argparse
+import configparser
4
import os
5
import re
6
+import requests
7
import sys
8
import time
9
-import requests
10
-import requests.exceptions
11
-
12
from lxml.html import fragment_fromstring
13
14
-# Python 2/3 compatibility
15
-if sys.version_info[0] >= 3:
16
- import configparser
17
-else:
18
- # Python 2, import modules with Python 3 names
19
- import ConfigParser as configparser
20
21
-# End Python 2/3 compatibility
22
23
_DEFAULT_CONFIG = '/usr/local/etc/kattisrc'
24
_LANGUAGE_GUESS = {
25
'.c': 'C',
0 commit comments