Skip to content

Instantly share code, notes, and snippets.

张大福Biglucky Biglucky

Block or report user

Report or block Biglucky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Biglucky
Biglucky / base_62_converter.py
Last active Sep 18, 2019 — forked from bhelx/base_62_converter.py
resolve the problem on Python 3.x
View base_62_converter.py
#!/usr/bin/env python
#
# Converts any integer into a base [BASE] number. I have chosen 62
# as it is meant to represent the integers using all the alphanumeric
# characters, [no special characters] = {0..9}, {A..Z}, {a..z}
#
# I plan on using this to shorten the representation of possibly long ids,
# a la url shortenters
You can’t perform that action at this time.