Skip to content

Instantly share code, notes, and snippets.

@dpineiden
Created April 22, 2018 09:31
Show Gist options
  • Save dpineiden/d5ccd25d9a8cd3f18c3649cf7133386b to your computer and use it in GitHub Desktop.
Save dpineiden/d5ccd25d9a8cd3f18c3649cf7133386b to your computer and use it in GitHub Desktop.
how to define python function with args
def curl(url):
bs4(url)
def curl2(**kwargs):
url = kwargs['url']
bs4(url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment