hi.

i need to know the type of variable i'm dealing with.
take this list:

files = [
        "lib/jquery/jquery-1.4.2.source.js",
        "lib/jquery-ui-1.8.1/development-bundle/ui/jquery-ui-1.8.1.custom.js",
        "lib/jquery-ui-1.8.1/development-bundle/ui/jquery.ui.tabs.js",
        "lib/jquery/jquery.scrollTo-min.js",
        "lib/jquery/jquery.corner.js",
        "lib/jquery/jquery.mousewheel.js",
        "lib/jquery/jquery.em.js",
        "lib/jquery/jScrollPane.js",
        "lib_rv/logAndHandler-1.1.0/lah.source.js",
        "lib_rv/visCanvasLoaderIcon-1.1.0/visCanvasLoaderIcon.source.js",
        self.getJavascript_getbootJSPHP,
        "js/mbCore_boot.js",
        "content/mediaBeez_custom.js"
]
# output a list of the files.
html = '';
for i in range(len(files)):
        file = files[i]
                        
        f = open (file, 'r')
        html += f.read()
                                
page = {
        'html' : html
}
the third-last item in the list is not a string, it's a function.
how do i test for that?

-- 
---------------------------------
Greetings from Rene7705,

My free open source webcomponents:
  http://code.google.com/u/rene7705/
  http://mediabeez.ws/downloads (and demos)

My music (i'm DJ firesnake)
  http://mediabeez.ws/music

http://www.facebook.com/rene7705
---------------------------------
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to