会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
-->
Zain
博客园
首页
新随笔
联系
订阅
管理
2024年5月11日
FastAPI 创建
摘要: 1.安装 FastAPI 和 Uvicorn: pip install fastapi uvicorn 2.创建FastAPI 应用。main.py: from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root():
阅读全文
posted @ 2024-05-11 10:06 Zain·Wilson
阅读(91)
评论(0)
推荐(0)
2024年4月20日
tensorflow的各种坑 tensorflow1.x 与 tensorflow2.x
摘要: 2.x中的几个重大变化 tf.contrib 被完全弃用 但 import tensorflow.contrib.slim as slim 在很多之前版本使用,如果在2.x也这样用,会报错 ModuleNotFoundError: No module named 'tensorflow.contri
阅读全文
posted @ 2024-04-20 02:59 Zain·Wilson
阅读(96)
评论(0)
推荐(0)
2024年4月18日
Python虚拟环境的创建和管理
摘要: [# python各版本国内镜像下载] python国内镜像各版本下载 https://registry.npmmirror.com/binary.html?path=python/ [# 设置pip为国内镜像源] pip config set global.index-url https://py
阅读全文
posted @ 2024-04-18 11:27 Zain·Wilson
阅读(85)
评论(0)
推荐(0)
2024年4月16日
zain_python--常用配置
该文被密码保护。
阅读全文
posted @ 2024-04-16 12:10 Zain·Wilson
阅读(14)
评论(0)
推荐(0)
2024年1月6日
C# -- 《零基础学C#(全彩版)》Day1 -- 第1篇 基础知识
摘要: 第1篇 基础知识 第一章 IDE--Visual Studio 在之前程序学习接触了Jetbrains的产品,其功能的强大、界面流畅度及其他编辑也是用该产品习惯等原因,所以主要使用 Rider进行C#的开发IDE。跳过Visual Studio的学习部分。 有关名词解释: SDK : Softwar
阅读全文
posted @ 2024-01-06 14:56 Zain·Wilson
阅读(130)
评论(0)
推荐(0)
2024年1月5日
SAS导入Excel数据-- proc import
摘要: proc import导入数据 proc import datafile="" out=sas数据集名 dbms=文件标识 replace; /* replacr 如果存在数据集,是否进行替换 */ getnames=yes; /* 是否将第一行设置为变量名 yes(默认值)|no */ datar
阅读全文
posted @ 2024-01-05 03:06 Zain·Wilson
阅读(665)
评论(0)
推荐(0)
SAS Option 选项相关
摘要: SAS变量命名 options validvarname options validvarname = v7|any|upcase; v7 --默认,即系统使用一般意义下的命名规则(在SAS EG使用过程中,发现特殊字符没有替换为下划线,添加 v7选项) any --表示可以选择使用特殊字符命名,也
阅读全文
posted @ 2024-01-05 01:11 Zain·Wilson
阅读(205)
评论(0)
推荐(0)
2022年11月10日
SAS 日期处理(一)
摘要: 目录1.日期格式2.缺失日期的比较tod. 时间不完整填补缺失自动填补最早日期 点击跳转函数跳转使用例子 tod.时间补全函数 anydtdtm.缺失日期读入函数 anydtdte.缺失自动填补最早日期 1.日期格式 2.缺失日期的比较 anydtdtm.函数 data b; a1 = "2011-
阅读全文
posted @ 2022-11-10 16:45 Zain·Wilson
阅读(776)
评论(0)
推荐(0)
2022年3月21日
Ubuntu系统中防火墙的使用和开放端口
摘要: [toc] # Ubuntu系统 防火墙的使用和开放端口 ### 1.安装防火墙 ` sudo sudo apt-get install ufw ` ### 2.查看防火墙状态 `sudo ufw status` `inactive`: 不活跃,未开启 `active`:开启 ### 3.开启、重启
阅读全文
posted @ 2022-03-21 22:56 Zain·Wilson
阅读(3114)
评论(0)
推荐(0)
公告