摘要: from flask import Flask, jsonify, request, send_from_directory from flask_cors import CORS import pandas as pd import os import re app = Flask(__name_ 阅读全文
posted @ 2025-12-12 22:27 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: import uuid import pandas as pd import numpy as np from datetime import datetime #show all rows when print pd.set_option('display.max_rows',None) book 阅读全文
posted @ 2025-12-12 21:06 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: private void AddRowCommandExecuted(object? obj) { var dg = obj as DataGrid; if (dg != null) { if (dg.ItemsSource is IList list) { var itemType = list. 阅读全文
posted @ 2025-12-12 20:11 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: import pandas as pd from datetime import datetime import os import uuid import numpy as np csv_dir=r'D:\PY\CSV_1' excel_dir=r'D:\PY\EXCEL_1' def write 阅读全文
posted @ 2025-12-10 23:00 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: import uuid from datetime import datetime import time import threading print(datetime.now().strftime('%Y%m%d%H%M%S%f')) idx=0 idx_lock=threading.Lock( 阅读全文
posted @ 2025-12-10 21:30 FredGrit 阅读(2) 评论(0) 推荐(0)
摘要: import os idx=0 def list_dir_files(dir_name): global idx if os.path.exists(dir_name): all_items=os.listdir(dir_name) for item in all_items: full_path= 阅读全文
posted @ 2025-12-10 21:12 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: //flask from flask import Flask,jsonify,send_from_directory from flask_cors import CORS import uuid import time import os import pandas as pd import c 阅读全文
posted @ 2025-12-10 00:00 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: python -m pip install flask python -m pip install flask-cors //Flask from flask import Flask,jsonify,send_from_directory from flask_cors import CORS i 阅读全文
posted @ 2025-12-08 21:14 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: //WebAPI namespace BooksServices { public class Program { public static void Main(string[] args) { Console.WriteLine(DateTime.Now); var builder = WebA 阅读全文
posted @ 2025-12-05 00:21 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: 1.New WebApi solution,add controller,BooksController namespace BooksServices.Models { public class Book { public int Id { get; set; } public string Na 阅读全文
posted @ 2025-12-04 23:48 FredGrit 阅读(5) 评论(0) 推荐(0)