Skip to content Skip to sidebar Skip to footer

Inheritance In Web.py?

I am currently developing wep.py application. This is my web application which is binded with web.py and wsgi. root/main.py import web import sys import imp import os sys.path.app

Solution 1:

if you create python module you should add __init__.py in top of your hierarchy:

dvedit/
  __init__.py
  clipview.py
  filters/
    __init__.py

it means that in every directory which will be imported via from ... import ... should have __init__.py file.

further info available: http://wiki.cython.org/PackageHierarchy

Post a Comment for "Inheritance In Web.py?"