0.1.175
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| Metadata-Version: 2.4 | ||||
| Name: guan | ||||
| Version: 0.1.174 | ||||
| Version: 0.1.175 | ||||
| Summary: An open source python package | ||||
| Home-page: https://py.guanjihuan.com | ||||
| Author: guanjihuan | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # Module: data_processing | ||||
|  | ||||
| # 获取运行的日期和时间并写入文件 | ||||
| def statistics_with_day_and_time(content='', filename='time_logging', file_format='.txt'): | ||||
| def logging_with_day_and_time(content='', filename='time_logging', file_format='.txt'): | ||||
|     import datetime | ||||
|     datetime_today = str(datetime.date.today()) | ||||
|     datetime_time = datetime.datetime.now().strftime('%H:%M:%S') | ||||
|   | ||||
| @@ -37,4 +37,9 @@ def pdf_to_text(pdf_path): | ||||
|     import guan | ||||
|     print('Warning: The current function name has been deprecated, which will be deleted in the future version. Please change it into guan.pdf_to_text_with_pdfminer3k().') | ||||
|     content = guan.pdf_to_text_with_pdfminer3k(pdf_path) | ||||
|     return content | ||||
|     return content | ||||
|  | ||||
| def statistics_with_day_and_time(content='', filename='time_logging', file_format='.txt'): | ||||
|     import guan | ||||
|     print('Warning: The current function name has been deprecated, which will be deleted in the future version. Please change it into guan.logging_with_day_and_time().') | ||||
|     guan.logging_with_day_and_time(content=content, filename=filename, file_format=file_format) | ||||
		Reference in New Issue
	
	Block a user