-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake_map.py
More file actions
31 lines (29 loc) · 1.12 KB
/
Copy pathmake_map.py
File metadata and controls
31 lines (29 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import pyperclip
def make_map(start,end):
"""
make_map(0x2800,0x2840)
>>>Output string copied to clipboard
(⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿)
(Copied to clipboard, paste it into a txt file and use utf-8 encoding.)
"""
i= start
string=""
while i <= end:
string+=chr(i)
i+=1
pyperclip.copy(string)
print("Output string copied to clipboard")
def mm(start,num):
"""
make_map(0x2800,0x2840)
>>>Output string copied to clipboard
(⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿)
(Copied to clipboard, paste it into a txt file and use utf-8 encoding.)
"""
i= start
string=""
while i < start+num:
string+=chr(i)
i+=1
pyperclip.copy(string)
print("Output string copied to clipboard")