No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
Hi cannot get images to load any help would be gratefully recieved... [CODE] import pygame import sys from pygame.locals import * sys.path.append ("C:\\Python26\Bits\player.png") ###Will not Load saved image #triedC:\Python26\Bits\player.png # and tried C:\Python26\Bits #confusing or what!!! #Whole program not here # set up the window WINDOWWIDTH = 400 WINDOWHEIGHT = …
[B]Hi, Could someone tell me where to find a good tutorials on pygame 1.9.1 for beginner thanks[/B]
Hi all, Could someone help with the position of text on screen in pygame. Basic structure would look something like this below. now I like the user to input the text position starting at top left and moving 1 space at a time until end of that line then onto …
[B][COLOR="Red"]Hello all, I am new here only my second day. First a little about myself. My name is Stephen (not Steve or steven Thanks), I am 52 years old, married with 3 children the youngest is 8, I live in Norfolk England and I am the founder and leader of …
Hi all, I was wondering if someone could help me with this bit of coding. I have set two veriables d1 and d2 to pick a random int of 1 to 10: which I need for in loop but when I run it the same number appear How do I …
[B][COLOR="red"]Hi have a simalar problem but try this bit coding. hope it help you[/COLOR][/B] [CODE]import random # make def statement def gameDice(): d1= random.randint(1 ,10) d2= random.randint(1,10) print (' \n' 'number from d1:=', d1, ':number for d2=', d2) for count in range(1,11): gameDice() [/CODE]
I run Python 2.7 and 3.1.3 in window 7 without problems hope this helps
[B][COLOR="Red"][B]Hi folk, I fairly new to Python 2.7 and Python 3 and like to find out how I would get a print to appear in the middle of the output screen without putting in a load of spaces into a print statement. Please keep it simple for me. Thanks for …
[B][COLOR="Red"]Hi all, Clould someone please tell how to use the sorted function or equivalent to this function in Python 3 so that I can sort a dictionary. I cannot find any help on this. Thanks for your time [/COLOR][/B]
Hello and welcome Shawn, I am new too hope to see some python code in your posting soon Take care Stephen
[B][COLOR="Red"]Hi all, I am dyslexic person and find it very hard to read and write without assistance, I was wondering if there are any good Videos or computer based book that teach Pyton 3.1.3 for begginers that could be recommended. The reason for this is that I can see the …
Hi all, I am new Phython user and started using Python 2.7 just a couple days ago. I have written this code which is working, But when user put in correct code loop is not breaking ?? just wondering if it could be improved and what book would you recommend …
Hello all, I need a little help with Dictionary statement. My question is it possible to display just one thing for a Dictionary ? I know that Dictionary use Keys and Values so if I have this code. How would I display let say the Dog from Dictionary without printing …
I am trying to run this program in python 2.7. But get an error Traceback (most recent call last): File "C:/Python27/Rpg1.py", line 95, in <module> p = Player() File "C:/Python27/Rpg1.py", line 25, in __init__ Character.__init__(self) AttributeError: class Character has no attribute '__init__' When run this pragram can someone help me …
The End.
FAITH2011