Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Array problem in pylab module - Image processing
Post: Array problem in pylab module - Image processing

Hello Python community, I am trying to load an image into a pylab array. All packages are installed as it should be but I keep receiving the following error when running my code: img = pl.array(Image...
bobfat General Coding Help 0 1,719 Dec-31-2019, 06:02 PM
    Thread: Assistance with making functions
Post: RE: Assistance with making functions

You're right :)
bobfat General Coding Help 4 2,408 Nov-23-2019, 08:35 PM
    Thread: number repeating twice in loop
Post: RE: number repeating twice in loop

Hello, The problem as it seems is when you use the int() function on the expression: "10 * round(after_point, 1)". Executing the two first step of your loop, the value of "after_point" variable are ...
bobfat General Coding Help 3 3,317 Nov-23-2019, 08:25 PM
    Thread: Assistance with making functions
Post: RE: Assistance with making functions

Hello, You mean that you need something like the following code? def strchk(): s = input(("Enter a string: ")) dig = False for x in s: if x.isdigit(): dig=True re...
bobfat General Coding Help 4 2,408 Nov-04-2019, 05:30 PM
    Thread: setup() from turtle module not working
Post: RE: setup() from turtle module not working

Thank you very much for your help.
bobfat General Coding Help 7 6,149 Oct-28-2019, 10:51 AM
    Thread: setup() from turtle module not working
Post: RE: setup() from turtle module not working

While I am testing, I tried the same code but I replaced the setup() method value: instead of using dimensions in pixels, I used percentage: from turtle import * setup(0.75,0.95) for i in range(7): ...
bobfat General Coding Help 7 6,149 Oct-28-2019, 12:03 AM
    Thread: setup() from turtle module not working
Post: RE: setup() from turtle module not working

Hi, In fact, it doesn't give any kind of errors, the code runs OK, but simply not resizing the window.
bobfat General Coding Help 7 6,149 Oct-27-2019, 11:20 PM
    Thread: setup() from turtle module not working
Post: setup() from turtle module not working

Hello, I am trying to make changes in the turtle graphics window size. I tried using the screensize() and the setup() methods, but no success. The latest code was very simple: from turtle import * se...
bobfat General Coding Help 7 6,149 Oct-27-2019, 09:13 PM

User Panel Messages

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