Created
August 4, 2020 08:52
-
-
Save RayyanNafees/9e3acf5a9c3f65548a4820aa57baf9c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/ncrypt/<phrase>') | |
def binary(phrase): return ' '.join(format(ord(c), 'b') for c in phrase) | |
if __name__=='__main__': app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment