프로그래밍 Programming
장고 소스 파일 위치 찾기 (Where are the Django source files?)
문장전달자
2015. 9. 24. 18:12
728x90
장고 소스 파일의 위치는 다음과 같이 찾을 수 있다.
C:\Users\fukaeri>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on wi
n32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path = sys.path[1:]
>>> import django
>>> print(django.__path__)
['C:\\Python27\\lib\\site-packages\\django-1.9-py2.7.egg\\django']
>>>
728x90