上一页 1 2 3 4 5 6 7 8 9 ··· 107 下一页
摘要: binary_num = '10000001' ones_complement = '' for bit in binary_num: ones_complement += '0' if bit == '1' else '1' print(ones_complement) #加上1 binary_n 阅读全文
posted @ 2024-05-12 22:20 ®Geovin Du Dream Park™ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: // 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™ 阅读(49) 评论(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™ 阅读(8) 评论(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™ 阅读(11) 评论(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™ 阅读(21) 评论(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™ 阅读(10) 评论(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™ 阅读(5) 评论(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™ 阅读(13) 评论(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™ 阅读(111) 评论(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™ 阅读(26) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 107 下一页