上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 61 下一页
  2023年12月15日
摘要: 初学是真麻烦,可能是我上来入手python,太简单了 GO是面向接口编程 接口定义: 接口是一组方法的集合,用于描述对象应该具有的行为。接口定义了一个协议,规定了实现该接口的类型必须提供哪些方法。在面向接口编程中,关注的是对象的行为而不是具体的类型。 接口实现: 类型通过实现接口的方式表达其符合该接 阅读全文
posted @ 2023-12-15 14:58 黑逍逍 阅读(33) 评论(0) 推荐(0)
摘要: 主键 主键(Primary Key): 主键是用于唯一标识表中每一行记录的字段或字段组合。 每个表只能有一个主键,且主键的值不能重复且不能为NULL。 主键通常用于加速数据检索,因为数据库系统会为主键创建索引。 在MySQL中,可以在表的创建时或之后通过ALTER TABLE语句添加主键。 在创建表 阅读全文
posted @ 2023-12-15 11:51 黑逍逍 阅读(46) 评论(0) 推荐(0)
  2023年12月14日
摘要: RESTful(Representational State Transfer)是一种用于构建网络服务的架构风格。它是由 Roy Fielding 在他的博士论文中提出的,名为《Architectural Styles and the Design of Network-based Software 阅读全文
posted @ 2023-12-14 21:31 黑逍逍 阅读(63) 评论(0) 推荐(0)
  2023年12月13日
摘要: 费劲死了。 python go fs 阅读全文
posted @ 2023-12-13 16:48 黑逍逍 阅读(13) 评论(0) 推荐(0)
摘要: 当年写的,哈哈哈,真简单,实际没学一样,当我遇到实际问题,还是不会 import pandas as pd df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})for index, row in df.iterrows(): print('index:',ind 阅读全文
posted @ 2023-12-13 10:02 黑逍逍 阅读(18) 评论(0) 推荐(0)
  2023年12月12日
摘要: 自动空值浏览器的一个软件 通过ID定位元素: element = driver.find_element(By.ID, 'element_id') 通过Name定位元素: element = driver.find_element(By.NAME, 'element_name') 通过XPath定位 阅读全文
posted @ 2023-12-12 17:44 黑逍逍 阅读(24) 评论(0) 推荐(0)
摘要: 多态就是同一个接口,使用不同的实例而执行不同操作 多态性(Polymorphism)是面向对象编程的一个重要概念 // 接口 interface SoundMaker { void makeSound(); } // 实现接口的基类 class Animal implements SoundMake 阅读全文
posted @ 2023-12-12 15:43 黑逍逍 阅读(16) 评论(0) 推荐(0)
  2023年12月11日
摘要: 真是无语了。 网上的教程乱起八糟 step1:官网 MySQL :: Download MySQL Community Server 2. 安装 3.. 环境变量 安装位置的bin目录 4.检查 阅读全文
posted @ 2023-12-11 17:24 黑逍逍 阅读(9) 评论(0) 推荐(0)
摘要: 普通循环 for i := 0; i < 5; i++ { fmt.Println(i) } range 关键字遍历数组、切片、字符串、映射等 不使用的关键字,要用_代替 package mainimport "fmt"var number = []int{1, 2, 3, 4, 5}func ma 阅读全文
posted @ 2023-12-11 10:24 黑逍逍 阅读(9) 评论(0) 推荐(0)
  2023年12月8日
摘要: package mainimport "fmt"func main() { fmt.Print("Hello") fmt.Print("World") //会连续打印,但是它们之间没有空格或换行符 //Output: HelloWorld fmt.Println("Hello", "World") 阅读全文
posted @ 2023-12-08 17:14 黑逍逍 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 61 下一页