Skip to content

Instantly share code, notes, and snippets.

@Jongbhin
Last active July 6, 2020 06:22
Show Gist options
  • Save Jongbhin/0bd61a68893410991c78623d4a3ff417 to your computer and use it in GitHub Desktop.
Save Jongbhin/0bd61a68893410991c78623d4a3ff417 to your computer and use it in GitHub Desktop.
[Util functions with product] #python #11st #product #util
def get_prd_no(image_path):
prd_no = image_path.split('/')[-1].split('_')[0]
return prd_no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment