摘要: // geovindu /* (c) 2011-2015, Vladimir Agafonkin SunCalc is a JavaScript library for calculating sun/moon position and light phases. https://github.co 阅读全文
posted @ 2024-05-10 16:31 ®Geovin Du Dream Park™ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import os import socket import struct from unidecode import unidecode import re import json import requests from bs4 import BeautifulSoup import gzip 阅读全文
posted @ 2024-04-30 15:45 ®Geovin Du Dream Park™ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: def unGz(file_name): """ ungz zip file import gzip :param file_name: :return: """ f_name = file_name.replace(".gz", "") #获取文件的名称,去掉 g_file = gzip.Gzip 阅读全文
posted @ 2024-04-29 20:52 ®Geovin Du Dream Park™ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="text/html; 阅读全文
posted @ 2024-04-29 09:15 ®Geovin Du Dream Park™ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ''' 引用类库 import re import string ''' @staticmethod def strSplit(textSource: str, patterns: str) -> list: """ 分割字符串 :param textSource: 需要进行分割的字符串 :para 阅读全文
posted @ 2024-04-28 11:57 ®Geovin Du Dream Park™ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: import pdf2docx; #pip install pdf2docx https://github.com/ArtifexSoftware/pdf2docx pdf2docx.parse("CreateTwoColumnPDF.pdf","1.docx"); us_english Engli 阅读全文
posted @ 2024-04-10 15:12 ®Geovin Du Dream Park™ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.SemanticKernel.ImageToText; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.Semantic 阅读全文
posted @ 2024-04-10 14:31 ®Geovin Du Dream Park™ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="viewport" content="width=devic 阅读全文
posted @ 2024-04-07 16:15 ®Geovin Du Dream Park™ 阅读(34) 评论(0) 推荐(0) 编辑
摘要: //元组Tuples var person = ("Geovin Du", 30, "Soft Developer"); Console.WriteLine(person.Item1); Tuple<string, int, string> persons = new Tuple<string, i 阅读全文
posted @ 2024-04-07 11:31 ®Geovin Du Dream Park™ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: /* ide: vs 2022 17.5 .net 8.0 QuestPDF 23.12.4 from: https://github.com/QuestPDF/QuestPDF/discussions/560 */ namespace ConsoleAppFontPdfDemo { using Q 阅读全文
posted @ 2024-02-02 18:11 ®Geovin Du Dream Park™ 阅读(9) 评论(0) 推荐(0) 编辑