Ok thanks

So we can't import txt2tags and call a function for generate the output?


2013/4/9 Forgeot Eric <eforg...@yahoo.fr>

> yes, you can do this:
>
> echo -e "\n\n\n==Hello==\n//blabla//" | txt2tags -t html -
>
> and if you want to write the html output:
>
> echo -e "\n\n\n==Hello==\n//blabla//" | txt2tags -t html - > out.html
>
> (from
> http://txt2tags.org/userguide/TheThreeUserInterfacesGuiWebandCommandLine.html
> )
>
>     Eric
>
>
>   ------------------------------
> *De :* gui b <guillaume0...@gmail.com>
> *À :* txt2tags-list@lists.sourceforge.net
> *Envoyé le :* Mardi 9 avril 2013 13h19
> *Objet :* [t2t] txt2tags in a python script
>
> Hi,
>
> I would like to create a python script that uses a variable as input for
> txt2tags without the creation of a t2t file. Is it possible?
> Thanks
>
>
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> txt2tags-list mailing list
> https://lists.sourceforge.net/lists/listinfo/txt2tags-list
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to