Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Text Editing&Processing > Markup

    PTML 0.4.0

    Download button

    No screenshots available
    Downloads: 159  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Niall Smart | More programs
    BSD License / FREE
    September 17th, 2010, 21:49 GMT [view history]
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    PTML description

    Embed Python in text documents

    PTML is a Python module which lets you embed Python code in text documents. Its most common application is dynamic content generation on web servers, however it can be used anywhere you need to generate text files on-the-fly.

    PTML is still at a very early stage, although the code should be usable enough for you to learn the syntax and experiment with possible applications. Future directions are briefly listed in the TODO file, suggestions and contributions are most welcome.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Unicode support. If a pep0263-style coding declaration is present at the beginning of a template, all field expressions are treated as Unicode and converted to the output encoding. UTF-8 Byte Order Mark is an implicit declaration of UTF-8 output encoding. See the test suite for examples.
    · Note that in the Unicode mode string constants in template fields must be unicode strings, e.g. ${u"モンティパイソン"}.
    · Most parsing exceptions report source line numbers.

      


    TAGS:

    embeded Python | text documents | Python | embeded | documents

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM