Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: pil ImageFont error inflateReset2
Post: pil ImageFont error inflateReset2

I am trying to use PIL's ImageFont tool, but I am getting an unusual error message. PIL installs without any problems and I can use other parts of it like Image and ImageDraw. But when I run from PIL ...
djf123 General Coding Help 0 1,087 Aug-07-2020, 09:48 PM
    Thread: strange error from pandas dataframe
Post: strange error from pandas dataframe

I am trying to apply the command example_batch = normed_train_data[:10] to the pandas data frame named normed_train_data, but I am getting an error message I don't know how to fix or why its occurring...
djf123 Data Science 1 4,035 Jul-26-2020, 10:53 PM
    Thread: trying to pip install stasm module getting error
Post: RE: trying to pip install stasm module getting err...

I installed opencv, and I can type in import cv2 without any issue. So I'm not sure why this would be causing the issue. I installed the opencv-python first and then I installed the Microsoft build es...
djf123 General Coding Help 3 4,493 Jul-21-2020, 11:20 AM
    Thread: trying to pip install stasm module getting error
Post: trying to pip install stasm module getting error

I am trying to install the stasm module, and I have been getting an error message during the installation. The installation failed. I am using Thonny with Python 3.8 with Pip 20.1.1 installed. Below i...
djf123 General Coding Help 3 4,493 Jul-21-2020, 12:14 AM
    Thread: problem adding two numpy arrays
Post: problem adding two numpy arrays

I am trying to do the following. I want to add the Mona Lisa .jpg image at this link to a slightly larger numpy array of all zeroes (called base_image1) of size (605,405,4). Alpha channel values was f...
djf123 General Coding Help 2 2,086 Jul-19-2020, 04:00 PM
    Thread: python-chess question
Post: RE: python-chess question

I can't figure out how to do #2 and #3 listed in my first post. I read through the documentation, but I can't figure out how to do these two things. I haven't tried anything yet as I am having a diffi...
djf123 Data Science 2 46,953 Jul-12-2020, 12:09 PM
    Thread: python-chess question
Post: python-chess question

I am a fairly new Python user, and I was trying to use the python-chess module (documentation here: https://readthedocs.org/projects/python-...df/stable/) to essentially do the following. 1. I want t...
djf123 Data Science 2 46,953 Jul-11-2020, 10:55 PM
    Thread: question: finding multiple strings within string
Post: RE: question: finding multiple strings within stri...

I have another question. Lets say you have a slightly different setup. For example, lets say the first set of characters is instead <a href="/quote/ and the last character is ? such that the string...
djf123 General Coding Help 4 2,955 May-16-2020, 12:18 PM
    Thread: question: finding multiple strings within string
Post: question: finding multiple strings within string

I am trying to figure out how to do the following. I have a string "djfk83dhfdog83748djfk83dhfcat83748djfk83dhfmonkey83748djfk83dhfhuman83748" and I want to be able to pull out the words: dog, cat, mo...
djf123 General Coding Help 4 2,955 May-15-2020, 08:21 PM
    Thread: memory issue loading movie to numpy array
Post: memory issue loading movie to numpy array

I have a movie, .mts file, that I want to be able to read into a numpy array that is (w,h,3,f), where w is the frame's width, h its height, and f the number of frames in the movie. 3 refers to the RGB...
djf123 Data Science 1 2,290 Nov-07-2019, 01:31 AM
    Thread: opencv memory question
Post: opencv memory question

Basically I want to convert a .mts movie file to a numpy array. Each frame of the movie is 1080x1920 and the file is 47.1 MB in size for 721 frames. What I want is to convert this to a numpy array of ...
djf123 General Coding Help 1 4,612 Apr-16-2019, 02:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020