unknown
1970-01-01 00:00:00 UTC
The txt2tags built-in command-line expects to receive the full command
line as a list of tokens, except the very first item. Examples:
txt2tags --help ---> ['--help']
txt2tags -t html -i sample.t2t ---> ['-t', 'html', '-i', 'sample.t2t']
To make things easier, you can use split to create the list:
'-t html -i sample.t2t'.split()
"c:\\" for phone memory
Txt2tags will write the converted file in the same folder as the *.t2t file.
Kind Regards, Nicholas
line as a list of tokens, except the very first item. Examples:
txt2tags --help ---> ['--help']
txt2tags -t html -i sample.t2t ---> ['-t', 'html', '-i', 'sample.t2t']
To make things easier, you can use split to create the list:
'-t html -i sample.t2t'.split()
import txt2tags
txt2tags.exec_command_line( '-t html -i e:\\samples/sample.t2t'.split() )
txt2tags wrote samples/sample.html #"e:\\" for minisd card on the e61txt2tags.exec_command_line( '-t html -i e:\\samples/sample.t2t'.split() )
"c:\\" for phone memory
Txt2tags will write the converted file in the same folder as the *.t2t file.
Kind Regards, Nicholas