15,181 Topics
| |
I have this url (ISO-8859-1 encoded): file://///companyweb/pr%C3%B8ve.doc which I need transformed into this url (UTF-8 encoded): file://///companyweb/pr%F8ve.doc The difference is the character 'ΓΈ' which will be encoded as '%C3%B8' in the first case, and as '%F8' in the latter. In Java I would be able to do this conversion very … | |
Quick question, I'm not sure how to go about asking this, but I am attempting to write a Laplacian of a scalar field (general function f). I want to be able to put this in an array in order to solve it multiple times. I don't really know how to … | |
Hi. I don't know anything about python but I need to use a script which I have found on the internet. I don't know where to start. I have installed python on my windows xp desktop and I have also downloaded and put in the Lib folder the file BeautifulSoup.py … | |
Okay, I'm putting the finishing touches on a program I made that would simulate the game of Roulette at a casino, and I've run into a small problem. Once the player runs out of money, I have a "game over" window that appears to notify them that they are now … | |
Hello everyone, my problem that I'm have is that I have to get the volume and the surface area of a sphere using a class. I believe I was able to do that part of the problem correctly. The issue I'm having is getting that information to print from the … | |
With my program, I have been trying to simulate the game of Roulette (at a casino) with a GUI, but I have a problem that I can't seem to figure out. For some reason, any kind of accumulator for "current funds" I place in the program doesn't seem to work … | |
I am trying to collect data from a log file. The data will collected into records based on policy number. I have created an object describing the data below: class fwpolicy: def __init__(self, policy_id, fr_zone, to_zone, src,dest,serv): self.policy_id = policy_id self.fr_zone = fr_zone self.to_zone = to_zone self.src = src self.dest … | |
Hey, I try of saving my board to a text file and then trying to load my board from the text file but actually does not works. If anyone knows how this can be solve let me know ! Thanks | |
Hello all, I have wrote this program to determine a student's classification: # This program will print out the class standing of an individual # Uses a four way decision process def main(): credits = input ("Enter the number of credits earned: ") if credits >= 26: class_standing = "Senior" … | |
i have created an oxo game. wich is a game where you try to get 3 in a row in a 9-square field. i got it running but i have one question. for the computer's moves i predicted what the user would do (2in a row) and then made the … | |
I have to program a simple calculator, i had all of my functions working seperatly but now that they are all together the add and the average won't compute. The problems started when i tried to get the program to loop back to the menu after you get a total. … | |
code: def rpn(): list = [] while 1: x = raw_input(" ") if x in ["+","-","*","/","%"]: y=str(eval(list[-2]+x+list[-1])) list[-2:]=[y] elif x == "": break elif x == "=": print y else: list.append(x) How can i modify my rpn calculator in order to: 1)accept random number x = random number e.g x … | |
Hi. Iβm quite new to python and I was hoping someone could help me with a solution. What Iβm looking to do is use the print function in conjunction with the time.sleep() (or if theres a better alternative) function to print text on one line with slight delays between text … | |
While "image" and "picture" are synonymous in English, I'm sure most of you are aware that they are not in Python. By "picture" I'm referring to the type used by the Picture.py module. By "image" I am referring to the type used by Image.py and ImageOps.py. There are useful functions … | |
I've been struggling with this problem for several days without any luck You are my last hope It is probably an easy one (??) If anybody could give me an example on how to manage cookies i would be extremely grateful. What I'm trying to do is to pass a … | |
Hi, My friends, I have aquestion to ask you. I want to output a list of class objects to a file in csv format. but last step in writer.writerow does not work. Can you tell me what's wrong and how should I fixed? I want to output each object of … | |
I'd like a program that reads through one or more weather web pages and records information from them on a daily (or even hourly) basis. Is this kind of thing possible at all to create with python? (Alternatively, if anyone knows of a program that already does this, or a … | |
At the moment, I'm looking for formulas for jumping, falling, accellaration, and de-accellaration (pardon my spelling!). Does anyone have any good formulas for them? Thanks alot! | |
I have built a web server in python for a local intranet. I would like to get the user's userid when they click on a link on my web page. Is this possible?? | |
hi i am working on a challenging assignment where i have a list of different animals in an ecosystem and i have to show the relation ships the outpu requires to" # List of all species (in alphabetical order) # List of species at the top of the food chain. … | |
i just got the latest version of python today and im finding it very difficult to understand. im only 15 and would greatly appreciate it if someone would help me understand the basics? | |
Hello. Beginner here so bear with me. I'm creating a game as a final project for my university but at the moment I'm stuck. I'm just wondering how you go about making buttons. In the code, I have created four rectangles which will eventually be able to be clicked on. … | |
Could you please help me / explain me how to create a four in a row game in python? Thanks! | |
So, I am slamming my head into my desk right now. I am trying to take a string containing unicode character codes and convert it to a python unicode string. I thought it would be simple, but I am having major issues. Any help would be greatly appreciated. This is … | |
I am trying to learn the Kexi database program, and am at the point of looking into scripting. I know this can be done using Python, but I can't find any tutorials or lessons on how to do this. In fact, I can't find much of anything relative to Kexi. … | |
Hi all, Is there a way to move the mouse pointer to a specific point? As opposite to GetPosition(), something like GetPosition maybe? THX [url]www.WhyUI.com[/url] | |
Hello, I am new to Python and would be verry happy if someone would give me the code for a function that yields all sublists of a list. I need it for later implemetation in C, where I have to do work on these sublists. I would need something like … | |
hai i am a new visiter of this site so i want to know,in what all applications we can use this softwere python,how it is differ from c,c++,java like things.will its performance is much different than all else | |
Hi, I've searched but i can't seem to find anything. I have a sudoku grid made by turtle graphics. But the thing is how do i input numbers and select squares? Select squares as in.. A6 or something like that. I know its not turtle.write(whatever), that would just take way … | |
hi .i am bond .I am new to Python and I am trying to write an updated version 2007 of Pacman for my program. I am in dire need of help. Thanks! |
The End.