Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
main.py
SUBMITTED BY:
Guest
DATE:
April 8, 2013, 10:50 p.m.
FORMAT:
Python
SIZE:
351 Bytes
Raw
Download
Tweet
HITS:
1135
Go to comments
Report
#!/usr/bin/env python
import
sys
,
os
package_dir
=
"packages"
package_dir_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
package_dir
)
sys
.
path
.
insert
(
0
,
package_dir_path
)
import
bottle
from
app
import
views
bottle
.
debug
(
True
)
# Only for debugging purposes, set to False in production
bottle
.
run
(
server
=
'gae'
)
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus