forked from rainyear/python3-in-one-pic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHighlight.html
More file actions
31 lines (28 loc) · 839 Bytes
/
Copy pathHighlight.html
File metadata and controls
31 lines (28 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE in Action</title>
<link href="http://cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github-gist.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/highlight.js/9.1.0/highlight.min.js"></script>
<script src="//cdn.bootcss.com/highlight.js/9.1.0/languages/python.min.js"></script>
</head>
<body>
<pre><code class="python">
"""
MyModule/
|--SubModuleOne/
|--__init__.py
|--smo.py
# smo.py
def run():
print("Running MyModule.SubModuleOne.smo!")
"""
from MyModule.SubModule import smo
smo.run()
# Running MyModule.SubModuleOne.smo!
</code></pre>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>