on 问答列表

A NoSuchElementError

作者:Jen 提问时间:1/18/2023

下面的代码假设启动一个连接 4 游戏,我使用扫描仪类来获取用户的输入,但是当我运行它时,它给了我一个 NoSuchElementError。 我试图注释掉 close();方法并重新运行程序,但相同...

ActivityNotFoundException {com.example.greetingcard/androidx.fragment.app.FragmentActivity};

作者:tanu 提问时间:7/31/2023

class FragmentActivity : AppCompatActivity() { lateinit var binding : ActivityFragmentBinding ov...

python if list_item == re.match

作者:haka 提问时间:1/30/2023

我正在尝试在 python (googlecollab) 中练习带有条件的正则表达式模式,但卡住了(如果......和...通过从列表中获取正确的数字[000 到 999] - 我只需要数字,以一个数...

相关实体的 Valdiator

作者:endo.anaconda 提问时间:10/28/2023

我有两个实体,我希望有一个自定义验证器约束,以确保两个实体共享一个值。 例: 实体区域: 有田野城 具有多个房屋作为一对多关系 仅允许具有相同城市的房屋的约束 实体之家: 有田野城 具有一个...

Bundle.main.path(forResource:ofType:inDirectory:)

作者:stoney 提问时间:1/13/2022

我正在尝试从我的捆绑包中加载一个 json 文件,但只说前 100 个条目。是否可以将 Bundle.main.path(for...) 与 url 上使用的“&limit=Int”一起用于从 API...

Json to pandas dataframde

作者:Bogdan Titomir 提问时间:11/2/2023

我想从此页面获取消息列表 https://stocktwits.com/symbol/SPY 它们提供了一个免费的 api,我可以在其中获取 json 文件 https://api.stocktwit...

openbd cfloop 在日期上

作者:Gene R 提问时间:11/5/2008

我正在尝试将我的网站从 CF8 转换为 openBD。我在一个网站上有一个 cfloop,它循环了一个日期范围。 从本质上讲,我想在日期范围(从和到)的每 2 周(步长)中插入一条新记录到 db 中...

.NET 中的 SQLTransaction

作者:Hay 提问时间:10/3/2023

我在这里开始交易 this.cmd.Transaction = (await this.cmd.Connection.BeginTransactionAsync(IsolationLevel.Sna...

python prompt_toolkit ImportError

作者:sadmicrowave 提问时间:11/6/2023

我创建了一个简单的脚本来开始构建 python 提示符,但出现以下错误:prompt_toolkit ImportError: cannot import name 'PromptSession' ...

语法错误:预期为“:”

作者:Z.r M 提问时间:5/7/2023

我该怎么办? 我给出了这个错误: mylist=input('please inter your condition :') If mylist == '10' or '9' or '8': p...


共14981条 当前第95页