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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

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