mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
14 lines
264 B
Python
14 lines
264 B
Python
# -*- coding: utf-8 -*-
|
|
# @Time : 2019/3/22 10:02 PM
|
|
# @Author : cxa
|
|
# @File : testdic.py
|
|
# @Software: PyCharm
|
|
from copy import deepcopy
|
|
img_url="http:"
|
|
try:
|
|
a=img_url.split("/")[-1]
|
|
print(a)
|
|
a.replace(".jpeg","")
|
|
except Exception as e:
|
|
print(e.args)
|