腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何修复Python中的"xcor()
missing
1
required
positional
argument
:'
self
‘错误
、
、
、
class Maze_wall(Turtle): super().__init__()
self
.penup()
self
.shape("square")
self
.shapesize(stretch_wid=0.95
浏览 6
提问于2019-04-06
得票数 0
1
回答
强制nosetest在以下划线开头的模块中查找doctest
、
、
、
、
1
required
positional
argument
: 'reason' ==========================================================",
浏览 0
提问于2013-07-25
得票数 1
回答已采纳
2
回答
类属性能遮挡Python中内置的内容吗?
、
、
如果有这样的代码: def open(
self
, bar):我不明白该方法如何能够隐藏内置的open-function,因为该方法只能使用实例(即
self
.open
浏览 3
提问于2022-01-05
得票数 5
回答已采纳
1
回答
试图在python上执行一条错误消息,即不和谐的bot缺少必需的权限。
、
我试过了:async def kick_error(
self
, ctx, error): if isinstance(error, commands.MissingPermissionsdiscord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: kick_error()
missing
1
required
positional
argument</e
浏览 2
提问于2021-03-14
得票数 0
1
回答
如何将Python推送websocket客户端,教程?试试看推手没有成功(不完整的例子?)
、
、
、
_on_open of <Connection(Thread-
1
, started daemon 14552)>>: _on_open()
missing
1
required
positional
argument
_on_message of <Connection(Thread-
1
, started daemon 14552)>>: _on_message()
missing
1
req
浏览 0
提问于2020-12-30
得票数 1
1
回答
调用同级方法python3?
、
): #But this is not universal #TypeError: secondMethod()
missing
1
required
pos
浏览 0
提问于2015-11-08
得票数 1
1
回答
参数检验与过滤库的API设计
、
、
to just those that a callable accepts, and determining any
required
arguments return
self
.
required
_
positional
_only +
self
.optional_
positional</e
浏览 0
提问于2021-06-05
得票数 3
1
回答
从Apache气流1.10.2中的BigQueryOperator继承时,参数设置为None
、
(**
self
.get_sql_kwargs)
self
.bql =
self
.get_sql() '
arg
浏览 1
提问于2019-06-27
得票数 0
回答已采纳
1
回答
缺少
1
必需的位置参数:“名称”
、
为什么会出现错误,init()缺少一个必需的位置参数:'name‘docs += ('<!documenthtml>')
浏览 5
提问于2022-04-19
得票数 -1
1
回答
我在Python3中调用字典内的函数
、
、
、
):
self
.equity = equity print('hola') print('hello') return equity -bar}ra =Testa() ra.variables[
浏览 8
提问于2018-01-05
得票数 1
1
回答
用一个参数和
self
: TypeError: map()缺少一个必需的位置参数:‘迭代’在类中调用一个函数
、
我试图用池映射从同一个类中的另一个函数调用类内的函数res = pool.map(
self
.get_data_vector())TypeError: map()
missing
1
required
positional
argument
: 'iterable'def get_data_vector(
self
): 编辑:
浏览 0
提问于2018-10-05
得票数 2
回答已采纳
1
回答
NameError:未定义名称“inslider”
、
导入的小部件import numpy as np nt = widgets.IntSlider(min=10, max=25, value=
1
, description='Nachttemp:')', icon='c
浏览 3
提问于2022-05-14
得票数 1
1
回答
Node.is_connected()缺少一个必需的位置参数:'
self
‘
、
、
、
docs中的小波,并找到了wavelink.Node.is_connected()函数,但是我得到了这个错误: TypeError: Node.is_connected()缺少一个必需的位置参数:'
self
浏览 1
提问于2022-05-30
得票数 -1
回答已采纳
1
回答
当我执行我的行为代码时,我得到了以下错误。有人能告诉我为什么会发生这个问题吗?
、
、
错误:代码:def step_impl(
self
,context): :type context: behave.runner.Context &qu
浏览 1
提问于2018-08-09
得票数 0
1
回答
TypeError: GoogleAuth.LocalWebserverAuth()缺少一个必需的位置参数:'
self
‘
、
、
、
、
我正在尝试对google进行身份验证,在执行了所有必要的步骤之后,比如制作凭据和安装pydrive,在运行main.py模块TypeError: GoogleAuth.LocalWebserverAuth()
missing
1
required
positional
argument
: '
self
'时,我会遇到这个错误--你们知道如何修复它吗?
浏览 21
提问于2022-08-18
得票数 1
回答已采纳
1
回答
在pytest中使用fixture:如何共享fixture并在不同的函数中使用它们的参数
、
、
、
我总是得到一个
missing
1
required
positional
argument
:错误。这就是我正在尝试的:class TestCreate: def user(
self
username': username, }
浏览 0
提问于2019-08-01
得票数 0
1
回答
我应该如何在docstring中分组类似的异常?
、
Raises: TypeError: foo()
missing
1
required
positional
argument
TypeError: key must be a numeric
浏览 5
提问于2015-05-14
得票数 2
回答已采纳
2
回答
为什么在python中它给了我一个关于类的错误?
、
、
class mylabel:
self
.testo = testo return testolabel=mylabel.get_text()mylabel.get_text()
missing
1
required
positional
argument
: '<
浏览 2
提问于2022-10-17
得票数 -2
3
回答
python消息: TypeError:缺少一个必需的位置参数:'
self
‘
我试图使用一个类,但是我有一个错误:这是我的密码: def search(
self
):School.search()
浏览 0
提问于2018-06-12
得票数 0
回答已采纳
2
回答
在实例中重写类的方法是一种不好的做法吗?
、
、
、
def f(
self
): return
self
.g() File "<stdin>", line
1
, in <module>TypeError: g()
missing
1
required
positional
argument
:
浏览 4
提问于2021-05-14
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券