All Questions

19771 questions


1 answers
313 views
0
How to Call PowerShell Commands from Python and Pass Output to Python

I tried calling the PowerShell command from Python as follows, but the return value was only displayed on the screen, but I could not receive it from Python.importosos.system(powerershell-Command Get-...

1 years ago

1 answers
398 views
0
a function that uses contains() to determine whether Python contains a specific string

For the string item train['name'] in Python, I would like to create a separate item with 1 if it contains a specific string (e.g., aaaa), or 0 if it does not contain it (train['test']).At that time, I...

1 years ago

1 answers
344 views
0
About Python Version in Google Collaboration (per 2022/11/2)

Please let me know if anyone knows about Python or the following library versions on Google Collaboration around November 2, 2022.Pythorch NumpyAlso, if anyone knows where to contact to get the inform...


1 answers
345 views
0
Hide(), show() does not work synchronously, so I don't know the problem.

The direction I intend is as follows.However, when the code is executed, it seems that number 2, number 3, and number 4 are processed after calculating the prediction value of number 3.While calculati...


1 answers
507 views
0
To find Python openpyxl value coordinates

I read the Excel file in openpyxlI'd like to find the cell coordinates of the value written in the excelI don't know what code to use even if I try hard to google.

1 years ago

1 answers
529 views
0
Uncaught (inpromise) Error on Electron: An object could not be cloned

Creating part of file upload in Electron (v22). when going from render.ts to preload.ts to background.tsUncaught(inpromise)Error:An object could not be cloned.occurs in the render.ts part.I don't know...

1 years ago

1 answers
393 views
0
Method of substituting an anonymous function that takes a return value for a C++ function pointer variable

Question detailsRegarding the presentation code, I would like to substitute an anonymous function for the pointer variable related to the code below, but every implementation will fail.How do I define...

c++
1 years ago

1 answers
317 views
0
Is PyPy's recursive function specification different from Python's?

Python 3.10.8PyPy 7.3.11 with MSC v.192964bit (AMD64)When answering D question of AtCoder Beginner Contest 236, I encountered a phenomenon in which PyPy and Python have different standard outputs for ...

1 years ago

1 answers
395 views
0
I want to be able to judge and convert even one or more characters by Morse signal conversion function using JavaScript & HTML.

I want to implement the ability to convert alphabetic characters to Morse symbols using javascript and htmlIf the value entered in the input tag in the code below matches the key in the associative ar...

1 years ago

1 answers
364 views
0
Error in scanf_s and switch-case statements

#include <stdio.h>int main(void){ int num1, num2; char arithmetic; printf (Please enter 2 numbers and an operator.\n\n); printf (Operators are as follows:\n); printf(plus:+, subtract:-, multiply...

c++
1 years ago
« - 34 - »

© 2024 OneMinuteCode. All rights reserved.