上一页 1 2 3 4 5 6 7 8 9 ··· 101 下一页
摘要: 4 I got it working atlast . Below is my ruler config ruler: storage: type: local local: directory: /etc/loki/rulestorage rule_path: /etc/loki/rules al 阅读全文
posted @ 2023-08-12 17:06 Oops!# 阅读(92) 评论(0) 推荐(0)
摘要: 前言 在对公司容器云的日志方案进行设计的时候,发现主流的 ELK(Elasticsearch,Logstash,Kibana)或者 EFK(Elasticsearch,Filebeat or Fluentd,Kibana)比较重,再加上现阶段对于 ES 复杂的搜索功能很多都用不上,最终选择了 Gra 阅读全文
posted @ 2023-08-09 09:52 Oops!# 阅读(551) 评论(0) 推荐(0)
摘要: from flask import Flask, render_template, request, url_for, redirect, send_from_directory import os app = Flask(__name__) app.config['UPLOAD_FOLDER'] 阅读全文
posted @ 2023-08-08 15:51 Oops!# 阅读(111) 评论(0) 推荐(0)
摘要: you can use this code to open (test.xlsx) file and modify A1 cell and then save it with a new name import openpyxl xfile = openpyxl.load_workbook('tes 阅读全文
posted @ 2023-08-07 11:02 Oops!# 阅读(62) 评论(0) 推荐(0)
摘要: use this may help you <div class="form-group"> <div class="fileUpload btn btn-primary"> <span>File input</span> <input type="file" id="exampleInputFil 阅读全文
posted @ 2023-08-05 19:44 Oops!# 阅读(107) 评论(0) 推荐(0)
摘要: 使用命令:os.system(‘python file_name.py’) 解释:os.system是执行当前的系统命令 1、拿windows系统举例: # 由于ipconfig/all在windows中是查看ip地址 # 所以将此命令运行在os.system中,即可查看系统的ip地址等信息 imp 阅读全文
posted @ 2023-08-04 16:08 Oops!# 阅读(179) 评论(0) 推荐(0)
摘要: 为什么要有.gitignore文件 项目中经常会生成一些Git系统不需要追踪(track)的文件。典型的是在编译生成过程中 产生的文件或是编程器生成的临时备份文件。当然,你不追踪(track)这些文件,可以 平时不用"git add"去把它们加到索引中。 但是这样会很快变成一件烦人的事,你发现项目中 阅读全文
posted @ 2023-08-04 15:05 Oops!# 阅读(128) 评论(0) 推荐(0)
摘要: 在网上看了很多说Django如何使用本地css/js的文章, 但都不能用 今天终于找到一个可以用的, 记录下 在manager.py同层级下创建static文件夹, 里面放上css , js, image等文件或者文件夹 我的文件夹层级 然后很简单,只需在settings.py中进行设置就行, 在末 阅读全文
posted @ 2023-08-04 11:10 Oops!# 阅读(161) 评论(0) 推荐(0)
摘要: 3 You can use pandas.ExcelFile to have a peek at the sheet names, then select the sheets to keep with any method (here your regex), finally load with  阅读全文
posted @ 2023-08-04 11:06 Oops!# 阅读(45) 评论(0) 推荐(0)
摘要: In this article, we will discuss getting the ceil and floor values of the Pandas Dataframe. First, Let’s create a dataframe. Example: Python3 # import 阅读全文
posted @ 2023-08-03 14:09 Oops!# 阅读(27) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 101 下一页