python的库或函数不会用:使用help函数查看函数

help(time) # 查看time这个库
FUNCTIONS #函数;都可以调用
    asctime(...)
        asctime([tuple]) -> string  #调用这个函数的参数需要一个元组(tuple),->:代表返回值是string类型的
        #下面是简单的介绍
        Convert a time tuple to a string, e.g. 'Sat Jun 06 16:26:11 1998'. #把一个时间元组转换成字符串类型的,比如( e.g).一个简单的调用例子
        When the time tuple is not present, current time as returned by localtime()
        is used.

位置参数、默认参数、不定长参数、关键字参数、位置参数 

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-18 05:46:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-18 05:46:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-01-18 05:46:01       87 阅读
  4. Python语言-面向对象

    2024-01-18 05:46:01       96 阅读

热门阅读

  1. codeforces A -Cut Ribbon

    2024-01-18 05:46:01       50 阅读
  2. 数据结构与算法-二叉树序列化和反序列化

    2024-01-18 05:46:01       48 阅读
  3. 无root权限安装git-lfs(linux版)

    2024-01-18 05:46:01       55 阅读
  4. sqlserver2012 跨服务器查询

    2024-01-18 05:46:01       53 阅读
  5. 【SpringBoot系列】AOP详解

    2024-01-18 05:46:01       49 阅读
  6. 解析XML字符串并存入数据库

    2024-01-18 05:46:01       52 阅读
  7. CSS 盒模型概述

    2024-01-18 05:46:01       49 阅读
  8. Tomcat Notes: URL Mapping

    2024-01-18 05:46:01       46 阅读
  9. 【Flutter】关注的那些点

    2024-01-18 05:46:01       62 阅读
  10. 前端基础:回顾es6相关知识

    2024-01-18 05:46:01       61 阅读
  11. http获取用户访问的IP地址

    2024-01-18 05:46:01       42 阅读
  12. 使用 rinetd 搭建简单端口重定向服务

    2024-01-18 05:46:01       63 阅读