path updated
"metadata": {},
"outputs": [],
"source": [
- "data_path = Path(os.path.join(filepath.split('.')[0]))"
+ "data_path = Path(os.path.join(os.path.splitext(filepath)[0]))"
]
},
{
"metadata": {},
"outputs": [],
"source": [
- "video_file = Path(os.path.join(videopath.split('.')[0], 'test.mp4'))"
+ "video_file = os.path.join(os.path.splitext(videopath)[0], 'test.mp4')"
]
},
{
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.6.12"
+ "version": "3.7.9"
}
},
"nbformat": 4,
