Posts
 
Reputation
Joined
Last Seen
Ranked #863
Strength to Increase Rep
+1
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
1 Endorsement
Ranked #857
Ranked #2K
~36.1K People Reached
About Me

Python / Django / PyGame Developer.

Interests
Python, PyGame, Basketball, Football, Family, Bible
PC Specs
Intel i5 2500k, GTX 760 2GB, 8GB RAM
Favorite Forums
Favorite Tags
Member Avatar for Niloofar24

Hello! Can you give me an example of Button widget in Kivy language? I can creat the button but don't know how to use it's callback. I mean how can i set a command for the Button in Kivy?

Member Avatar for M_12
0
5K
Member Avatar for Niloofar24

Hi. How can i open a mp3 file and play it in python? There is a mp3 file on my Linux desktop and i want to open it from a python file and play it. What should i do?

Member Avatar for Niloofar24
0
30K
Member Avatar for rhys_1

memoryc = open("cipher.txt", "a") memoryd = open("decipher.txt", "a") #------------------------------------------------------------------------------- choice = input("cipher, decipher or memory") #------------------------------------------------------------------------------- if choice == "cipher": message = input("What is your message?") key = int(input("What is your key?")) coded_message = "" for ch in message: code_val = ord(ch) + key if ch.isalpha(): if code_val > ord('z'): …

Member Avatar for Ene Uran
0
292
Member Avatar for Julie_2

I cant figure out what arguements to use or really even what arguements are. #Template for Program 2 #The keyword "pass" is a placeholder that does nothing #Move each line of original code into the appropriate module #Add arguments to calcBMI() and displayResults() as needed #original code -- not in …

Member Avatar for Julie_2
0
498
Member Avatar for Froweey

Greetings: I've noticed that many people on these boards have experience using PyGame, so I thought it would be cool if i shared a creation I am currently developing. This creation is called **PyDark**. Basically, PyDark is a *2D game framework* built on-top of Python and PyGame. What makes PyDark …

Member Avatar for Gribouillis
1
148
Member Avatar for zac_2

I'm making a shooting game, how would I make the gun point towards the mouse cursor? Here's part of my code: y = 100 x = 100 screen = pygame.display.set_mode((800,600)) p = pygame.image.load("Person.png") player = pygame.transform.scale(p, (34, 86)) pygame.key.set_repeat(1, 1) mx, my = pygame.mouse.get_pos() while True: screen.fill(white) for event in …

Member Avatar for Froweey
0
166