Support print() as function in Python 2

This commit is contained in:
Joona Hoikkala 2015-06-05 12:14:13 +03:00
parent 3d46d7a035
commit d08f7a82dc
3 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# coding: utf-8 # coding: utf-8
from __future__ import print_function
import sys import sys
import base64 import base64
import requests import requests

View File

@ -1,4 +1,5 @@
from __future__ import print_function
import base64 import base64
import urllib.request, urllib.parse, urllib.error import urllib.request, urllib.parse, urllib.error
import requests import requests

View File

@ -1,6 +1,7 @@
# shows a user's playlists (need to be authenticated via oauth) # shows a user's playlists (need to be authenticated via oauth)
from __future__ import print_function
import os import os
import subprocess import subprocess
from . import oauth2 from . import oauth2