Skip to content

Added import - #6

Open
arjunsinghy96 wants to merge 1 commit into
vishal3011:masterfrom
arjunsinghy96:master
Open

Added import#6
arjunsinghy96 wants to merge 1 commit into
vishal3011:masterfrom
arjunsinghy96:master

Conversation

@arjunsinghy96

Copy link
Copy Markdown

added import print_function that is compatible with both python2 and python3

added import print_function that is compatible with both python2 and python3
@jayvdb

jayvdb commented Apr 8, 2017

Copy link
Copy Markdown

Not particularly useful; python3 output:

Traceback (most recent call last):
  File "Set-1/HexToBase64.py", line 5, in <module>
    hex = h.decode("hex")
AttributeError: 'str' object has no attribute 'decode'

@arjunsinghy96

arjunsinghy96 commented Apr 9, 2017

Copy link
Copy Markdown
Author

@jayvdb I didn't get any response(It was a hacktober thing). It's great to have your input. Learned something new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants