Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pandeybk/7906c7934d6a938b0182ca63ddd0cf96 to your computer and use it in GitHub Desktop.
Save pandeybk/7906c7934d6a938b0182ca63ddd0cf96 to your computer and use it in GitHub Desktop.
How many ways can you spell an import?
import ansible.module_utils.one
import kitchen.text, ansible.module_utils.two, docutils, ansible.module_utils.three, distutils.sysconfig
import ansible.module_utils.four.parse
from ansible.module_utils.five import *
from ansible.module_utils.six import parse
from ansible.module_utils import seven
from ansible.module_utils import eight, nine
from ansible.module_utils.ten.foo import parse
b = 1 ; import ansible.module_utils.eleven
import distutils ; from ansible.module_utils import twelve ; import math ; import ansible.module_utils.thirteen
class Nested:
def some_func(self):
import ansible.module_utils.fourteen
import ansible.module_utils.fifteen as foo
from ansible.module_utils.sixteen import foo as bar
from ansible.module_utils.seventeen.foo import parse as bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment