15,179 Topics
| |
Hi everybody! For the last five days I`m working on a project and I see only python syntax in from of my eyes. I have a small problem and I got stuck. I have a string like this : file = "E:\xxx\yyy.txt" and I want to format it in order … | |
hi everybody! what plugin download in ecplise for phyton. sorry for my english skill | |
I've been unable to get to it for the last hour or so. | |
I just started learning Python a couple days ago, and my main goal for now is a text-based game, in which the user inputs commands to interact with the virtual world. My problem thus far, however, has been splitting a string up so that I can detect what action the … | |
Hey all. First post to this forum, though I have casually browsed threads here often in the past. I'm pretty new to Python but have several years of experience programming in C, C++ and Java. I've got a Java app currently deployed to Google App Engine and wanted to be … | |
Hello everyone, ok so I am working on this code that takes a string and splits it using the re module. The string contains words in between "<" and ">" (sometimes multiple words). Now what the program does is it splits the string using the two characters above. Then it … | |
Hello all I have been a hobbiest programmer for quite some time now and recently got back into it. I'm starting with a pretty simple program that will track inventory for my moms buisness. I've worked through most the common problems but can't seem to figure out why im getting … | |
Okay just started teaching myself python recently and am on to pickling stuff. I just wrote a simple program exactly like the tutorial said (a few different ones actually) and I am getting an error. Here is my code: [CODE] import pickle file = open('./text/pickle.txt','w') list = ['one',2,'three',4,'five'] pickle.dump(list, file) … | |
hi guys i can build and clean the vs solution in python and get the exe's to build but don't know how to create a window installer | |
Sorry I am asking a beginners problem between professional discussion.But I realy confused witch one is better.qt, gtk, wx, opengl or one else.please guide me with a clear comparison. Thanks dears. Editor ... moved from Re: Python GUI Programming (rule is: ask question in regular forum) | |
I'm wondering if anyone can help me. I don't know anything about python, but I have done some coding (javascript, PHP and a little bit of C) and I've just started my job and found out there is python installed on our server. A couple of months ago we had … | |
As title mentioned, i wan check the process of a application. What i wan is like tat: When i start a process A, then the process A completed, process B will start after that. Once the process B started, then the script will start execute next step. Thanks for help. … | |
hi i'm bayarja. i begin learning phyton. so what editor am i need? sorry for experts my english skill not good i hope you that you understanding my questions. | |
I'm writing a sweepMine program, but i do not know how to active the "click left and right mouse at the same time" event. how can i got it Thanks very much | |
Hello I'm wondering if there is a simple piece of code, simple enough to add to an existing piece of prograaming that can tell me how much space is free on my drive. The program will run from a changing USB drive letter (changing since each computer will assign a … | |
I happened to see (and isolate) the following problem and have 2 questions: 1) tkMessageBox is used extensively in my code. How do I make my code work without a significant re-write? 2) how do I tell the wonderful tkinter developers that there is a problem? The problem is seen … | |
Is there anything available compatible with Windows XP, wxPython 2.8 and Python 2.5 that could help me generate diagrams like this: [url]http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx[/url] Basically I want to be able to use my data and make a mindmap with nodes that I can move around and double click to do stuff etc. … | |
Hello All :) i have an IP : 93.93.165.125 and my friend has an IP : 96.156.25.125. and i want to send file(200KB) . what can i do? sory for my english.:) | |
This a newbie question so I appologise before hand. Ive downloaded the python program and have started to ticker around using the newbie thread above. My question relates to an opensource project. Ive download the project and its in python. The project composes of client and server side software. Im … | |
Greetings, I've just got 2 python books that are a few years old, they talk about python 2.3. My question is if they would still be useful to learn python? Or if python 2.3 is really that different from 2.6 are they worthless? Thank you. | |
Is there a good way to access browser like IE and run an HTML file from within Python code? | |
Hi everyone, Ive just got a bit of a problem with a program i am currently writing. Basically i have got a csv file with a load of flight info in it, i need to parse that and add it to a dictionary so thati can search through it easily. … | |
i have a file which contains some block of lines like - define host { use linux-box host_name node001 alias node001 address 192.168.36.133 } define host { use linux-box host_name node002 alias node002 address 192.168.73.19 } can anyone help me in getting a script which takes <node001> and <192.168.36.133> as … | |
Hi all, Following is a piece of code which tries to open an image using Tkinter, the root window opens but I am not able to see the image. I don't know what is wrong with my implementation. Could you please have a look at the code & see if … | |
Hi all I am working on a project with Python tk GUI and trying to make a scrollbar that scrolls more than one canvas horizontally tried to approach it as option command = ~~ and ~~ but it seems not working does anyone have any idea on this issue?? | |
Hi, I wrote a program which runs a .bat file using os.system like: 'os.system(pathToBatFile)' and everything was good. Then I decided to turn my program into a service as opposed to being run with the command prompt showing. When my program became a service, I noticed that the os.system command … | |
im making a maths game but i need to know how to make 10 random questions appear in a text box for easy medium and hard addition and subtraction with 1-100 for easy, 1-200 for medium and 1-500 for hard..please help me =) [ICODE]from Tkinter import * import Tkinter as … | |
I'm having a problem which can be exemplified by this python (3) code: [CODE] def askname(): sys.stdout.write("What is your name? ") x = sys.stdin.readline() sys.stdout.write("Hello, "+x) [/CODE] When I run it, I expect to get the prompt, type in my name, and then get the greeting. Instead, it prompts for … | |
not to sure why this does this [code=python] server = smtplib.SMTP("smtp.mail.yahoo.com") server.connect("www.mail.yahoo.com") sendEmail("FlexPt1.txt") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 10, in sendEmail File "/usr/lib/python2.5/smtplib.py", line 691, in sendmail self.rset() File "/usr/lib/python2.5/smtplib.py", line 453, in rset return self.docmd("rset") File "/usr/lib/python2.5/smtplib.py", line 378, in … | |
HI, I am working on a project and need to take the sql table structure out using python language. Basic idea behind is to prepare a program which could run on any sql database and table name provided could fetch what are columns and rows present in that table. |
The End.