Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/y/python-code-snippets-HEAD/CodeSnippets/PyAdmin/routines/PyAdminCGIHTTPServer.py   python-code-snippets(Download)
import config
 
cfg = config.Parser()
 
cfg.set_section( "Server" )

src/p/y/python-code-snippets-HEAD/CodeSnippets/PyAdmin/modules/consoleOLD3.py   python-code-snippets(Download)
 
    ## Konfiguration lesen
    cfg = config.Parser()
    cfg.set_section("console")
    maxHistoryLines         = cfg.get( "maxHistoryLines", "int" )

src/p/y/python-code-snippets-HEAD/CodeSnippets/PyAdmin/modules/consoleOLD2.py   python-code-snippets(Download)
 
## Konfiguration
cfg = config.Parser()
cfg.set_section("console")
maxHistoryLines         = cfg.get( "maxHistoryLines", "int" )

src/p/y/python-code-snippets-HEAD/CodeSnippets/PyAdmin/modules/console.py   python-code-snippets(Download)
 
    ## Konfiguration lesen
    cfg = config.Parser()
    cfg.set_section("console")
    maxHistoryLines         = cfg.get( "maxHistoryLines", "int" )

src/p/y/python-code-snippets-HEAD/CodeSnippets/PyAdmin/PyAdminInetdServer.py   python-code-snippets(Download)
    def read_config( self ):
        "Server Konfiguration lesen"
        cfg = config.Parser()
        cfg.set_section("Server")
        self.AllowIPs        = cfg.get( "AllowIPs", "list" )