bondarevts / mltran Goto Github PK
View Code? Open in Web Editor NEWCommand line interface to multitran.ru dictionary.
License: MIT License
Command line interface to multitran.ru dictionary.
License: MIT License
When running a CLI I get this error:
❯ mltran exposure
Traceback (most recent call last):
File "/home/v1rtl/.local/bin/mltran", line 281, in <module>
main()
File "/home/v1rtl/.local/bin/mltran", line 270, in main
word = word.decode('utf8').encode('cp1251')
AttributeError: 'str' object has no attribute 'decode'
I have python (python2), python3 and python3.7 installed globally. which version does this CLI use?
$ mltran mincemeat
Traceback (most recent call last):
File ".../mltran/mltran.py", line 341, in <module>
main()
File ".../mltran/mltran.py", line 335, in main
show_translations(phrase)
File ".../mltran/mltran.py", line 81, in show_translations
translations = translate(phrase)
File ".../mltran/mltran.py", line 87, in translate
return list(parse_translation_page(page_content))
File ".../mltran/mltran.py", line 111, in parse_translation_page
yield parse_translation(rows)
File ".../mltran/mltran.py", line 125, in parse_translation
header=parse_translation_header(rows.popleft()),
File ".../mltran/mltran.py", line 141, in parse_translation_header
assert translation_header_element is not None
AssertionError
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.