Skip to content

Instantly share code, notes, and snippets.

@Robofied
Created February 10, 2019 08:07
Show Gist options
  • Save Robofied/b6e26bf74dbcd74526efdaf5ff36aaba to your computer and use it in GitHub Desktop.
Save Robofied/b6e26bf74dbcd74526efdaf5ff36aaba to your computer and use it in GitHub Desktop.
Intermediate Python
@ company
def new_employee():
print('Hi! Welcome to Robofied team')
new_employee()
#[Output]:
#Wrapper function is executed first
#Hi! Welcome to Robofied team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment