会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dengxinkai
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2022年7月27日
厉害的小命令
摘要: import NaturalLanguage var str = "abc!xde!zf" var n = 0 while let range = str.range(of: "!") { str.removeSubrange(range.lowerBound...range.upperBound)
阅读全文
posted @ 2022-07-27 04:02 速搞
阅读(18)
评论(0)
推荐(0)
2022年7月25日
swiftui标注
摘要: inlinePresentationIntent = .softBreak inlinePresentationIntent = .softBreak //行距 .baselineOffset = 20 enum 样式 { case 重要, 风险, important } @State var 成长
阅读全文
posted @ 2022-07-25 19:13 速搞
阅读(35)
评论(0)
推荐(0)
2022年7月22日
附注
摘要: let url = Bundle.main.url(forResource: "baidu_stopwords", withExtension: "csv")! // let result = try! DataFrame(contentsOfCSVFile: url,options: CSVRea
阅读全文
posted @ 2022-07-22 22:03 速搞
阅读(54)
评论(0)
推荐(0)
swiftui命令
摘要: Button( action: { isPerformingTask = true api = apilist.filter(){$0 != api}.randomElement()! Task { await loadData() isPerformingTask = false } }, lab
阅读全文
posted @ 2022-07-22 00:19 速搞
阅读(35)
评论(0)
推荐(0)
2022年7月21日
小命令
摘要: from io import BytesIO import requests import pdfplumber import re import boto3 from boto3.dynamodb.conditions import Key, Attr import json def lambda
阅读全文
posted @ 2022-07-21 03:07 速搞
阅读(26)
评论(0)
推荐(0)
列表显示swiftUI api
摘要: import SwiftUI struct TaskEntry2: Decodable,Identifiable,Hashable{ var id:Int var name: String } struct SwiftUIView3: View { @State var aaa = [String]
阅读全文
posted @ 2022-07-21 00:06 速搞
阅读(61)
评论(0)
推荐(0)
2022年7月20日
swiftui代码
摘要: import SwiftUI import NaturalLanguage import CoreML import UIKit import CoreData struct wve: View { @State var aaa = [String]() @FetchRequest(entity:
阅读全文
posted @ 2022-07-20 17:05 速搞
阅读(76)
评论(0)
推荐(0)
2022年7月19日
juchao
摘要: //span[@title]/a[@onclick]/@href from lxml import etree id=[] time=[] z=[] g="" selector = etree.HTML(req.text) links = selector.xpath('//span[@title]
阅读全文
posted @ 2022-07-19 17:39 速搞
阅读(53)
评论(0)
推荐(0)
xuexi(jiu)
摘要: from io import BytesIO import requests import pdfplumber import re import boto3 from boto3.dynamodb.conditions import Key, Attr import json def lambda
阅读全文
posted @ 2022-07-19 04:41 速搞
阅读(110)
评论(0)
推荐(0)
json命令
摘要: from io import BytesIO import requests import pdfplumber req = requests.get("https://www1.hkexnews.hk/listedco/listconews/sehk/2020/0124/2020012400942
阅读全文
posted @ 2022-07-19 03:06 速搞
阅读(108)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告