Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


python help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
sp0k3
How do I cheat?
Reputation: 0

Joined: 08 Jun 2007
Posts: 9

PostPosted: Thu Jun 14, 2007 11:18 am    Post subject: python help Reply with quote

Hi all, i just started learning python, ive downloaded python25 and i used a code just for an example in the pytho(GUI), i saved the document as blahblah.py I stuck it in the python folder in C:\ But it wont open, all that happends is the cmd window flashes. If anyone could help that would be great, Sorry about the noobienessss Razz
i am new Embarassed
-sp0k3
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jun 14, 2007 11:28 am    Post subject: Reply with quote

Try running it from the command line. Then again I don't know anything about python so err
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Thu Jun 14, 2007 11:31 am    Post subject: Reply with quote

I don't know python, but I guess u need to compile it?
Back to top
View user's profile Send private message
sp0k3
How do I cheat?
Reputation: 0

Joined: 08 Jun 2007
Posts: 9

PostPosted: Thu Jun 14, 2007 11:36 am    Post subject: Reply with quote

I have a compiler called shedskin but could you explain to me how to compile it? it has a file called init.bat But this opens in like a cmd window :S Im really new to this so any help would be good, ty Razz

Slovach I tryd this but it does the same thing
Back to top
View user's profile Send private message
RS
Newbie cheater
Reputation: 0

Joined: 12 Jun 2007
Posts: 20

PostPosted: Thu Jun 14, 2007 2:43 pm    Post subject: Reply with quote

Unless I'm very much mistaken, Python is a scripting language so it's interpreted not compiled (Although, the interpreter does produced a compiled byte code file....) Anyways, just means there's one less step.

You should really consider something other than a graphical anything for your first program. A blank file is a valid Python program, however, try a hello world first:

Code:
print "Hello World!"


Make sure Python is installed in your ClassPath (type "path" in the command prompt to check).

python <filename>.py is the usual command to evoke the interpreter.
Back to top
View user's profile Send private message
sp0k3
How do I cheat?
Reputation: 0

Joined: 08 Jun 2007
Posts: 9

PostPosted: Fri Jun 15, 2007 4:16 am    Post subject: Reply with quote

Thanks very much
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites