Latest questions in Python

0 votes
0 answers

ModuleNotFoundError: No module named 'pyQt5'

from pyQt5.QtWidgets import * def window(): ...READ MORE

Oct 8, 2021 in Python by anonymous
• 120 points
1,385 views
0 votes
0 answers

i'm not able to install numpy,time packges in phy charm

Oct 8, 2021 in Python by Sampath
• 120 points
652 views
0 votes
0 answers

Class Type in Python

I know that type() function is used ...READ MORE

Oct 7, 2021 in Python by Brijesh
• 120 points
629 views
0 votes
0 answers

Please help me to install speech recognition in VS code

I got this type of error ERROR: Could ...READ MORE

Oct 4, 2021 in Python by Edureka
• 120 points
1,516 views
0 votes
0 answers

if and else if and == and != questions

name = 'Shivank' name = 'Santhosh' name = 'Nisha' name ...READ MORE

Oct 1, 2021 in Python by Shivank

edited Mar 4 130 views
0 votes
0 answers

IndentationError: expected an indented block in phyton

Hi I i keep getting that error ...READ MORE

Sep 30, 2021 in Python by anonymous
• 120 points
521 views
0 votes
0 answers
0 votes
0 answers

IndentationError: expected an indented block

I am getting IndentationError: expected an indented ...READ MORE

Sep 27, 2021 in Python by Saanidhya

edited Mar 4 159 views
0 votes
0 answers

Write a program to find largest of three numbers entered by the user.

pls answer this right now pls pls READ MORE

Sep 14, 2021 in Python by op

edited Mar 4 137 views
0 votes
0 answers
0 votes
0 answers

How Can I pass a Django Date Range Search Result page by page using Paginator in views and template

I have written a Python Django Method ...READ MORE

Sep 9, 2021 in Python by SUCCESSGANDE

edited Mar 4 131 views
0 votes
0 answers

DJANGO HELP NEEDED

Whenever I run Command (DJANGO-ADMIN) it gives ...READ MORE

Sep 3, 2021 in Python by Nabeel

edited Mar 4 124 views
0 votes
0 answers

Why showing This Error:- spiral.forward(i*10) IndentationError: expected an indented block

import turtle sc=turtle.Screen() sc.setup(600,600) spiral=turtle.Tu ...READ MORE

Sep 3, 2021 in Python by Pradip

edited Mar 4 125 views
0 votes
0 answers

IndentationError: expected an indented block, while executing elbow method

K = range(1,10) sum_sq_dst = [] for k in ...READ MORE

Sep 1, 2021 in Python by Edureka

edited Mar 4 100 views
0 votes
0 answers

[Errno 11001] getaddrinfo failed

I am getting the error : [Errno 11001] ...READ MORE

Aug 20, 2021 in Python by RICHA
• 140 points

edited Mar 4 150 views
0 votes
0 answers
0 votes
0 answers

I tried to import turtle and I tried to write sc = turtle.Screen() but it gives attribute error in these.

import turtle    # make screen object # and set ...READ MORE

Aug 6, 2021 in Python by anonymous

edited Mar 4 132 views
0 votes
0 answers

I have the following python script. I keep getting "AxisError" at the # First Derivative in time.

# Creating Features Space features = {} # Raw ...READ MORE

Aug 3, 2021 in Python by Edureka

edited Mar 4 143 views
0 votes
0 answers

How can I fix the attribute error in my pycharm IDE?

Traceback (most recent call last):   File "C:\Users\SONY\PycharmProjects\Python Tuts\.idea\chammach.py", ...READ MORE

Jul 25, 2021 in Python by anonymous

edited Mar 4 128 views
0 votes
0 answers

how should i get rid of the error, so my codes runs?

ValueError: invalid literal for int() with base ...READ MORE

Jul 24, 2021 in Python by anonymous

edited Mar 4 126 views
0 votes
0 answers
0 votes
0 answers

Hello. I'm trying to convert this string '0x278a51da' into a integer so I can use it on the ctime() from time.

time_in_hexa_format_as_string = '0x278a51da' def get_time_stamp(value_for_time): ...READ MORE

Jul 12, 2021 in Python by Rafael

edited Mar 4 126 views
0 votes
0 answers

Type() function in Python

.I know that type() function is used ...READ MORE

Jul 10, 2021 in Python by Brijesh
• 120 points

edited Mar 4 126 views
0 votes
0 answers

python: how to print the data frame columns with out index and also left indent

Hi There, Basically I want to read a ...READ MORE

Jul 9, 2021 in Python by balaji

edited Mar 4 178 views
0 votes
0 answers

