Home Answers Viewqa Pythonquestions Python Questions and answers. Question and Answers


 
 

Python Questions and answers.Ask Questions?
Python is old programming language but its being used these days for web development, scripting and Machine learning project. So, the use of Python programming language is very huge these days. In this section you will find various programming topics in Python. Ask questions related to Python here.
View all discussion for Python Questions and answers.
Latest Questions for Python Questions and answers.
ModuleNotFoundError: No module named 'aardvark'
Hi, I have Python program that is used to access some cloud environment. It was developed by previous developers in my company. Now the work has been assigned to me for debugging this application. I trying to run it in python but it gives
October 11, 2019 at 9:39 PM

pyspark dataframe drop null - how to drop row with null values
Hi, I have a data frame with following values: Name,address,age I want to drop all the rows having address is NULL. how to do this? thanks
August 19, 2019 at 12:09 AM

NameError: name 'false' is not defined
Hi, My code is giving NameError: name 'false' is not defined. My code is below: if(filename.endswith(".txt") == true): print("Text file") How to solve? Thanks
July 30, 2019 at 4:18 AM

Ads
modulenotfounderror no module named 'imutils' python
Hi, I am trying to use imutils module in my python program. Program is exiting with following error: modulenotfounderror no module named 'imutils' python What command I should run to install
July 24, 2019 at 3:30 AM

how to grayscale an image in python
Hi, I have may images and it want to greyscale all with python. can it be done? how to grayscale an image in python? Thanks
July 22, 2019 at 1:43 AM

cv2.imshow the function is not implemented windows
Hi, I am not able to use open cv to show the image it gives following error: The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and p
July 11, 2019 at 12:07 AM

Advertisement
ModuleNotFoundError: No module named 'sklearn'
Hi, I am trying to import sklearn in my machine learning program. But it fails with following error: ModuleNotFoundError: No module named 'sklearn' >>> >>> from sklearn.model_selection impo
June 5, 2019 at 9:57 AM

No module named 'absl' error when I import tensorflow
Hi, In one of my TensorFlow project I am trying to import the absl but it is giving the errror: No module named 'absl' error when I import tensorflow Earlier it was working, but don't know why its not working after upgradin
May 10, 2019 at 9:49 PM

How to check keras version in anaconda
Hi, I have installed anaconda python for machine learning in my computer. Now I want to know which version of keras is installed on my system. What is the command to find out version of keras library installed? How to check
February 16, 2019 at 8:45 AM

How to read from stdin in python
Hi, I am writing a program in python which is suppose to take input from user. In Java it was easy, but in Python how i can achieve the same? Thanks
February 16, 2019 at 7:33 AM

How to print like printf in python
Hi, I am from C background and there used to be printf function. Jow to print like printf in python? The printf function is C/C++ is very useful. So, looking for some line printf in Python language. Thanks
February 16, 2019 at 4:50 AM

python print on same line in loop
Hi, I have a unique requirement in Python where I have to print data in the same line. When I am using the print() method it is printing new data in next line. So, I want to avoid this and print in the same line. Let's know how to
February 16, 2019 at 3:48 AM

how to print float with 2 decimals python
Hi, I am new to Python programming and trying to print float value on console. I want to print this value with 2 decimals places. How to print float with 2 decimals python? Is there any good website to learn Python programm
February 16, 2019 at 1:55 AM

python print dots with printf style
Hi, There is printf function in c and c++. How to use same system function python? I want program in python thats print dots with printf style. Thanks
February 16, 2019 at 12:14 AM

print without newline in python
Hi, I have a Python program in which it prints strings. But the output is coming in new line. But I want the print it in one line. My example: print("I ") print("Love ") print("Python")
February 15, 2019 at 10:47 PM

how to print dot in python without newline
Hi, I a debugging python program and I am using following code to print dots: print("................") I want to print pre-defined number of dots for testing purpose. For example in
February 15, 2019 at 9:05 PM

import colorama ModuleNotFoundError: No module named 'colorama'
Hi, I have a python machine learn program which throws following error: import colorama ModuleNotFoundError: No module named 'colorama' How to resolve this? Thanks
February 3, 2019 at 2:47 AM

ModuleNotFoundError: No module named 'keras'
Hi, I am using Anaconda python and trying to run a program developed by other team member in my machine. Here its saying ModuleNotFoundError: No module named 'keras'. How to install keras module? Here is full
January 20, 2019 at 2:37 AM

ModuleNotFoundError: No module named 'nltk'
Hi, I am working on a NLP project which uses nltk library. When I import nltk import nltk it throws following error: ModuleNotFoundError: No module named 'nltk' Full error stack
January 19, 2019 at 9:47 PM

ModuleNotFoundError: No module named 'gensim'
Hi, I am working on a project which involves machine learning and natural language processing. I have to use gensim in a program. When executed my program gives following error: ModuleNotFoundError: No module named 'gensim'
January 19, 2019 at 8:15 AM

View all discussion for Python Questions and answers.

DMCA.com