C:\\Users\\58395\\Desktop\\python汇报\\公司年报\\宁德时代\\宁德时代:2022年年度报告.PDF。获取上述路径中后面一个冒号前面的公司名称
def company(path): index = path.rfind(':\\') return path[index + 2:] company('C:\\Users\\58395\\Desktop\\python汇报\\公司年报\\宁德时代\\宁德时代:2022年年度报告.PDF')
C:\\Users\\58395\\Desktop\\python汇报\\公司年报\\宁德时代\\宁德时代:2022年年度报告.PDF。获取上述路径中后面一个冒号前面的公司名称
def company(path): index = path.rfind(':\\') return path[index + 2:] company('C:\\Users\\58395\\Desktop\\python汇报\\公司年报\\宁德时代\\宁德时代:2022年年度报告.PDF')
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description