DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gettext) Python

Info Catalog (gettext) bash (gettext) List of Programming Languages (gettext) Common Lisp
 
 15.5.4 Python
 -------------
 
 RPMs
      python
 
 File extension
      `py'
 
 String syntax
      `'abc'', `u'abc'', `r'abc'', `ur'abc'',
      `"abc"', `u"abc"', `r"abc"', `ur"abc"',
      `'''abc'''', `u'''abc'''', `r'''abc'''', `ur'''abc'''',
      `"""abc"""', `u"""abc"""', `r"""abc"""', `ur"""abc"""'
 
 gettext shorthand
      `_('abc')' etc.
 
 gettext/ngettext functions
      `gettext.gettext', `gettext.dgettext', `gettext.ngettext',
      `gettext.dngettext', also `ugettext', `ungettext'
 
 textdomain
      `gettext.textdomain' function, or `gettext.install(DOMAIN)'
      function
 
 bindtextdomain
      `gettext.bindtextdomain' function, or
      `gettext.install(DOMAIN,LOCALEDIR)' function
 
 setlocale
      not used by the gettext emulation
 
 Prerequisite
      `import gettext'
 
 Use or emulate GNU gettext
      emulate
 
 Extractor
      `xgettext'
 
 Formatting with positions
      `'...%(ident)d...' % { 'ident': value }'
 
 Portability
      fully portable
 
 po-mode marking
      --
 
    An example is available in the `examples' directory: `hello-python'.
 
Info Catalog (gettext) bash (gettext) List of Programming Languages (gettext) Common Lisp
automatically generated byinfo2html