创建Django项目(需要从终端输入): Django-admin startproject 项目名称 创建app应用文件 首先 cd 你所创建项目的目录中 cd 项目名称 python manage.py startapp 应用名称 需要从你的项目里的settings.py进行配置 INSTALL ...
分类:
其他好文 时间:
2019-12-19 21:10:12
阅读次数:
79
上次我们做了构建Linux内核的实验,这次我们要在上次的基础上,做一个Socket与系统调用的深度分析。本次实验在X86 64环境下Linux5.0.1的内核中进一步跟踪验证。 遇到问题,待续》》》》》 ...
分类:
其他好文 时间:
2019-12-19 20:50:47
阅读次数:
63
string (1) size_t find (const string& str, size_t pos = 0) const noexcept; c-string (2) size_t find (const char* s, size_t pos = 0) const; buffer (3) ...
分类:
其他好文 时间:
2019-12-19 19:34:38
阅读次数:
106
第一步:编写application.yml配置文件 spring: datasource: system: jdbc-url: jdbc:oracle:thin:@localhost:1521/orcl driver-class-name: oracle.jdbc.OracleDriver user ...
分类:
编程语言 时间:
2019-12-19 19:12:09
阅读次数:
81
import requests import json # 发送post请求 def post(url, headers, values): try: headers['Content-Type'] = "application/json; charset=utf-8" response = req ...
分类:
编程语言 时间:
2019-12-19 19:02:06
阅读次数:
135
1、@RestController(组合注解):标注在类上,等价于@Controller和@Responsebody @Controller:将该类标记为Controller层的类,并且注入到Spring容器中 @Responsebody:注解的作用是将controller的方法返回的对象通过适当的 ...
分类:
编程语言 时间:
2019-12-19 16:20:41
阅读次数:
367
1.TestNG常用注解 @Test 标记一个类或方法作为测试的一部分 @BeforeMethod 注解的方法将在每个测试方法运行之前运行 @AfterMethod 注解的方法将在每个测试方法运行之后运行 @BeforeClass 注解的方法将只运行一次,在当前类中所有方法运行之前调用 @After ...
分类:
其他好文 时间:
2019-12-19 15:47:21
阅读次数:
238
1.1 环境搭建——pom文件 4.0.0 com.ustc miaosha 1.0 SNAPSHOT miaosha http://www.example.com org.springframework.boot spring boot starter parent 1.5.9.RELEASE U ...
分类:
其他好文 时间:
2019-12-19 14:36:41
阅读次数:
132
In-course assessment 3 (ICA 3), Autumn Term 2019 STAT0006Overview of ICA 3There are two tasks associated with this ICA. You must complete both. More d ...
分类:
其他好文 时间:
2019-12-19 12:59:33
阅读次数:
98
//先添加引用,步骤:1,引用 COM Microsoft Excel 14.0 Object Library //14.0是2010版 // 2,using Excel = Microsoft.Office.Interop.Excel; //// 3,using Microsoft.Office. ...