python2 tag

15 questions


2 answers
126 views
0
Pyautogui does not work as expected in Python 2.7

I'm in trouble because the code doesn't work as expected.I would appreciate it if you could let me know how to fix it.environmentPython 2.7Windows 7 Code ObjectivesPaste pre-saved gazou1.png and gazou...


1 answers
124 views
0
About the chain self-made loss function

I would like to use Bernoulli's cross entropy as a loss function.The first argument is the true probability.And the other is the probability of prediction corresponding to the label using SoftMax.I wa...

2 years ago

2 answers
135 views
0
Understanding the encoding Argument for the open Function in Python

I tried to write the following code and write the data to the file, but I got the following error...How can I modify the code below to write text data to a file simply...? I would appreciate it if you...


1 answers
70 views
0
Windows 10, steps for using gstreamer in python 2.7

What is the procedure for using gstreamer in windows10, python 2.7?After installing gstreamer-1.0-devel-x86_64-1.14.0.1.msi, in gst-python-1.14.0, click I tried installing what I thought was necessary...

2 years ago

2 answers
78 views
0
Loading Japanese Characters in Python 2.7 CSV Files

import csvwith open('datas.csv', 'r') ascsv_file: csv_reader=csv.reader(csv_file) for line incsv_reader: print(line)Now I'm putting in the file, but once I run the code, '2018\x94N12\x8c\x8e30\x93\xf...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.