cleanup imports, first part

This commit is contained in:
Patrick Kanzler 2018-05-16 01:23:04 +02:00
parent c0af9aaaf4
commit 9b8e56cd59
No known key found for this signature in database
GPG Key ID: F07F07153306FCEF
7 changed files with 39 additions and 7 deletions

View File

@ -1,3 +1,8 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from escpos.printer import Usb from escpos.printer import Usb

View File

@ -1,13 +1,16 @@
"""Prints code page tables. """Prints code page tables.
""" """
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals
import six
import sys import sys
from escpos import printer from escpos import printer
from escpos.constants import CODEPAGE_CHANGE, ESC, CTL_LF, CTL_FF, CTL_CR, CTL_HT, CTL_VT from escpos.constants import CODEPAGE_CHANGE, CTL_CR, CTL_FF, CTL_HT, CTL_LF, CTL_VT, ESC
import six
def main(): def main():

View File

@ -1,3 +1,8 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import sys import sys
from escpos.printer import Usb from escpos.printer import Usb

View File

@ -1,3 +1,8 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from escpos.printer import Usb from escpos.printer import Usb

View File

@ -12,14 +12,17 @@
# Icons taken from http://adamwhitcroft.com/climacons/ # Icons taken from http://adamwhitcroft.com/climacons/
# Check out his github: https://github.com/AdamWhitcroft/climacons # Check out his github: https://github.com/AdamWhitcroft/climacons
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function from __future__ import print_function
from datetime import datetime from __future__ import unicode_literals
import calendar import calendar
import urllib
import json import json
import time
import os import os
import time
import urllib
from datetime import datetime
from escpos.printer import Usb from escpos.printer import Usb

View File

@ -1,7 +1,13 @@
#!/usr/bin/env python #!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# from __future__ import unicode_literals
import os import os
import sys import sys
from setuptools import find_packages, setup from setuptools import find_packages, setup

View File

@ -1,3 +1,8 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import re import re
from os import environ, path from os import environ, path
import pickle import pickle