Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Cammy And
Added: Jun 8, 2021 8:35 PM
Views: 192
Tags: no tags
  1. from pathlib import Path
  2. package_dir = Path(os.path.relpath(__file__)).parent