Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: What would be a way to check if a variable or class existed in an if?
Post: RE: What would be a way to check if a variable or ...

How would I check if a variable exists?
Klar General Coding Help 8 5,087 Dec-21-2017, 10:56 PM
    Thread: What would be a way to check if a variable or class existed in an if?
Post: What would be a way to check if a variable or clas...

Something like: if !x: print("Hey!")or class x: name = 'x' if !name: print("Hi!")for an alternative for detecting a class.
Klar General Coding Help 8 5,087 Dec-21-2017, 05:12 PM
    Thread: the newbiest question since the beginning of time
Post: RE: the newbiest question since the beginning of t...

but no linux or do i use the command prompt
Klar GUI 9 4,967 Dec-20-2017, 02:34 AM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

I did some things [i can specify if you want] and now it works!
Klar Game Development 29 27,346 Dec-20-2017, 01:37 AM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

Pip install pygame. I have a wheel. I will try the wheel.
Klar Game Development 29 27,346 Dec-18-2017, 09:56 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

I installed it with pip.
Klar Game Development 29 27,346 Dec-18-2017, 06:31 PM
    Thread: the newbiest question since the beginning of time
Post: RE: the newbiest question since the beginning of t...

Keeping in style with all my problems related to python... NO MODULE NAMED WX
Klar GUI 9 4,967 Dec-18-2017, 05:38 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

I tried that. It didn't work. As always.
Klar Game Development 29 27,346 Dec-18-2017, 05:00 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

I already installed it, it's very clearly installed in site-packages, and it STILL says that there's no module named pygame
Klar Game Development 29 27,346 Dec-18-2017, 02:59 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

Just great. I did that and now it keeps saying that there is no module named pygame. It's very clearly installed in the site-packages folder!
Klar Game Development 29 27,346 Dec-18-2017, 04:23 AM
    Thread: the newbiest question since the beginning of time
Post: RE: the newbiest question since the beginning of t...

and how do i extract .tar.gz
Klar GUI 9 4,967 Dec-18-2017, 04:15 AM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

All I've found with the search (not the ones you suggested since I use windows, not linux) have lead me to a folder named pygame, followed by a folder name __pycache__, followed by the .pyc for the .i...
Klar Game Development 29 27,346 Dec-17-2017, 08:06 PM
    Thread: the newbiest question since the beginning of time
Post: RE: the newbiest question since the beginning of t...

I'm using Python 3.4.3.
Klar GUI 9 4,967 Dec-17-2017, 07:56 PM
    Thread: the newbiest question since the beginning of time
Post: the newbiest question since the beginning of time

I installed wxpython and... Wait for it... I don't know what I should type after import to import it. wx didn't work, neither did wxpython or wxwidgets...
Klar GUI 9 4,967 Dec-17-2017, 05:24 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

breath MODULE HAS NO ATTRIBUTE VERSION dir(pygame) just prints the same as dir() I don't what's happening. I've tried uninstalling it multiple times. It installs the wheel version even after I delete ...
Klar Game Development 29 27,346 Dec-17-2017, 05:12 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

No, I named it pygametesteroo.py
Klar Game Development 29 27,346 Dec-17-2017, 03:55 PM
    Thread: Apparently module has no attribute display?
Post: RE: Apparently module has no attribute display?

Doing that makes it say that module has no attribute init()
Klar Game Development 29 27,346 Dec-17-2017, 01:32 AM
    Thread: Apparently module has no attribute display?
Post: Apparently module has no attribute display?

Hey, it's me again! I have no experience with PyGame at all! Anyway, I'm importing this code: import pygame screen = pygame.display.set_mode((640, 400)) running = 1 while running: event = pygame.e...
Klar Game Development 29 27,346 Dec-17-2017, 12:07 AM
    Thread: Problem importing pygame / installing pygame
Post: RE: Problem importing pygame / installing pygame

It works now! Thanks!
Klar Game Development 4 9,246 Dec-16-2017, 05:48 PM
    Thread: net neutrality
Post: RE: net neutrality

'still needs to get past congress
Klar Bar 45 21,522 Dec-16-2017, 04:10 PM

User Panel Messages

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