365体育足球滚球比分

Questions tagged [python]

365体育足球滚球比分 Python is a multi-paradigm, dynamically typed, multipurpose programming language. It is designed to be quick to learn, understand, and use, and enforce a clean and uniform syntax. Please note that Python 2 is officially out of support as of 01-01-2020. Still, for version-specific Python questions, add the [python-2.7] or [python-3.x] tag. When using a Python variant or library (e.g. Jython, PyPy, Pandas, Numpy), please include it in the tags.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Python script to automate software installation in windows

I have a set of 14 softwares that should be installed in over 10 windows machine. Few of these softwares are custom bild which are saved in a shared folder.These custom bild apps should be installed ...
0
votes
0answers
5 views

How to run a application with arguments in command prompt using pywinauto or pyautogui?

I have an application myapp.exe and i have the input files abc1.jpg and abc2.jpg in a folder. I need enter in command prompt myapp.exe abc1.jpg abc2.jpg to run the application with arguments. How do I ...
-1
votes
3answers
18 views

the value of the variable doesn't change in python

def type_(): z = input("enter an integer : \n") try: z = int(z) a = 1 except: print("it is not an integer") a = 0 return z,a z,a = ...
0
votes
0answers
7 views

Python websocket server - sending message

I'm writing my own websocket server and clients. I have successfully handled handshake and have established connection. Now I'm writing the send_message function that creates apropriate frame. Below ...
0
votes
0answers
8 views

how to add column and fill it values by conditions between two data frames in python

I have the following 2 data set: Individual data household_id member_id channel event_begin event_end 0 1 1 100 83098 83300 1 1 ...
0
votes
0answers
3 views

Buildozer: Cython verzion none when actually installed

I'm having trouble build app for android using Buildozer. In the log it says it's missing Cython, but it is installed. What am I doing wrong? system: Fedora 31 Python: 3.7.7 pip: 20.1.1 Buildozer: 1....
0
votes
0answers
7 views

baysian optimization for hyperparameters of a deep neural network/ gp_minimize error

Am trying to optimize hyperparametrs for a deep neural network, the structure of it (number of hidden layers and number of neurones in each) in addition to learning rate and the activation function. ...
0
votes
1answer
13 views

Imported class doesn't know local variables

I have two files (Backupfile.py and Backupfile2.py). Following is in Backupfile.py: class Mater: def __init__(self): self.func() def func(self): from Backupfile2 import klasse ...
1
vote
0answers
10 views

Is there a function/model to interprete gps instructions(text) to coordinates in Python?

Bounjour, I have an object that looks like this: {Location: 0.2 km after Ramp from Market Road, ...} Is there a way in Python to interpret the Location into coordinates, I know the city too. Thank you ...
0
votes
0answers
5 views

How to manage audio in and out from and to file of Huawei GSM modems?

I've got a Huawei E173 USB dongle connected to a Raspberry PI. I'm trying to use the device to make and receive calls. For my purpose, it is needed (i) to save audio of the call to file and (ii) to ...
0
votes
0answers
6 views

ERROR IN KERAS CUSTOM LOSS “TypeError: Value passed to parameter 'reduction_indices' has DataType float32 not in list of allowed values: int32, int64”

I have defined a custom loss in Keras for the function: (y - yhat)^2 + (y * yhat). def customLoss(y_true, y_pred, sample_weight=None): y_true = K.cast(y_true, 'float32') y_pred = K.cast(y_pred,...
-1
votes
0answers
9 views

Python : How to apply transformations based on data types

I am a beginner in Python and I have a set of transformations I have to apply on different data types (string/text/list). The idea is Create a method that takes column name + data type as input Based ...
0
votes
1answer
29 views

How do I create a popup in python?

I would like to know how to create a popup when I click the button. I wrote the code using python and I loop the data that I need. And the data that came out I created a button to press and a popup ...
0
votes
1answer
6 views

exe file generated by pyinstaller does not work when downloading from google drive

I made some program by Python 3.7 and generated an exe file using pyinstaller. The exe file worked fine, but the problem occurred when I uploaded it on google drive to distribute to other users. When ...
0
votes
0answers
6 views

Implementation of scipy.signal.butter and scipy.signal.sosfilt in javascript

I want to call python method in my Cordova application. Is there a way to integrate a python script with a Cordova application as I could not find the equivalent implementation of the same method in ...

15 30 50 per page
1
2 3 4 5
98897