Python printing twice when importing facebook-sdk -


can me out why happening? have python 3, virtualenv based environment, , writing scripts facebook sdk.

when write print statement before importing facebook, print happening once.

print once!

when write print statement after importing facebook, print happening twice, though print written once.

print twice!

rename file facebook.py else. is, importing itself rather module.


Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -