""IMPORTANT"" Browser driver is essential to work, please go to pypi.org/project/selenium/ find suitable driver under "Drivers" and put in the same directory you execute this program or in your $PATH Default browser is Chrome, to change, please add -d firefox/edge/safari after command, or --driver
Input can be any type of text file, as long as it can be read. gtranstomp3 is a tool that can translate English word or sentence into Traditional Chinese and get the example sentences if existed. Then combine the text by the order of 3 English word, 1 Chinese word and all example sentences. After combination, the result will be pronounced by 'Miss Google' and store into mp3 file.
All the input files must be store in 'input' directory where is the same directory you execute the file. To use this function, add -i or --input
Batch of copy and paste is available, for example, you can copy the following words or phrases:
old new milk apple umbrella momentum Newton make up look into
But the word should be in the next line, otherwise it would be seen as a sentence.
To finish entering, just press enter for none input to start translating and formatting. The mp3 file will be store in the 'output' directorry, where is the same directory you execute the file.
HOW TO USE python main.py -option -i --input use file as input word -d --driver change browser
Release files for gtranstomp3 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gtranstomp3-0.1.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gtranstomp3-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / gtranstomp3-0.1.1.tar.gz
| Download URL | gtranstomp3-0.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e19114814eb29e836b0fb3b8ce57c2d91a654f2238343bd2774d3901911d910
|
|
BLAKE2b-256 checksum How to use checksums |
74ea78630fb02108f91831404ea2b71978bf004570b348752840ea41a6ab708e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8
|
Release files / gtranstomp3-0.1.1-py3-none-any.whl
| Download URL | gtranstomp3-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
148917c7ad7b529ce9967b9e883f7ca2f96028391cc1bd382a3762f0a0e2d2ec
|
|
BLAKE2b-256 checksum How to use checksums |
1dcdac36a0d3ac85450bd8f1f62b663175117839b6c602915b1667d5f6ccdbc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8
|