技术池(jishuchi.com) 本次搜索耗时 4.795 秒,为您找到 733 个相关结果.
  • 使用 set()构造函数创建集合

    1742 2020-12-15 《Python 教程》
    使用 set()构造函数创建集合 使用 set()构造函数创建集合 thisset = set (( "apple" , "banana" , "cherry" )) print ( thisset ) # Note: the set list is unordered, so the result will display the...
  • Python 集合 clear() 方法

    1738 2020-12-15 《Python 教程》
    Python 集合 clear() 方法 实例 定义和用法 语法 参数值 Python 集合 clear() 方法 实例 从 fruits 集合删除所有元素: fruits = { "apple" , "banana" , "cherry" }   fruits . clear ()   print ( fruit...
  • ADO Name 属性

    1735 2020-11-30 《ADO 教程》
    ADO Name 属性 定义和用法 语法 实例 ADO Name 属性 定义和用法 Name 属性可设置或返回一个字符串,该值包含 Command、Property、Field 或者 Parameter 对象的名称。 对象 Name 属性的描述 Command Name 属性拥有对 Command 对象的读写权限。 P...
  • 删除集合

    1731 2020-12-15 《Python 教程》
    删除集合 删除集合 import pymongo   myclient = pymongo . MongoClient ( "mongodb://localhost:27017/" ) mydb = myclient [ "mydatabase" ] mycol = mydb [ "customers" ]   mycol ...
  • 使用 discard()方法删除集合中的一个项目

    1730 2020-12-15 《Python 教程》
    使用 discard()方法删除集合中的一个项目 使用 discard()方法删除集合中的一个项目 thisset = { "apple" , "banana" , "cherry" }   thisset . discard ( "banana" )   print ( thisset )
  • 向集合添加多个项目

    1715 2020-12-15 《Python 教程》
    向集合添加多个项目 向集合添加多个项目 thisset = { "apple" , "banana" , "cherry" }   thisset . update ([ "orange" , "mango" , "grapes" ])   print ( thisset )
  • ASP Form 集合

    1700 2020-12-07 《ASP 教程》
    ASP Form 集合 语法 实例 ASP Form 集合 Form 集合用于从使用 POST 方法的表单获取表单元素的值。 注释:如果您需要 post 大量的数据(超过 100kb),就不能使用 Request.Form 。 语法 Request . Form ( element )[( index )|. Count ] ...
  • 查找集合中的首个文档

    1652 2020-12-15 《Python 教程》
    查找集合中的首个文档 查找集合中的首个文档 import pymongo   myclient = pymongo . MongoClient ( "mongodb://localhost:27017/" ) mydb = myclient [ "mydatabase" ] mycol = mydb [ "customers" ...
  • 清空集合

    1498 2020-12-15 《Python 教程》
    清空集合 清空集合 thisset = { "apple" , "banana" , "cherry" }   thisset . clear ()   print ( thisset )
  • 遍历集合

    1483 2020-12-15 《Python 教程》
    遍历集合 遍历集合 thisset = { "apple" , "banana" , "cherry" }   for x in thisset : print ( x )