15,175 Topics

Member Avatar for
Member Avatar for shlomgad

Hello, I'm trying to convert a string which includes raw UCS2 unicode characters into a Python unicode object. For example: The string: "05E905DC05D505DD" The result I need: u'\u05E9\u05DC\u05D5\u05DD' What's the function I should use ? Thanks,

0
49
Member Avatar for turnerca902

Hi Folks, For thoes of you who may have read and offered assistance on this problem already, I thank you. (Woooee, Slate.) The project/problem has been evolving and now I feel I am getting close to a solution...but still a few steps away. I have the code below, which is …

0
65
Member Avatar for lllllIllIlllI

Hi I am making a program that collects data and then saves it to a text file. Then i want it to print the text file on a Network Printer and i was wondering how i would go about doing that?

Member Avatar for Ene Uran
0
90
Member Avatar for lllllIllIlllI

Hi I have been doing text programming for a while now and i was going to start doing some graphical interfaces for my programs but i was wondering which one is the best for beginners and also what and ther advantages/disadvantages of each of them. Thanks

Member Avatar for lllllIllIlllI
0
543
Member Avatar for jimcc

So I have a simple dice program that lets the user make bets. If their current money pool is larger than the money pool in highscores.txt it will write the new score to the file. The program works as intended except for the high scores. When I try to write …

Member Avatar for Fuse
0
120
Member Avatar for smithsf22

Hello, I am exporting 3 seperate Selects to a csv file. What i have is a button that when clicked I would like to have to export. The problem that I have is that I can only get one of the three to work. All three do work just not …

Member Avatar for smithsf22
0
109
Member Avatar for dangermini

Hi, i've been working on simple code just prototyping the system i'd like to make. This all works and is going great apart from my "quit" button, the button appears. however when you click on it, it doesn't close the interface..i think it just stops the code from running or …

Member Avatar for woooee
0
4K
Member Avatar for s_jmp

I want to retrieve a variable's data that contain's an image i am using pys60 ,for example i have created a class of Image like this: i=Image.new((size,size)) and drawn a rectangle in it: i.rectangle('proper values') now there is a rectangle in i so we have an image and something is …

0
76
Member Avatar for xav.vijay

Hi friends I am trying to connect to a Linux machine from a Windows PC. I used to do it thru TELNET, but now I want to use SSH for better security. I tried with PYSSH, but I am going nowhere with it... Parmaiko is not working in Windows... Is …

Member Avatar for xav.vijay
0
569
Member Avatar for ronnix

Hi , I have a problem.. How can I get encoding for string which I retrieve from web or DB. with hope to solution..

Member Avatar for slate
0
77
Member Avatar for heshan

Hi, I have written a web service and have deployed it using Apache Axis2. What I want to do is to invoke this service using a python script. Can anyone point me in the direction of how to do this. I will be grateful If anyone can give me a …

Member Avatar for heshan
0
591
Member Avatar for Hugh Pittman

Does anyone know how to install Python3.0a5 on a Windows Vista OS / AMD64 AthlonX2 platform? I downloaded the amd64 version of Python3.0a5 but Vista won't install it -- although it has msi. After much 'googling' of the matter, I found that many other people have similar problems with Python …

Member Avatar for vegaseat
0
108
Member Avatar for pukebag

Hi there, I have a mixed list containing strings, integers, strings with numbers both prefix and suffix and mixed case strings as follow: mixedlist = ["cake", 12, "cakecar", "cAKe", "orange", "apple", "1cake", "cake1"] I'm trying to filter the list for any element containing "cake" so I get a new list …

Member Avatar for vegaseat
0
145
Member Avatar for caribedude

