Paths class module. Used for defining the default paths.
Currently Pyzzle uses default directories when looking for, data.
Define these default paths here.
Note I will extend Pyzzle so you can place custom paths with each data object.
|
Imported modules
|
|
import os
|
|
Functions
|
|
|
|
|
|
getImagePath
|
getImagePath ()
->
path. returns the default image path.
|
|
|
getMoviePath
|
getMoviePath ()
->
path. returns the default movie path.
|
|
|
getObjectPath
|
getObjectPath ()
->
path. returns the default object path.
|
|
|
getSlidePath
|
getSlidePath ()
->
path. returns the default slide path.
|
|
|
getSoundPath
|
getSoundPath ()
->
path. returns the default sound path.
|
|
|
getTextPath
|
getTextPath ()
|
|
|
setImagePath
|
setImagePath ( path )
Set the default image
path. parameters:
-
path
- directory contains the over slide images.
|
|
|
setMoviePath
|
setMoviePath ( path )
Set the default movie
path. parameters:
-
path
- directory contains the mpeg movies.
|
|
|
setObjectPath
|
setObjectPath ( path )
Set the default object
path. parameters:
-
path
- directory contains the object icon files.
|
|
|
setSlidePath
|
setSlidePath ( path )
Set the default slide
path. parameters:
-
path
- directory contains the slides.
|
|
|
setSoundPath
|
setSoundPath ( path )
Set the default sound
path. parameters:
-
path
- directory contains the sounds, ambient sounds and music.
|
|
|
setTextPath
|
setTextPath ( path )
Set the default text
path. parameters:
-
path
- directory contains the text.
|