Python - Популярные вопросы | Страница 1

Python

Вопросов: 3001

Ответов: 20332

Популярные вопросы

gaviria26
6/7/2021, 12:50:56 PM
Ответов: 35
Why I can't reach else block when there is no rfid mark

in database? Lines 20-21 https://pastebin.com/SagBQpZR

Аноним
6/7/2021, 10:44:32 AM
Ответов: 34
I'm trying to build a simple calculator in python using tkinter. After

getting the input stringwith mathematical signs and numbers, is there any function to compute it?

Аноним
8/19/2021, 2:15:37 PM
Ответов: 33
How can I solve ax^2+bx+c<0 in python?
Аноним
1/21/2021, 9:23:21 PM
Ответов: 30
Hi, I'm learning the basics of web scraping and i've done a

script that helps me with be up to date with my school's important information, i would like to receive some feedback so can i share with you the github repository's link?

fsdevel
2/3/2021, 8:06:49 PM
Ответов: 30
I have an small storage about 64byte and want to save this

code in it can somebody compact it more? nums = [ input for num in range11 ] printnums[10] in nums[:10]

MRN00P
3/22/2021, 11:08:24 AM
Ответов: 29
Hello, I got this code: for i in range 1000000000, 1299999999:

x = 0 printx,i and I would like to make it print without a space between the x and the i .. what should I do?

BprMain
1/22/2021, 7:32:55 AM
Ответов: 29
How can I update for my python package?
Аноним
10/1/2020, 7:17:56 PM
Ответов: 29
Like what? In the code editor? I dont understand your question
Аноним
4/14/2021, 6:35:53 PM
Ответов: 27
Hi, I'm trying to use Pyqt5 to make a GUI. I want

to push a button on it with Right Click of the mouse. I've seen something on Google but I didn't find. How can I do that?

KING_MS_7
5/3/2021, 5:09:28 PM
Ответов: 27
I want to know what we can do with python?
yashrj25
4/8/2021, 12:07:28 PM
Ответов: 27
How to extract "25APR19" from "ACC25APR191480PE"?
yannisnedostup
12/18/2020, 8:49:22 PM
Ответов: 26
Guys, is it possible to output an array without commas, brackets and

quotes?

Аноним
6/21/2021, 2:42:35 PM
Ответов: 26
I have two dictionaries as a json file without any comma seperation

, how do o read the json file ?

mooler_z
6/11/2021, 1:27:26 PM
Ответов: 26
» vv = "o\\xd7\\xe2\\xf5\\x1a\\x1a\\xb3\\xb1Y#\\x06\\xa8v\\x8c\\x11\\xc0B\\n\\x95,;\\xd9Ub\\xe5&\\xd7\\xf9\\x9d\\xc8\\x9cN*\\x17\\xe4\\x01\\xd6\\xe5u%\\x0f\\x82\\xaa\\xed\\x8az\\xd1t\\xc5\\xcd\\xd6.?\\xe81KK\\xec\\xa4K\\xea\\x1axr\\xa5\\xe3U\\xf0\\x02\\xd8\\x07\\xcb\\x18\\xd4K\\x0bC\\xd4\\xbc\\xa6\\xa0\\xcb>I\\xdf\\x9dS\\xd9\\x17\\xad\\x12\\xcbx\\xb5\\x08\\xe6?\\xd5m~\\x12\\x84?\\x80_`JLd.\\x05\\x88\\xcd\\xe3\\xf6\\xe5\\x9f\\x88d\\x06\\xfb\\x95\\x9e\\xe8\'\\xe6\\x0e" » vv.replace"\\", "\" SyntaxError: EOL while scanning string

literal

Аноним
5/15/2021, 5:54:15 AM
Ответов: 25
new_data['mon_fri'] = 0 for i in range0,lennew_data: if

new_data['Dayofweek'][i] == 0 or new_data['Dayofweek'][i] == 4: new_data['mon_fri'][i] = 1 else: new_data['mon_fri'][i] = 0 ERROR »» name 'new_data' is not defined any fix?

Аноним
6/3/2021, 7:34:49 AM
Ответов: 25
1 2 3 4

5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9 Can anyone crack the code?

Аноним
6/4/2021, 6:26:40 PM
Ответов: 24
Hello guys ..I have a problem..How do I turn this a

= 'hello' into this 👇 a = 'h', 'e', 'l', 'l', 'o' How can I do this in python??

Lapanit
10/18/2020, 3:07:59 AM
Ответов: 24
Did you create a venv, activate it, install the required modules inside

it and execute your py file?

Аноним
1/27/2021, 9:26:43 PM
Ответов: 24
Can someone help me in this? what's is wrong in this code?

a=2 b=2 c=-1 d = b**2 - 4*a*c x1=-b + d**1/2/2*a x2=-b - d**1/2/2*a printd, x1, x2

BprMain
1/24/2021, 8:15:07 AM
Ответов: 23
How to enable my telegram robot to send a dice ?
Аноним
5/15/2021, 2:14:11 PM
Ответов: 23
What to learn in Python after OOP?
Аноним
11/11/2020, 1:09:41 PM
Ответов: 23
Guys, could someone try to help me in my doubt regarding editing

csv files?? https://del.dog/arefeafuly i tried to declare the inputs as BINARY and STR, but even way i get the same error "TypeError: a bytes-like object is required, not 'str'"

Аноним
1/19/2021, 3:40:16 PM
Ответов: 23
is there any faster way to check if a number is a

power of 2?

Аноним
10/21/2020, 3:00:17 AM
Ответов: 23
can i use python for flutter android app backend?
Аноним
3/13/2021, 2:08:02 PM
Ответов: 42
Dear all, Could somebody clarify the difference between exit and deactive to

come out of a virtual environment entered with pipenv shell ?