FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pyt/example/cfg_example.py at github-search-menu · jackcoolpython/pyt · GitHub
jackcoolpython
pyt
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pyt
/
example
/
cfg_example.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (8 loc) · 209 Bytes
Breadcrumbs
pyt
/
example
/
cfg_example.py
Copy path
File metadata and controls
14 lines (8 loc) · 209 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
import
os
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'../pyt'
))
from
cfg
import
CFG
,
print_CFG
,
generate_ast
ast
=
generate_ast
(
'example_inputs/example.py'
)
cfg
=
CFG
()
cfg
.
create
(
ast
)
print_CFG
(
cfg
)
Back
|
FazBrowse Home
|
New Git URL