Last active
July 6, 2020 06:22
-
-
Save Jongbhin/0bd61a68893410991c78623d4a3ff417 to your computer and use it in GitHub Desktop.
[Util functions with product] #python #11st #product #util
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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