questions/python/page/15
def __init__(self, mode=False, maxHands=2, detectionCon=0.5, trackCon=0.5): ^ IndentationError: ...READ MORE
Python3 and pip are most likely pointing ...READ MORE
class KeyIndex: def __init__(self, a): self.k = a def search(self, ...READ MORE
Hello @kartik, Don't use add for strings, you should define ...READ MORE
TypeError: '_Screen' object is not callable READ MORE
Hello @KARTIK, Just add an extra template tag ...READ MORE
Hello @kartik, You cannot call a function that ...READ MORE
Suppose we have a pdf of books ...READ MORE
Array elements can be removed using pop() ...READ MORE
I am a beginner and this my ...READ MORE
Hi@akhtar, You can use numpy.load() function to load ...READ MORE
Functions dealing with text like label, title, etc. accept ...READ MORE
Hello, The np.newaxis is generally used with slicing. It indicates ...READ MORE
Scenerio: Parse the PDF Bank statement and ...READ MORE
sudo apt-get install python3-tk Then, >> import tkinter # ...READ MORE
def displayMenu(): status = input("Are you registered user? ...READ MORE
Hii @kartik, Write a custom template filter: from django.template.defaulttags ...READ MORE
This works for me: $ pip install -r ...READ MORE
Hello @kartik, The Site object for your Django project is ...READ MORE
Hi, @John, Regarding your query, I guess you ...READ MORE
If you're using Jupyter notebook, just mention this ...READ MORE
text = "this is a sample python ...READ MORE
From Python Documentation: An except clause may name multiple ...READ MORE
Hello @kartik, Expire the session on browser close ...READ MORE
Refer below code for your problem statement def ...READ MORE
Hello @kartik, I found that on Ubuntu, pip ...READ MORE
src is the first argument to cv2.cvtColor. The error you ...READ MORE
Hello @kartik, You can use the request object ...READ MORE
Using the default CSV module Demo: import csv with open(filename, "r") ...READ MORE
I have a very simple question about ...READ MORE
This should work: L = [1, 2, 3, ...READ MORE
Sample: Input a String: This is FUN. ...READ MORE
Hey @TedTickles, Replace wn.update() with turtle.up ...READ MORE
How ever now its in model selection ...READ MORE
Hi, @Imthiii, Try removing the bracket you have ...READ MORE
I'm trying to make a game on ...READ MORE
I have the below series in a ...READ MORE
Hello @kartik, Use handy request.build_absolute_uri() method on request, pass it ...READ MORE
Hello @kartik, The best way is to use ...READ MORE
I just copied the DLL pywintypes27.dll in C:\Python27\Lib\site-packages\pywin32_system32. I added it ...READ MORE
Good day Please excuse my ignorance as I ...READ MORE
The example below creates a background thread ...READ MORE
As of pip 1.3, there is a pip show command. $ ...READ MORE
I tried to create an update api ...READ MORE
S3 --> SQS --S3 Transfer I need to ...READ MORE
Hello, Try this: return HttpResponse(status=204) Hope it works!! ...READ MORE
You can totally do that. It's just ...READ MORE
Hello @kartik, You need Django version 2 pip install ...READ MORE
Hello @Khanhh , Use panda to find the value of ...READ MORE
By default when you import a file, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.