ZopeMag's mascot the ZOPE fish

Listing 3 - snippet from manage_addDBUserFolder() in DBUserFolder.py


1.	# add SQL methods for users to instance
2.	path = os.path.join( package_home( globals() ), 'DBMethods' ) 
3.	for filename in os.listdir( path ):
4.	       userfolder._loadMethod( dbconnect, path, filename )



Home   Subscribe   FAQ   Contact   Write for us   Privacy Policy   Weekly News   PyZine   opensourcexperts.com  

Reproduction of material from any of ZopeMag's pages without prior written permission is strictly prohibited. Copyright 2003 - 2005 ZopeMag Zope/Plone hosting by Nidelven IT