Did I find the right examples for you? yes no

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

src/a/d/AdminCraft-HEAD/admincraft/views.py   AdminCraft(Download)
    #NOTE: if the user edits their server configuration file, the last two lines may not be what
    #you are expecting.
    propertiesFile = config.MINECRAFTDIR + config.SERVERPROPERTIES
    properties = open(propertiesFile, "r").readlines()[2:]
 
def tabs():
    #Read server.properties to display Server Properties on Server Config section. -2 first lines.
    propertiesFile = config.MINECRAFTDIR + config.SERVERPROPERTIES
    properties = open(propertiesFile, "r").readlines()[2:]
 
 
    #Set server.properties
    p = config.MINECRAFTDIR + config.SERVERPROPERTIES
 
    #Open properties as f with read and write permissions.