In [2]:
8 * 9
Out[2]:
In [3]:
_ + 8
Out[3]:
In [9]:
for _ in range(1, 11):
print(_, end='、 ')
In [ ]:
from django.utils.translation import ugettext as _
from django.http import HttpResponse
def my_view(request):
output = _("Welcome to my site.")
return HttpResponse(output)
In [10]:
class A(object):
def _internal_use(self):
pass
def __method_name(self):
pass
print(dir(A()))
In [13]:
import time
print(time.__name__)
In [14]:
__all__ = [
"foo",
"bar",
"egg",
]