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

how to add preprocess loader in webpack 2 -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -

sharepoint online - C# CSOM SPView ListItemCollection did not update after I add new field in the SP view -