questions/python
Sorted!!!! just found the solution, 1 - apparently ...READ MORE
The key is to start the thread ...READ MORE
Assuming input frames will have "close to ...READ MORE
subprocess.Popen(["hadoop", "fs", "-cat", "/path/to/myfile"], stdou ...READ MORE
calculate square root in python >>> import math ...READ MORE
Ohh... I got what you need. Try this: html_data ...READ MORE
Use the traceback module: import sys import traceback try: ...READ MORE
Try running the following code. #!/usr/bin/env python """Simple script ...READ MORE
Hello @Alisha , Do print(func(x)) and find out what's ...READ MORE
I would recommend against your design as ...READ MORE
Right now there is no particular solution ...READ MORE
Either write your docs or use a ...READ MORE
Simply, use: model.predict() pred = model.predict(x_test) indices = [i for ...READ MORE
Hello @kartik, Use the following and you will be ...READ MORE
The scope of an alias command is the shell ...READ MORE
Assume you have a list of lists: my_list ...READ MORE
your dis is obviously not 1.13, it's ...READ MORE
You can use with statement with open('strings.json') as ...READ MORE
Perhaps you're trying to catch all exceptions ...READ MORE
Hi@akhtar, You need to install the Cython module ...READ MORE
pygame.Surface takes in integer values for building ...READ MORE
This works for me: $ pip install -r ...READ MORE
Hi @Isha, According to your error File ...READ MORE
You can try the following code: myList = ...READ MORE
The simple way of doing this will ...READ MORE
Hey, @Nelson, replace() actually returns a *copy* of ...READ MORE
Python allows parsing these XML documents using ...READ MORE
Hello @kartik, Try the code below: sudo /usr/local/mysql/support-files/mysql.server start ...READ MORE
Try this: html_data = """ <td colspan="3"><b>"Assemble under ...READ MORE
Hello @kartik, To trigger a download you need ...READ MORE
You can try the following code: import numpy from ...READ MORE
Refer to the below screenshots: Then set a ...READ MORE
You have defined a numpy array but ...READ MORE
Compiled languages are written in a code ...READ MORE
Hello @kartik, You need to use an @api_view decorator ...READ MORE
I think the error you are getting ...READ MORE
Hi@akhtar, Python pickle module is used for serializing ...READ MORE
Hi, You created two empty list. And in ...READ MORE
Hey, @Mohammed, You are getting this error because ...READ MORE
Did you run the python script as ...READ MORE
Hi@akhtar, I think there is a problem with ...READ MORE
Hello @kartik, Generally request in drf views is rest_framework.request.Request instance. Following to ...READ MORE
Hello @kartik, You could chain your queries as ...READ MORE
Once you've executed the following command, your ...READ MORE
Hii, Even using the sqlite3.Row class-- you still ...READ MORE
def dt_to_str(date, fma='%Y-%m-%d'): """ Converts a datetime object to ...READ MORE
The problem is that thread_obj.start() returns immediately. The child ...READ MORE
The script at Pastebin does work. However, ...READ MORE
Hi, @Bronson, You can go through this, I ...READ MORE
my code import wordcloud import numpy as np from matplotlib ...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.