Example #1
0
import sys, os

from twisted.python import util

from vellum.util.filesystem import Filesystem

# for py2exe, make sure __file__ is real
if not os.path.isfile(__file__):
    __file__ = sys.executable

fs = Filesystem(os.getcwd())
fs.images = fs.new("images", mkdir=1)
fs.party = fs.new("party", mkdir=1)
fs.encounters = fs.new("encounters", mkdir=1)
fs.aliases = fs.new("aliases", mkdir=1)
fs.help = fs("help.txt")
fs.maps = fs.new("maps", mkdir=1)
Example #2
0
import sys, os

from twisted.python import util

from vellum.util.filesystem import Filesystem

# for py2exe, make sure __file__ is real
if not os.path.isfile(__file__):
    __file__ = sys.executable

fs = Filesystem(os.getcwd())
fs.images = Filesystem(fs("images"), mkdir=1)
fs.party = Filesystem(fs("party"), mkdir=1)
fs.encounters = Filesystem(fs("encounters"), mkdir=1)
fs.aliases = Filesystem(fs("aliases"), mkdir=1)
fs.help = fs("help.txt")
fs.maps = Filesystem(fs("maps"), mkdir=1)
Example #3
0
import sys, os

from vellum.util.filesystem import Filesystem

# for py2exe, make sure __file__ is real
if not os.path.isfile(__file__):
    __file__ = sys.executable


fs = Filesystem(os.getcwd())
fs.images = fs.new("images", mkdir=1)
fs.party = fs.new("party", mkdir=1)
fs.encounters = fs.new("encounters", mkdir=1)
fs.aliases = fs.new("aliases", mkdir=1)
fs.help = fs("help.txt")
fs.maps = fs.new("maps", mkdir=1)
Example #4
0
import sys, os

from twisted.python import util

from vellum.util.filesystem import Filesystem

# for py2exe, make sure __file__ is real
if not os.path.isfile(__file__):
    __file__ = sys.executable


fs = Filesystem(os.getcwd())
fs.images = Filesystem(fs("images"), mkdir=1)
fs.party = Filesystem(fs("party"), mkdir=1)
fs.encounters = Filesystem(fs("encounters"), mkdir=1)
fs.aliases = Filesystem(fs("aliases"), mkdir=1)
fs.help = fs("help.txt")
fs.maps = Filesystem(fs("maps"), mkdir=1)