questions/python/page/52
When you are applying sum() you don't ...READ MORE
Python does not use brackets, it uses ...READ MORE
Suppose you have two tensors, where y_hat contains computed ...READ MORE
Hi, the solution to this is very ...READ MORE
Hi, it is not possible to hash ...READ MORE
You can try the following: import random word = ...READ MORE
i am using mongoengine to integrate with ...READ MORE
In Python, there is no existence of ...READ MORE
You can use the following to get ...READ MORE
Before printing, you can use a check ...READ MORE
Good question. Django 1.0 was updated recently ...READ MORE
You can use Python dictionary it is a built-in type ...READ MORE
The main python module that is run ...READ MORE
One major issue I see is that ...READ MORE
import threading import os def task1(): print("Task 1 assigned ...READ MORE
Your shell in the terminal has a concept ...READ MORE
Closures don't refer to variables but rather ...READ MORE
You can use the os module to list the ...READ MORE
Hi! I think I can answer this - ...READ MORE
Because timedelta is defined like: class datetime.timedelta([days,] [seconds,] ...READ MORE
Using dis to look at the bytecode ...READ MORE
Hello @Suraj, There is an indentation issue, >>> ...READ MORE
You can install it via pip wheel. Download ...READ MORE
Hey, Python Developer responsibilities include writing and testing ...READ MORE
Unpacking with * works with any object ...READ MORE
The ActiveState solution that Pynt references makes instances of ...READ MORE
Good question. The solution to this short ...READ MORE
The key here is the name attribute ...READ MORE
Hi, it's a very simple answer actually. You ...READ MORE
You can use the following to retrieve ...READ MORE
Yes, you can find the packages installed ...READ MORE
Try doing this - It is efficient for ...READ MORE
The documentation is not identical. As stated ...READ MORE
The syntax of the command you are ...READ MORE
Hey @abhijmr.143, you can print array integers ...READ MORE
The "**" operator is used for 'power ...READ MORE
If you use and on two or ...READ MORE
Check out the following code. This might ...READ MORE
There is no need to reload server, ...READ MORE
What you show, ('A','B','C','D','E'), is not a ...READ MORE
Simply, use: model.predict() pred = model.predict(x_test) indices = [i for ...READ MORE
Try the following steps: 1. Open a terminal ...READ MORE
This happens because the scipy module doesn't ...READ MORE
Hi, good question. There is a module meant ...READ MORE
Hi, good question. The thing is that ...READ MORE
Hi, there is one scenario where the ...READ MORE
Python doesn't support ++, so we use: number ...READ MORE
For the class method when used as ...READ MORE
Hi. Just before I begin my answer I ...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.