Questions tagged [python-3.x]
For questions about Python programming that are specific to version 3+ of the language. Use the more generic [python] tag on all Python questions, and only add this one if your question is version-specific. Use the [python-2.x] tags for Python 2 questions.
For the classification tasks of satellite images, I wanted to build a general training pipeline to train deep learning models. For this, I want to use recurrent neural networks (LSTM) for the ...
i have problem to make scrappy from this website http://assr.parcelquest.com/Statewide/Index
i want that my spider get the address when i write the marinCouty parcel number, i wrote the next code:
I've hit a bit of a wall with some unit tests I'm trying to write. Here is a distilled version that creates the same problem:
from unittest.mock import patch
from concurrent import ...
N, M = 1000, 4000000
a = np.random.uniform(0, 1, (N, M))
k = np.random.randint(0, N, (N, M))
out = np.zeros((N, M))
for i in range(N):
for j in range(M):
out[k[i, j], j] += a[i, j]
I have an output file from another part of code:
1434 CPM 3.958 20.716 72.669 94 1438 1465
1435 CPM 1.836 16.422 71.695 94 1441 1448
1436 CPM 2.634 ...
I'm beginner in python programming and i want to export my Instagram followers and following list into an excel file. Searching on Google i found this post. I will paste the code bellow:
# Get ...
Hi I'm having an issue with adding rounded corners to the mask of an ellipse I'm drawing in PIL.
Here is what I'm working with:
def draw_ellipse(image, bounds, width=1, outline='white', antialias=4):
I am training a word2vec model, using about 700 text files as my corpus. But, when I start reading the files after the preprocessing step, I get the mentioned error. The code is as follows
I'm quite new to coding and I'm trying to fine-tune my first Python programme with a real world-application.
My programme iterates through some dictionary lines that have been extracted from an XML ...
So, I tried to populate my code my django website when i came across type error.i am really new to django webframe work and have no idea why i got this error. I followed a tutorial on udemy.
When trying to scrape posts from subreddit i get the following error message on some of the URLS i enter: [Errno 63] File name too long:
I have been looking into the code and trying to find out how ...
1.Needed to copy and rename image file repeatedly until certain counting number reached.
2.The renaming part have to met certain increasing step.
3.It's Python 3.7.0
A table created with multiple columns with 5 phone number columns, all of them has data type like
But when I insert phone number of 10 digits without - or () like 9999999999 then in ...
How can I get a new tab to open when we click a button from the menu?
layout = QGridLayout()
According to this blog, normal generators will be immediately closed when there is no reference to it. (CPython exclusive though). My question is "Does this apply to async-generators that don't ...