ZhangZhihui's Blog  
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 78 下一页

2024年6月17日

摘要: >>> format_string=("%2f" %13.333222) >>> print(format_string) 13.333222 >>> format_string=("%2.3f" %13.333222) >>> print(format_string) 13.333 >>> nam 阅读全文
posted @ 2024-06-17 19:33 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2024-06-17 19:31 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: >>> help() help> PRECEDENCE Operator precedence ******************* The following table summarizes the operator precedence in Python, from highest pre 阅读全文
posted @ 2024-06-17 19:27 ZhangZhihuiAAA 阅读(14) 评论(0) 推荐(0) 编辑
 
摘要: >>> import keyword>>> keyword.kwlist['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'el 阅读全文
posted @ 2024-06-17 18:29 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0) 编辑
 
摘要: func getUserInput() { fmt.Print("Please give me your name: ") var name string // Scan scans text read from standard input, storing successive space-se 阅读全文
posted @ 2024-06-17 11:37 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑
 
摘要: zzh@ZZHPC:~/.goenv/shims$ cat godoc #!/usr/bin/env bash set -e [ -n "$GOENV_DEBUG" ] && set -x program="${0##*/}" if [[ "$program" = "go"* ]]; then fo 阅读全文
posted @ 2024-06-17 10:14 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑

2024年6月16日

摘要: zzh@ZZHPC:~$ help set set: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] Set or unset values of shell options and positional parameters. Ch 阅读全文
posted @ 2024-06-16 22:47 ZhangZhihuiAAA 阅读(13) 评论(0) 推荐(0) 编辑
 
摘要: You can remove a module from go.mod using none as follows: $ go get github.com/rabbitmq/amqp091-go@nonego: removed github.com/rabbitmq/amqp091-go v1.8 阅读全文
posted @ 2024-06-16 17:18 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑

2024年6月14日

摘要: docker-compose.yml: services: rabbitmq: image: 'rabbitmq:3.13-management' container_name: rabbitmq ports: - '5672:5672' - '15672:15672' environment: A 阅读全文
posted @ 2024-06-14 15:50 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑

2024年6月13日

摘要: server.go: package main import ( "fmt" "log" "net/http" "os" "time" "github.com/gorilla/websocket" ) var port = ":1234" var upgrader = websocket.Upgra 阅读全文
posted @ 2024-06-13 21:29 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 78 下一页