Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
11% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
10
Posts with Downvotes
5
Downvoting Members
6
2 Commented Posts
0 Endorsements
~55.7K People Reached
Favorite Tags
Member Avatar for vegaseat

This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use …

Member Avatar for vegaseat
9
45K
Member Avatar for peter_budo

Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this. For these of you who would like to learn …

Member Avatar for Rajeev Kumar_1
9
3K
Member Avatar for Jacklittle01

I'm writing a program that is going to be used for encryption. It can only encrypt 64 letters at a time. How can I make a check for that using len()?

Member Avatar for vegaseat
0
170
Member Avatar for Jacklittle01

I really would like to write a Texting app for computers. Is there a way to do this in python?

Member Avatar for HiHe
0
63
Member Avatar for Jacklittle01

I am trying to make a save feature in a game so that a player could save, then quit the game, then open the window again to select proflie and play from when they left off. Thanks!!

Member Avatar for james.lu.75491856
0
389
Member Avatar for Jacklittle01

I saw this code on stack overflow def writeProfile(profileName, profileData): """ pickle user profile data """ os.chdir(PROFILE_DIR) fileName = profileName + ".dat" f = open(fileName, "wb") pickle.dump(profileData, f) f.close() os.chdir("..") It is for saving progress under the pickle module. I don't see a way to save variables. How would I …

Member Avatar for Gribouillis
0
241
Member Avatar for Jacklittle01

I am trying to make a system for my game in which the player's enemy has a decreasing amount of health. My shell output is here: Cannon Fired! Enemy Health= 8 Cannon 1 ammo = 10 The enemy fired back! Your health is now 12 Fire your choice of cannon! …

Member Avatar for Jacklittle01
0
144
Member Avatar for Jacklittle01

In my game, I am trying to make it so when the enemy's health equals 0, the player advances. I used a while statement and a true or false variable. When the enemy health is less than or equal to 0, the program exits the while statement. It does not …

Member Avatar for sepp2k
0
116
Member Avatar for Jacklittle01

In a combat system, how would I have a certain raw_input repeat until the enemy is dead?

Member Avatar for sepp2k
0
80
Member Avatar for Jacklittle01
Member Avatar for slate
0
205
Member Avatar for Jacklittle01

I compiled a program in python, but the second I open it, there is a flash of the error, but then the cmd window closes.

Member Avatar for aVar++
0
101
Member Avatar for Jacklittle01

I am using PyInstaller now for building, but I still have a problem! My error is as follows: Traceback (most recent call last): File C:/Users/Jack/Desktop/pyinstaller-pyinstaller-61571d6/PyInstaller/Build.py from PyInstaller.loader import pyi_archive, pyi_carchive ImportError: cannot import name pyi_archive Please help! I am very frustrated with no way to compile my scripts!

Member Avatar for tony75
0
243
Member Avatar for Jacklittle01

I compiled a script with py2exe. I have the .exe, but when I run it, the window just closes itself. In the cmd window from which I compiled the script from, It says some dlls are needed. What does this this have to do with it, and more importantly, is …

Member Avatar for tony75
0
164
Member Avatar for Jacklittle01

I have run py2exe sucessfully up to this point using cmd (python setup.py py2exe). My Error is ImportError: DLL load failed: %1 is not a valid Win32 application I am leaving for spain tomorrow and would like an answer fast!

Member Avatar for snippsat
0
68
Member Avatar for Jacklittle01
Member Avatar for JeoSaurus
0
136
Member Avatar for Jacklittle01

Can one turn a python file into a standalone executable for windows via a gui program? Thanks

Member Avatar for vegaseat
0
365
Member Avatar for Jacklittle01

I am wondering on how to make a very simple gui with the ability for the user to click a button and perform the ability as if it were a user input. (ie raw_input). I would also like it to have the title of the program (game) on top and …

Member Avatar for ZZucker
0
153
Member Avatar for Jacklittle01

I am developing a text based rpg, but do not know how to go to different def statement, but it says it is not defined. Help?

Member Avatar for Jacklittle01
0
132
Member Avatar for Jacklittle01

Hi guys, I am working on a text based adventure game in Python and I am constantly getting this error: **There's an error in your program: return outside function(g.py, line 179** Here is the code http://www.mediafire.com/?4ga0weu4ifc6s1u

Member Avatar for james.lu.75491856
0
180
Member Avatar for vickim360

Hello, I have been working on a code to simulate wind turbines. However, I can't seem to rotate the wind turbine. Here is the code. import pygame ############################################# # Written by P****** ******* and V***** *** # # Copyright 2012 # ############################################# pygame.init() # Gets Information humidity = float(raw_input("Enter Humidity …

Member Avatar for Jacklittle01
0
311
Member Avatar for Jacklittle01
Member Avatar for Jacklittle01

Hi all: I'm building a game (text-based rpg) and i need to learn how to add a checkpoint-like system into it, but i want it to be able to fit in my script

0
68
Member Avatar for Jacklittle01

what is wrong with this code #This is not free source #Don't cheat by looking @ this #If you do you ruin the game #A Towel Production # APOC #------- global ammo1 global ammo2 global ammo3 global health global tech_parts global exp global radio_parts ammo1=10 ammo2=0 ammo3=0 health=100 tech_parts=0 exp=0 …

Member Avatar for TrustyTony
0
185
Member Avatar for Jacklittle01

Hello. I am new to python and am making a text-based game. If you want to be a code editor supply your email in the comments. You will get your share of revenue*. *Provided there is revenue

Member Avatar for extr3mex
-3
73
Member Avatar for toby.thomas.79

I have developed an Opengl based desktop game and wish to publish it in net. I want to host the final setup/installer of the game which is around 150mb, so that anyone can download it from the link. Can anyone please recommend services that offer free publishing of such applications? …

Member Avatar for Anddos
0
165
Member Avatar for Jacklittle01

I developed a program I think has potential, but don't want the end user to a) have to download python and b) steal my code. How would I turn it the .py of my script into a .bat or .exe so my end user can run it?

Member Avatar for Alice25
0
2K
Member Avatar for Jacklittle01

I need someo #A Python text-RPG #A Jak Production #APOC global ammo global health global lives global exp global food ammo=55 health = 100 lives=10 exp = 0 food = 30 def part1(): print "50 Days After The Outbreak:You are standing outside of the Empire State Building." print "Vines, plants, …

Member Avatar for M.S.
-1
164
Member Avatar for chris99

Just wondering how the game would be put together, maybe even a step by step tutorial. I could use this to practice with the commands used without Tkinter or Pygame. This could be a good learning experience.

Member Avatar for Jacklittle01
0
1K
Member Avatar for Jacklittle01

can someone correct this code for me? also, how do you make cmd open the .py file than execute that .py? def addition() print "This part of the test cover addition" p1 = raw_input "What is 9+9" if p1 = "18" set c()= c+1 c= 0 print "correct" else: print …

Member Avatar for Jacklittle01
0
132