File: helloworld.py

package info (click to toggle)
webassets 3%3A2.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: python: 8,860; makefile: 92; sh: 15
file content (23 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from __future__ import print_function
from __future__ import print_function
from __future__ import print_function
from __future__ import print_function
from __future__ import print_function
# Import assets configuration
from assets import bundle

print('Content-Type: text/html')
print('')
print('''
<html>
   <head>''')
for url in bundle.urls():
    print('<link rel="stylesheet" type="text/css" href="%s" />' % url)
print('''
   </head>
   <body>
      Hello World!
   </body>
</html>
''')