Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Omnibus/Unicode-Escape
Omnibus
/
Unicode-Escape-dev
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
971d14f
Unicode-Escape-dev
/
app.py
Omnibus
Update app.py
971d14f
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
159 Bytes
#import gradio as gr
name=
"this name"
def
unicode_escape
(
s
):
return
""
.join(
map
(
lambda
c:
rf"U+E
{
ord
(c):04x}
"
, s))
print
(unicode_escape(
"Hello, World!\n"
))