Thanks, really appreciate the detailed responses. I'll see how I go
and report back with any results.

On 7/31/12, Aurelio Jargas <ve...@aurelio.net> wrote:
> Hi Nicholas,
>
> Try version 2.4, which is the last compatible with Python 1.x. You may try
> older versions as well.
>
> You say you don't have command line, but have access to the Python
> interactive shell. That's fine.
>
> Rename the txt2tags script to txt2tags.py, so you can import it as a
> module. There's a handy function exec_command_line() that you can use. It
> 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()
>
> So, just enter in Python shell, import txt2tags and have fun:
>
>>>> import txt2tags
>>>> txt2tags.exec_command_line( '-t html -i samples/sample.t2t'.split() )
> txt2tags wrote samples/sample.html
>>>>
>
> Besides that, you can also use it the harder way, calling the specific
> functions, as shown in samples/module/*.py files.
>
> Note to Eric: I think these instructions will be useful in the
> website|wiki.
>
>
>
> On Mon, Jul 30, 2012 at 5:28 AM, Florent Gallaire
> <fgalla...@gmail.com>wrote:
>
>> see https://code.google.com/p/txt2tags/issues/detail?id=39
>>
>> Cheers
>>
>> Florent
>>
>> On Mon, Jul 30, 2012 at 9:28 AM, Nicholas
>> <independentcommerc...@gmail.com> wrote:
>> > Hello everyone, first post, and apologies if my question seems a bit
>> > odd. It might need to go to the devs list
>> >
>> > I have an old E61 Nokia phone, I can run python 1.4.5 on it. I've
>> > tried in the past to get an older version of txt2tags to run on it. I
>> > never got it to run, from memory I tried to import as many modules as
>> > I could see mentioned.
>> >
>> > I almost got it to run in the past but I think the problem is there is
>> > no command line interface. Python script shell 1.4.5 and python for
>> > d60 is installed.
>> >
>> > So sorry for the odd request has anyone got an idea how to get the
>> > thing to work? Any guesses?
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond.
>> > Discussions
>> > will include endpoint security, mobile security and the latest in
>> > malware
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > txt2tags-list mailing list
>> > https://lists.sourceforge.net/lists/listinfo/txt2tags-list
>>
>>
>>
>> --
>> FLOSS Engineer & Lawyer
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> txt2tags-list mailing list
>> https://lists.sourceforge.net/lists/listinfo/txt2tags-list
>>
>
>
>
> --
> Aurelio | www.aurelio.net | @oreio
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to