Closed grgaDo closed 2 years ago
After debugging .js
from: https://numbertext.github.io/Soros.html, I found the solution.
All you need to do is:
Soros.py
.sor
file for your language
import Soros
file = open('
mySoros = Soros.compile(program, '
And that's it.
Hope this helps someone.
Hello,
I am trying to transform numbers to words but I do not understand how I can use your solution. I mean... I have downloaded libnumbertext zip, discovered that there is
Soros.py
module and I think I need to use that program in order to transform numbers to words but I have no idea how. How can I callSoros.py
and give it a number and a language and get a string containing the word representation?Can you please help?!