Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help with an ASCII game
Post: RE: Help with an ASCII game

Hi thanks for the example code. I really appreciate it. I've been trying to recreate it but now I'm having an issue with the parsing. Could someone point out my mistake? def main(): resetMap() ...
johnEmScott Game Development 3 2,624 Nov-11-2020, 06:42 AM
    Thread: Help with an ASCII game
Post: Help with an ASCII game

I'm programming an ASCII game that uses no library at the moment. My limitations are: I need to output the "Camera View" in a 21x8 character. But I could use some help with a few issues. def main(): ...
johnEmScott Game Development 3 2,624 Nov-09-2020, 08:13 AM
    Thread: python library not defined in user defined function
Post: python library not defined in user defined functio...

Why doesn't this work? def main(): import os fileName = "text.txt" userfunction(fileName) def userfunction(fileName): os.path.exists(fileName) main()I get the following error: Error...
johnEmScott General Coding Help 2 3,932 May-30-2020, 03:41 AM
    Thread: pillow reversing the order of pixels after every row
Post: RE: pillow reversing the order of pixels after eve...

(May-26-2020, 06:09 AM)DPaul Wrote: Hi, You have a very, very small image (or part of an image). You would like to reverse the order of the odd numbered rows? Then for o in range(0, x, -1): ( x = ...
johnEmScott General Coding Help 4 3,191 May-26-2020, 10:07 PM
    Thread: pillow reversing the order of pixels after every row
Post: pillow reversing the order of pixels after every r...

I need help reversing the order of pixels in an image after every row. If anyone has a solution it would be appreciated. def main(): from PIL import Image x = 32 y = 12 im = Im...
johnEmScott General Coding Help 4 3,191 May-26-2020, 02:27 AM

User Panel Messages

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