首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
arcmap将随机数赋值给某字段(python)
arcmap将随机数赋值给某字段(python)
it
2024-04-08
52
#生成随机整数1-5 def rando(): import random rand=int(random.uniform(1,6)) return rand
uniform() 方法将随机生成下一个实数,它在 [x, y) 范围内。
拼接字符串 "["&[lng]&","& [lat] &"]"
参数
x 随机数的最小值,包含该值。y 随机数的最大值,不包含该值。
转载请注明原文地址: https://lol.8miu.com/read-15495.html
最新回复
(
0
)