Module Expr Str ImportFrom alias alias alias alias Import alias Import alias Expr Call AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num FunctionDef arguments args defaults vararg body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Str Str decorator_list If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword ListLoad Str keyword ListLoad Call NameLoad Str Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str keyword NameLoad keyword Call AttributeLoad Str attr NameLoad ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword Str keyword Str keyword Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str Call NameLoad Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad Str Str
N/A N/A 
Demo script. Run:

python.exe demo.py
 __future__ absolute_import division print_function unicode_literals N/A os N/A logging N/A N/A N/A logging basicConfig django.conf settings django.conf.urls patterns url django.core.wsgi get_wsgi_application django.utils.timezone now tznow N/A basename N/A N/A N/A N/A os path splitext N/A N/A N/A os path basename __file__ N/A 0 rel N/A N/A N/A path N/A N/A N/A N/A N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ path replace \ / N/A N/A N/A N/A settings configured N/A N/A N/A N/A settings configure DEBUG True TIMEZONE UTC INSTALLED_APPS N/A easy_pdf TEMPLATE_DIRS N/A N/A rel tests templates STATIC_ROOT N/A N/A N/A os path abspath N/A rel tests static ROOT_URLCONF basename WSGI_APPLICATION N/A N/A {}.application format basename easy_pdf.views PDFTemplateView HelloPDFView N/A PDFTemplateView N/A N/A template_name hello.html get_context_data N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super HelloPDFView self get_context_data pagesize A4 title Hi there! today N/A tznow kwargs N/A N/A N/A urlpatterns N/A patterns N/A url ^$ N/A N/A HelloPDFView as_view N/A application N/A get_wsgi_application N/A N/A __name__ __main__ N/A django.core.management call_command N/A N/A call_command runserver 8000