Last active
March 6, 2019 03:59
-
-
Save ox1111/1026ea0044bfd53b0376dafcdb50de78 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 jamo import h2j, j2hcj, j2h | |
| def doSomeThing( data , length ) : | |
| if length == 2 : | |
| return j2h( data[0] , data[1] ) | |
| elif length == 3: | |
| return j2h( data[0] , data[1] , data[2] ) | |
| if __name__ == '__main__': | |
| a ="통합바코드" | |
| b = [] | |
| for ch in a : | |
| b.append( j2hcj( h2j(ch) ) ) | |
| print ( j2hcj( h2j(ch) ) ) | |
| for ch in b : | |
| print ( doSomeThing( ch , len(ch) ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment