Forum: Python Feb 11th, 2007 |
| Replies: 3 Views: 1,371 Ok, all I want ot know is how to close a script on command, lie type 3 to exit, what modules do i need to import and what is the command, I have everything else sorted out...
EDIT: The close... |
Forum: Python Feb 11th, 2007 |
| Replies: 16 Views: 3,057 ok gotcha, lol i read the range thing wrong, I thought that i was saying go up 3 in increments of 1 from 0 lol oops
EDIT: Well, thank you for the help, Ill let you know when the decoder is... |
Forum: Python Feb 11th, 2007 |
| Replies: 16 Views: 3,057 AWSOME!!! Thank you soo much, ok wow, lol I basically, (i think) was on the same track as you, but I kept getting a syntax error, heres the code n/e ways.
decoderdict = {"aaa": "a", "bbb": "b",... |
Forum: Python Feb 11th, 2007 |
| Replies: 16 Views: 3,057 oh and what does the += and the != mean? |
Forum: Python Feb 11th, 2007 |
| Replies: 16 Views: 3,057 One little problem, and its my fault for not telling you, the worksheet that i got this idea from, had triplets like:
AGT = g
or CTC = o
So what do I do then, just make the keys three... |
Forum: Python Feb 10th, 2007 |
| Replies: 16 Views: 3,057 Actually, if you could explain your entire code step by step, that would be appreciated, as long it's ok with you. |
Forum: Python Feb 10th, 2007 |
| Replies: 16 Views: 3,057 I don;t understand yours but I'm going to have a crack at deciphering it later, after I've learned dictionaries. |
Forum: Python Feb 10th, 2007 |
| Replies: 4 Views: 4,448 ok cool, it works now, I had forgotten what the whole progra~1 thing, I knoew it existed i just couldnt remember exactly what it was... |
Forum: Python Feb 10th, 2007 |
| Replies: 4 Views: 4,448 ok that works, but the programs gonna wind up in the program files folder, but when dos reads the script it reads the destination file as C:\Program then it cuts off because of the space... |
Forum: Python Feb 10th, 2007 |
| Replies: 16 Views: 3,057 possibly, im going to need to look into using and manipulating dictionaries, but I can't paste my code here, because of the noobish nature of the program, it's over 600 lines long, the program can... |
Forum: Python Feb 10th, 2007 |
| Replies: 16 Views: 3,057 Ok, so from my last post, you might have figured that I'm making a coder/decoder package. Anyways, say I've got a string of letters that i want to decode, such as:
AAAGGGCCC
Which should... |
Forum: Python Feb 10th, 2007 |
| Replies: 4 Views: 4,448 ok I had looked on the internet and found one form of running an exe file from a py script, i goes like this.
import os
os.system("c:/windows/iexplore.exe") # Or wherever it lives
Problem... |
Forum: Python Nov 26th, 2006 |
| Replies: 6 Views: 2,123 Thank you taht was very helpful! |
Forum: Python Nov 25th, 2006 |
| Replies: 6 Views: 2,123 Odd, I put that exact same thing in the feild for Google, but that link for PY2EXE never came up, thanks for the help! |
Forum: Python Nov 24th, 2006 |
| Replies: 6 Views: 2,123 Yeah, uhh I've heard about it, but where do i get it and how do i use it? HElp is appreciated |
Forum: Python Nov 24th, 2006 |
| Replies: 4 Views: 6,173 Ok, so I'm gonna work on a program, and I want to enable a gui for it.
I have a few questions though...
Question: Are there any out there that wont need a class structure? (I;ve never gotten... |
Forum: Python Nov 24th, 2005 |
| Replies: 3 Views: 5,910 Yeah, I kind of want to be able to interact with the clipboard and some decent file interactions. The main thing is though, I want a flexible GUI that does most of the basic things Windows itslef... |
Forum: Python Nov 10th, 2005 |
| Replies: 3 Views: 5,910 I am using Tkinter as my gui programming addon for python but i think it would be better to lean something else....
do you know where there are any good pyWin32 or wxPython tutortials?
Help is... |
Forum: Python Nov 8th, 2005 |
| Replies: 10 Views: 6,322 Oh and I am reeeeeeeeeeaaaaaaaaaalllllllly shaky with using classes, that is probably the thing I am most having trouble with when it comes to Python and Tkinter.[I just can't fully grasp the... |
Forum: Python Nov 8th, 2005 |
| Replies: 10 Views: 6,322 Oh, and if you goto goteamspeak.com (http://goteamspeak.com) then it might help you get aquainted with the program, all it is, is a live chat program that uses mics and speakers instead of cell... |
Forum: Python Nov 8th, 2005 |
| Replies: 3 Views: 2,039 Uh..... *drools*
Sorry but i am a noob with this and the only things I've made was a Hello World Program and a specilzied calcultor that does caluclations for the popular internet game Runescape. |
Forum: Python Nov 8th, 2005 |
| Replies: 10 Views: 6,322 How about Tkinter I've learned basic programming in that but i dont know if i can learn wx Python or Pywin32 but if i have to then i dont mind learning that in place of Tkinter. |
Forum: Python Nov 6th, 2005 |
| Replies: 3 Views: 2,039 Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there... |
Forum: Python Nov 6th, 2005 |
| Replies: 10 Views: 6,322 Wait so all i need to do is use that code and it will copy it to my clip board? Or will it just print it in the DOS box? Oh and I am using XP for Windows. And what is a tuples? |
Forum: Python Nov 5th, 2005 |
| Replies: 10 Views: 6,322 Ok, Im still really shaky w/useing python with other programs. So here is my question, is it possible to create just a very small program that grabs my IP adress, copys it, and then sends it to... |
Forum: Python Aug 10th, 2005 |
| Replies: 7 Views: 2,024 As in, lets say:
I have two classes and there is a button in one and something happens in the other. And the two things reside in two different frames. There isn't any code that I have to put... |
Forum: Python Aug 10th, 2005 |
| Replies: 7 Views: 2,024 So there is no code needed to share things between classes? (no global or anything?) |
Forum: Python Aug 10th, 2005 |
| Replies: 7 Views: 2,024 As I said before im new to python and stink at math(great combination huh?)
Well I've looked at Thinking in Tkinter but I still don't fully understand the concept of classes.
Could you provide... |
Forum: Python Aug 10th, 2005 |
| Replies: 9 Views: 3,413 Well i found out what was wrong....
I forgot to put in the .get() entirely...
sometimes i amaze myself.
Well thanks for all of your help! |
Forum: Python Aug 10th, 2005 |
| Replies: 9 Views: 3,413 Well I tried what both of you said but it still didn't work.
Just as a reminder I am very new to python and I am just entering HighSchool.
Mabie If you saw my script it might help.
... |
Forum: Python Aug 9th, 2005 |
| Replies: 9 Views: 3,413 :cheesy: Thanks a bundle! I'm hoping that it will work! :cheesy: |
Forum: Python Aug 9th, 2005 |
| Replies: 9 Views: 3,413 could you give me an example on the float() thing ive never seen it before.
Do I just do this?
float(squareHight.get())
if so what exactly does float do? |
Forum: Python Aug 8th, 2005 |
| Replies: 3 Views: 2,339 bad command or file name and unknown syntax or something |
Forum: Python Aug 8th, 2005 |
| Replies: 12 Views: 4,871 Well I've only ever learned two languages. HTML and Python. HTML and Python don't really compare because they do two totally different things. But I still give Python a big thumbs up it's easy to use... |
Forum: Python Aug 8th, 2005 |
| Replies: 3 Views: 2,339 Ok I've gotten py2exe because I have friends that want to test my programs, but they don't want to download the python program. Well I have tried to run the compiler out of MS-DOS and the Python... |
Forum: Python Aug 8th, 2005 |
| Replies: 9 Views: 3,413 Ok new problem, I want to build off of a program I saw in a tutorial that has a "menu" and can calculate two different shapes. The two shapes are circle and rectangle. I've built it into a working... |
Forum: Python Jul 16th, 2005 |
| Replies: 2 Views: 2,018 wow i'm dumb how do i update the poll? |
Forum: Python Jul 11th, 2005 |
| Replies: 2 Views: 2,018 Hello Everyone!
My question is simple, where are any half decent tutorials out there? I mean, all of the ones I've tried have only skimmed the surface(print, name = raw_input yah know things like... |
Forum: Python Jul 10th, 2005 |
| Replies: 1 Views: 12,779 I have heard that it is possible to compile python so that people reciving the script don't need to worry about going to the python website and downloading it. One more thing if you tell me to run... |
Forum: Python Jul 10th, 2005 |
| Replies: 4 Views: 3,272 much less the lambda thing |