from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from aspen import serve, Website

if __name__ == '__main__':
    website = Website()
    serve(website)

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from aspen import serve, website

if __name__ == '__main__':
    serve(website.Website())

Fix ImportError in `python -m aspen`
Fix ImportError in `python -m aspen`

  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  
- from aspen import serve, Website
+ from aspen import serve, website
  
  if __name__ == '__main__':
-     website = Website()
+     serve(website.Website())
-     serve(website)
  
Fix ImportError in `python -m aspen`
## Code Before:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from aspen import serve, Website

if __name__ == '__main__':
    website = Website()
    serve(website)

## Instruction:
Fix ImportError in `python -m aspen`
## Code After:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from aspen import serve, website

if __name__ == '__main__':
    serve(website.Website())
