Introduction To Python - Learn Python the hard way v2.0
voteup image
0

I want to use a directory as module which contains certain no of files. Could you explain me how can I do that ?

asked Nov 4, 2011

http://twitter.com/SamirSahoo007's image

http://twitter.com/SamirSahoo007

3 Answers:
voteup image
0

you can put init.py file in to that directory.

answered Nov 4, 2011

http://twitter.com/mithungore's image

http://twitter.com/mithungore

voteup image
0

init.py or init.py? I think it,s init.py

answered Nov 4, 2011

http://twitter.com/ayyajss's image

http://twitter.com/ayyajss

voteup image
0

we have to use __init__.py

answered Nov 4, 2011

http://twitter.com/ayyajss's image

http://twitter.com/ayyajss

Provide an answer to this question.
This editor supports the markdown format. Please visit this page, If you are not familiar with Markdown.

Recent Course Updates: