This commit is contained in:
2023-10-07 04:00:48 +08:00
parent 7cb875ade8
commit cf006f477f
4 changed files with 29 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# API Reference shows all functions in Guan package. The current version is guan-0.0.186, updated on December 07, 2023.
# API Reference shows all functions in Guan package. The current version is guan-0.0.187, updated on December 07, 2023.
import guan
@@ -824,6 +824,9 @@ guan.statistics_with_day_and_time(content='', filename='a', file_format='.txt')
# 统计Python文件中import的数量并排序
import_statement_counter = guan.count_number_of_import_statements(filename, file_format='.py', num=1000)
# 从网页的标签中获取内容
content = guan.get_html_from_tags(link, tags=['title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'li', 'a'])
# 将RGB转成HEX
hex = guan.rgb_to_hex(rgb, pound=1)