I am using Django to create a user and an object when the user is created. But there is an error

I am using Django to create a ...READ MORE

Jun 30, 2021 in Python by Sudhir

edited Mar 4 141 views
0 votes
0 answers

why there has an error i tried so many time

#Function is defined def eq1( vi, t, a): d ...READ MORE

Jun 28, 2021 in Python by Zahir

edited Mar 4 131 views
0 votes
0 answers

How do I make a command in python?

Hi. I and my sister wanted to ...READ MORE

Jun 28, 2021 in Python by anonymous

edited Mar 4 163 views
0 votes
0 answers

How to check an IP address is within a range of two IPs in Python?

I have an IP address and I'm ...READ MORE

Jun 26, 2021 in Python by Izahaak

edited Mar 4 144 views
0 votes
0 answers

I want to raise the value by 500 of existing column (of annual income) in python

I'm trying to model a ubi on ...READ MORE

Jun 25, 2021 in Python by Lee

edited Mar 4 131 views
0 votes
0 answers

'tuple' object is not callable

mass=int(input("Enter mass:")) change=int(input('enter the change in temperature:')) specific_heat=4184 cal=mass*specific_heat*change print("Your total ...READ MORE

Jun 25, 2021 in Python by Sukesh

edited Mar 4 122 views
0 votes
0 answers

"Turtle object has no attribute title"

import turtle screen = turtle.Turtle() screen.title("First Turtle by Rubayet") ...READ MORE

Jun 20, 2021 in Python by Rubayet

edited Mar 4 136 views
0 votes
0 answers

MYSQL CONNECTOR ISSUE

I AM TRYING TO CONNECT MYSQL(8.0) AND ...READ MORE

Jun 19, 2021 in Python by anonymous

edited Mar 4 115 views
0 votes
0 answers

Im confused about this error in python

When i type this def books_available(books):     """Show ...READ MORE

Jun 17, 2021 in Python by robert

edited Mar 4 120 views
0 votes
0 answers

How can I fetch the data of one table by joining the other tables in django?

Need help in making a query, i ...READ MORE

Jun 17, 2021 in Python by anonymous

edited Mar 4 124 views
0 votes
0 answers

Missing one positional argument

Am trying to retrieve a bar graph ...READ MORE

Jun 5, 2021 in Python by Bhavesh

edited Mar 4 144 views
0 votes
0 answers

converting from bytes to json using python

I have an application that sends me ...READ MORE

Jun 1, 2021 in Python by leauradmin
• 110 points

edited Mar 4 152 views
0 votes
0 answers

I am currently working on my face recognition opencv and this issue keeps showing after I log it. Exception in Tkinter callback Traceback (most recent call last).

​ Exception in Tkinter callback Traceback (most recent call ...READ MORE

May 29, 2021 in Python by anonymous

edited Mar 4 161 views
0 votes
0 answers

from sklearn.linear_model import LinearRegression ,why its coming error

from sklearn.linear_model import LinearRegression reg=linear_model.Lin ...READ MORE

May 26, 2021 in Python by Tangudu Sravani

edited Mar 4 133 views
0 votes
0 answers

Get index of a list from dataframe

Hi, this is my dataframe. Name Age 0 Mike ...READ MORE

May 22, 2021 in Python by anonymous

edited Mar 4 120 views
0 votes
0 answers

cannot connect to Visual code thru Python, getting 500 error code

500 Sorry, something went wrong on our system. ...READ MORE

May 19, 2021 in Python by Kailash

edited Mar 4 119 views
0 votes
0 answers

Could not find a version that satisfies the requirement itertools (from versions: none)

Hi Sir, I am trying to install itertools ...READ MORE

May 15, 2021 in Python by Bhavana

edited Mar 4 151 views
0 votes
0 answers

How to correlate data in 2 csv files

I am a swim coach. I want ...READ MORE

May 15, 2021 in Python by Lokesh

edited Mar 4 135 views
0 votes
0 answers

I am trying to execute a python code

def __init__(self, mode=False, maxHands=2, detectionCon=0.5, trackCon=0.5):        ^ IndentationError: ...READ MORE

May 13, 2021 in Python by 9A 43

edited Mar 4 124 views
0 votes
0 answers

how can I make this code without built in function(sort,sorted) ?

class KeyIndex:     def __init__(self, a):         self.k = a     def search(self, ...READ MORE

May 11, 2021 in Python by anonymous

edited Mar 4 122 views
0 votes
0 answers

Why can't I use Screen from turtle module ?

TypeError: '_Screen' object is not callable READ MORE

May 9, 2021 in Python by anonymous

edited Mar 4 122 views