__all__ = [<string>] 它是一个string元素组成的list变量,定义了当你使用 from <module> import * 导入某个模块的时候能导出的符号(这里代表变量,函数,类等)。 其实就是代码保护,限定本模块中只有哪些能被import。 举例:foo.py __all_ ...
分类:
编程语言 时间:
2021-06-04 18:49:33
阅读次数:
0
列出镜像: docker images REPOSITORY: 镜像所在仓库名称 TAG: 镜像版本 IMAGE ID: 镜像id CREATED: 镜像创建时间 SIZE: 镜像大小 唯一表示一个镜像: repository:tag 或者imageId 网络中搜索需要的镜像: docker sea ...
分类:
其他好文 时间:
2021-06-04 18:47:30
阅读次数:
0
Error: I am getting following error while openning connection with Database from asp.net application. [SqlException (0x80131904): Login failed for use ...
分类:
移动开发 时间:
2021-06-03 18:29:29
阅读次数:
0
kettle报错:Unexpected problem reading shared objects from XML file:null https://blog.csdn.net/qq_41084324/article/details/87297183 错误明细: Unexpected prob ...
分类:
其他好文 时间:
2021-06-03 18:20:28
阅读次数:
0
1.编写Dockerfile FROM java:8 # 作者 MAINTAINER lyh <335726817@qq.com> # VOLUME 指定了临时文件目录为/tmp。 # 其效果是在主机 /var/lib/docker 目录下创建了一个临时文件,并链接到容器的/tmp VOLUME / ...
分类:
编程语言 时间:
2021-06-03 18:08:49
阅读次数:
0
views.py视图导入 from django.shortcuts import HttpResponse, render, redirect 1.HttpResponse 它是作用是内部传入一个字符串参数,然后发给浏览器。 例如: def index(request):# 业务逻辑代码 retu ...
分类:
Web程序 时间:
2021-06-03 18:03:57
阅读次数:
0
auth模块通俗来讲 就是django内部所给你提供auth_user表,这可以联系到 登录 注册 注销等功能, 在auth模块下的一套体系,都有自己的方式来提供装饰器,以及校验数据等 且较为方便 校验用户数据是否匹配, 登录功能 from django.contrib import auth us ...
分类:
其他好文 时间:
2021-06-03 17:58:57
阅读次数:
0
#-*-coding:utf-8-*- # @Time :2021/4/22 7:08 # @Author:shuaichao # @File :.py # @Software: PyCharm from bs4 import BeautifulSoup #网页解析,获悉数据.231 import ...
分类:
其他好文 时间:
2021-06-03 17:56:50
阅读次数:
0
问题1:harbor服务不能正常提供? Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused 原因分析:harbor服务器 ...
分类:
其他好文 时间:
2021-06-03 17:53:13
阅读次数:
0
In Microsoft Dynamics 365 Finance and Operations there are two APIs strategies that support file-based integration scenarios: Data management framewor ...