Is this supposed to play on my computer? I can't get the PMIDI module to work. I can write a code and it doesn't show and error, but I can't hear anything. I'm sure the codes are well written(mostly because I've used examples from other places) so does anyone know …

Member Avatar for vegaseat
0
124
Member Avatar for dr_kac

Hello! I would like to sort (by number) a file of data that looks like below: ABGH SDFDS 123 SDFS sDF 12 ... Can somebody help me? Thanks

Member Avatar for bvdet
0
137
Member Avatar for DustinS

I just started messing with Python, and was having a great time with entering Tkinter GUI commands into the Python shell (ActivePython 2.5). Its fun entering commands one at a time and seeing components appear real-time (instead of normal process of having to compile the whole thing first). Anyway, I …

Member Avatar for DustinS
0
7K
Member Avatar for jhartley3

[ICODE]def aquariumTicket(total = 0): age = input("What is your age?") if age < 3: price = 0 elif age >=3 and age <=12: price = 19.5 elif age >= 55: price = 21.5 elif age >12 and age <55: price = 26 print "Ticket price: $%.2f" % price others = …

Member Avatar for slate
0
104
Member Avatar for jhartley3

def divide(dividend, divisor): This function should return the calculated value of integer division of divisor by dividend. Calculate the solution by using subtraction recursively to divide the two numbers. You are not allowed to use the division operator for this problem. Explanation: note that 7 divided by 2 is 3 …

Member Avatar for slate
0
108
Member Avatar for dinilkarun

How to create a tree control with child nodes having check boxes? I want the check boxes to be preferably on the left side of the nodes.

Member Avatar for woooee
0
563
Member Avatar for Fuse

Hi there. I'm new to Python. I started learning it 3 days ago. I've figured out everything by myself so far, but this is stumping me: Whenever I load a file such as a html document or a text file, it loads fine. But when I load this gif or …

Member Avatar for woooee
0
405
Member Avatar for Timotei

Is there a way to overlay graphics in Python? I'm looking for functionality similar to X-fire. That is, I want to be able to press a set of keys in a game and a GUI screen with some options (possibly a shell script) that doesn't cover up the game should …

Member Avatar for Timotei
0
2K
Member Avatar for inkcoder

Hello Everyone, I just joined here hoping to increase my knowledge at python. I have been beginning to learn this language as of yesterday. I have decided that if I really want to increase my knowledge I should start on a project. Well here is my first project, a simple …

Member Avatar for sneekula
0
175
Member Avatar for eibwen

OK guys, I've hit a wall & can't find any info on what I'm wanting to do. Maybe someone can help me out here or point me in the right direction please? I have a shelve object- book. If I do book.keys(), naturally I get a list of the keys- …

Member Avatar for eibwen
0
136
Member Avatar for The_Rick_14

Hi there. I'm now to this forum hoping to get an answer that I feel shouldn't be too complicated but, with that said, I haven't been able to find a solution to this after doing some research for a few hours today. What I am looking to do is take …

Member Avatar for The_Rick_14
0
179
Member Avatar for olipals

Hi! I've got an assignment to read an input file and do some calculation and a graph and fancy stuff like that. The problem I am having is reading the file. I get a file that looks like this: [code] 0.00 1.776e-12 3.756e-07 0.000e+00 0.000e+00 0.20 1.769e-12 2.377e-07 0.000e+00 0.000e+00 …

Member Avatar for sneekula
0
271
Member Avatar for dinilkarun

we installed Openoffice.org 2.3 and i am tryingt to run the script by importing UNO and it is throwing up an error saying there is no module called pyuno. I am not able to find pyuno.py file in the location where i have installed open office Please assist.

Member Avatar for sneekula
0
74
Member Avatar for EAnder

I am trying to add user input using the raw_input function to string url_orig. I am attempting to replace the spaces with +'s to make a 'google search'. the replace function works fine in IDE but not when I excecute the program. Any help will be appreciated [code]url_orig = 'http://www.google.com/search?hl=en&q=' …

Member Avatar for woooee
0
93
Member Avatar for gtrashing

Hi, I'm tring to write a script that as to be executed by root on linux... This script execute other bash script normally like root, the problem was that I have to log what my script do. I choose the logging library... Perhaps I have to write the log in …

0
39
Member Avatar for JA5ONS

Okay, I appreciate everyone's help! i am trying to work out how to find a duration type thing.. i have created this as an example of what i am trying to do. [CODE] ### gaining inputs start= raw_input("What time did the tv show start: (Format = 14, 12) ") finish= …

Member Avatar for JA5ONS
0
117
Member Avatar for JA5ONS

just wondering if there is anything in python to give the date automaticly, just like excel has =today() cheers.

Member Avatar for lllllIllIlllI
0
144

The End.