• Python

September 26, 2017, at 10:44 AM

I have two models

September 26, 2017, at 10:43 AM

In a SqlAlchemy model I am getting a warning from pycharm saying that a column has an unexpected type

September 26, 2017, at 10:42 AM

There is a large text file(corpus), I need to calculate the count of each word in the file and write the output to another file as below:

September 26, 2017, at 10:41 AM

I would like to generate random points on an x,y scatter plot that are either above or below a given lineFor example, if the line is y=x I would like to generate a list of points in the top left of the plot (above the line) and a list of points in the bottom right of the plot (below the line)

September 26, 2017, at 10:40 AM

I am new to tensorflow and trying to train my own object detection model

September 26, 2017, at 10:39 AM

I am trying to write a for loop that finds a specific word inside a stringI know that there is a one liner to do this in python, but I am practicing the for loops and I want to see how using a for I can identify specific words as it identifies especific letters (like vowels)

September 26, 2017, at 10:37 AM

from this, x = cal(6) and y = cal(2)Why x and y is Nonetype?

September 26, 2017, at 10:36 AM

I want to scrape a website(url start with 'https') without verify SSL certificate

September 26, 2017, at 10:35 AM

I am fairly new to programming in pythonI installed anaconda and am running iPython (the Jupyter qtconsole) v

September 26, 2017, at 10:34 AM

While handling the database connection I used the singleton pattern for the evident reasonfor simplification purposes, I have simplified the class definition, the problem is still the same

September 26, 2017, at 10:33 AM

Honestly, I do not know the real name of the graph, but I am trying to make a graph for different skills of a person which it should look like this:

September 26, 2017, at 10:32 AM

So it is a my Entry and button partSo I wanna to if I click button then use the in1 input data in this in1%1000 variable form

September 26, 2017, at 10:31 AM

So I have just setup my Digital Ocean droplet (server) and have been working to get this site to work, however I have been coming across error after errorI finally got the site to load the login page (which is what should happen), but when I login I get an error that Argon2 Pass Hasher couldn't load

September 26, 2017, at 10:30 AM

I've been teaching myself Django and SQL, and one thing I've noticed is that when working with large tables (> 1,000,000 records), specifying an ordering is painfully slowFor example:

September 26, 2017, at 10:28 AM

I'm working on a python challenge question where I have to get 2nd highest value in a sublistMy code works fine but I wanted to see if I could shorten it

September 26, 2017, at 10:26 AM

I have problem listing file from google drive via google drive api (using python)I shows only the files created via the api

September 26, 2017, at 10:24 AM

Kinda new to python, coming from a C/C++ development experienceNot to rant, but the indentation and spacing things are kinda becoming the bane of my life

September 26, 2017, at 10:23 AM

I have a dictionary value as follows;(For example key= keyA)

September 26, 2017, at 10:22 AM

I am creating a webdriver instance using selenium for some automation workI am opening multiple tabs at a time and would like to know if there is a way to get the URLs of all the tabs open

September 26, 2017, at 10:21 AM

I'm using paramiko and paramiko_expect to interact with a remote machine over SSH

September 26, 2017, at 10:20 AM

I am stuck while making a simple program in python 3The code is below:

September 26, 2017, at 10:19 AM

I have some experience in Python and want to manipulate some data files using classes, mostly to gain experience in OOPHere is the scenario: for each sample that we test (e

September 26, 2017, at 10:18 AM

Error:(dtypename, repr(mismatch), type(mismatch)

September 26, 2017, at 10:17 AM

So I know how to define the function, but I don't know how to output two results where t=0 and t=1

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.