questions/python
I'm using docker-compose on Ubuntu 20.04. I ...READ MORE
class Library: def __init__(self): self.bookname="" self.author="" def getdata(self): self.bookname = input("Enter Name ...READ MORE
end and sep are optional parameters of ...READ MORE
Hello @kartik, would suggest using glob.iglob() instead of the glob.glob(), as ...READ MORE
Hi@akhtar, Python pickle module is used for serializing ...READ MORE
Hello, A function that returns True for an integer number (int or ...READ MORE
long='73.9876' lati='18.6543' query="SELECT user_id ,SQRT(POW(69.1 * (latitude - lati), ...READ MORE
Regarding your query, it must relate to ...READ MORE
This can be done by importing the ...READ MORE
Hello @kartik, You missed the models - and ...READ MORE
Hello, I am trying to convert an object ...READ MORE
You are running into the old problem with floating-point ...READ MORE
Hello @kartik, The << part is wrong, use < instead: $ ./manage.py shell ...READ MORE
Hi@Umama, If you are using Linux system, then ...READ MORE
Hello @kartik, As another option, you can do ...READ MORE
Hello @kartik, You can fetch the URL in ...READ MORE
I have Excel sheet saved as XML ...READ MORE
I am trying to create a booking ...READ MORE
Hii, In express 4.x: req.get('Referrer') This will also check both spellings of ...READ MORE
Hello @kartik, Set show_change_link to True (False by default) in your inline ...READ MORE
Dear all, I'm trying to reproduce one of ...READ MORE
If both columns are strings, you can ...READ MORE
when I install engine or anyother module ...READ MORE
Hi@durgaraju, You can fetch only the body part. ...READ MORE
To read user input you can try the cmd module for ...READ MORE
Hello @kartik, You can use itertools.chain(): import itertools list2d = [[1,2,3], ...READ MORE
Basically, a solution would be to install ...READ MORE
print(list(your_df)) READ MORE
Hii kartik, To get rid of the error, roll ...READ MORE
Hello @kartik, Try this: Type 'start %appdata%' in cmd. After ...READ MORE
Hello @kartik, Only change your pub_date if published has ...READ MORE
To get the full path to the ...READ MORE
UpdateView only allows GET and POST... if ...READ MORE
I want to load the NSL_KDD data ...READ MORE
Hi, @There, A possibility is that the element ...READ MORE
Hello @kartik, The first thing to do is ...READ MORE
You can open a file for simultaneous ...READ MORE
Python 3.5+: import pathlib pathlib.Path('/my/directory').mkdir(parents=True, exist_ok=True) pathlib.Path.mkdir as used above ...READ MORE
Hello, I had numpy installed on the same ...READ MORE
Hello @kartik, You can definitely do this using ...READ MORE
A factory makes products using parts that ...READ MORE
Hi@akhtar, You may get this error if you ...READ MORE
training_data = [ ["Green",3, 'Mango'], ['Yellow',3,'Mango'], ['Red',1, 'Grape'], ['Red',1, 'Grape'], ['Yellow',3,'Lemon'] ] header = ...READ MORE
ERROR: Command errored out with exit status ...READ MORE
If you're running Python 2.7.9+ or Python ...READ MORE
list_x =[1,2,34] list_x READ MORE
Hello @kartik, Python you can write your own ...READ MORE
Hello all, I am a new in Python ...READ MORE
Hello @kartik, Using a modelserializer might be an ...READ MORE
variable = [] Now variable refers to an empty list*. Of ...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.