Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Basic Snake game (using OOP)
Post: Basic Snake game (using OOP)

import pygame import random pygame.init() w = 500 h = 500 screen_size = [w, h] screen = pygame.display.set_mode(screen_size) clock = pygame.time.Clock() GREEN = (0, 255, 0) BLACK = (0, 0, 0) RED = (2...
PyAlex Game Development 1 12,446 Sep-10-2018, 12:24 PM
    Thread: Any suggestions for improvement?(my first python code)
Post: RE: Any suggestions for improvement?(my first pyth...

No, i installed and run it from cmd
PyAlex Code sharing 9 5,985 Sep-08-2018, 06:45 PM
    Thread: Any suggestions for improvement?(my first python code)
Post: RE: Any suggestions for improvement?(my first pyth...

(Sep-07-2018, 03:31 PM)Larz60+ Wrote: the following are pycodestyle (which checks for PEP8 compatibility) generated issues. Code can run perfectly well without being compliant, but you should strive...
PyAlex Code sharing 9 5,985 Sep-08-2018, 01:31 PM
    Thread: Any suggestions for improvement?(my first python code)
Post: RE: Any suggestions for improvement?(my first pyth...

Ok thank you, i will install it
PyAlex Code sharing 9 5,985 Sep-07-2018, 05:20 PM
    Thread: Any suggestions for improvement?(my first python code)
Post: RE: Any suggestions for improvement?(my first pyth...

(Sep-07-2018, 03:33 PM)Mekire Wrote: One thing that jumps out is you don't need to interate through the file extensions. You can store the file extension list as a set and use os.path.splitext to fi...
PyAlex Code sharing 9 5,985 Sep-07-2018, 03:59 PM
    Thread: Any suggestions for improvement?(my first python code)
Post: Any suggestions for improvement?(my first python c...

I wrote this code to transfer all the video files from the download folder to the usb. import threading from threading import Thread import os, shutil, time #patch from https://stackoverflow.com/que...
PyAlex Code sharing 9 5,985 Sep-07-2018, 02:39 PM

User Panel Messages

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