15,185 Topics

Member Avatar for
Member Avatar for karenmaye

Does anyone here have a wxPython code that converts a folder of images to a .wmv file just by clicking a button? What I did in my program was I load an Image-to-Video Converter Software by clicking a button but I feel that it would be better if I can …

Member Avatar for sneekula
0
2K
Member Avatar for JeyC

What is the easiest way to search a text file for a particular string? I have text files resembling the following : FILE A HAS 2266 LINES OF WHICH 951 WERE IGNORED FILE B HAS 2193 LINES OF WHICH 878 WERE IGNORED THERE WERE 2 DIFFERENCES Can anyone help me …

Member Avatar for JeyC
0
117
Member Avatar for alicem

Hello, I have just started learning Python. Please can you tell me if there is a way to read in a file one bit or byte at a time (i.e. in binary). Thank you!

Member Avatar for jlm699
0
6K
Member Avatar for harrykokil

is pygame used for games only? or it is used for some application like traffic simulation? can we produce a slide bar in pygame?

Member Avatar for lllllIllIlllI
0
84
Member Avatar for artemis_f

Hi I was just wondering if anyone knows/ can recommend books on wxPython? Of course quite a few come up on Amazon when I do a search but I was wondering if someone here has used a wxPython book and found it particularly helpful? Thanks

Member Avatar for lllllIllIlllI
0
124
Member Avatar for leegeorg07

a while ago i asked for help with a web crawler and i got it, but now in the air cadets we are looking at the history of the raf and i wanted to know if there is any way i can edit the code below to search for sites …

Member Avatar for lllllIllIlllI
0
105
Member Avatar for ask2

Hi I am trying to process a large text file. I would like to include parameters at some places in the file. Run it through python and write out the "processed" file with the values of the parameters in the new file. Example: original file: a =1 b=2 c= param1 …

Member Avatar for ask2
0
185
Member Avatar for wc26482

HI, Please could anyone advise me how to average a series of grayscale images using python. I trying to automate this process as I have thousands of images to average. Thank you

Member Avatar for slate
0
46
Member Avatar for alicem

The data is stored as an array with each element being an 8-bit binary number. I know this seems like a simple question, but I've looked and can't seem to find a simple answer on how to do it anywhere.

Member Avatar for slate
0
65
Member Avatar for chebude

I am stuck with large text files which I have to merge and further work with my model. I tried to follow the previous thread in text merging [url]http://www.daniweb.com/forums/thread38625.html[/url] Here is the script which I used: [CODE= python] one = open("one.txt",'r') two = open("two.txt",'r') ofh = open("out.txt",'w') # read in …

Member Avatar for chebude
0
135
Member Avatar for tillaart36

In a bigger program I made I need to be able to generate a grid with n rows and m columns. After that I need a function that will let me rotate this grid and with it rotate the values of the original grid. This is the code that let's …

Member Avatar for tillaart36
0
265
Member Avatar for abczxy124

As part of a project I need to draw a fence on turtle graphics that incorporates a loop. Can someone help me with the code I will need!!

Member Avatar for leegeorg07
0
47
Member Avatar for siddhant3s

Well, first of all I will speak much so that you guys can target my problem better. Hello, I am a poster from the C++ forum. Hence, I am a well established C++ programmer. Now I want to learn Python. First of all, should I? I mean, keeping in mind …

Member Avatar for sneekula
0
767
Member Avatar for shakeel.ahmad

[TEX][/TEX]Hello All Gurus! I have developed a web service using DotNet Framework 3.5, having one webmethod that have a string parameter and returns parameter value after concatenating it with some string. When I tried to call it from the SOAP request, it only returns the concatenated string while parameter value …

Member Avatar for jlm699
0
186
Member Avatar for mickyemza

Hi All... I am testing a Web application (on Windows XP/MSIE) with PAMIE and the web application uses popups (not actual web popup, but rather an annnoying modal messagebox). As soon as the message box appears, the script freezes. It simply does not advance to the next command until I …

0
39
Member Avatar for leegeorg07

hi again, if you remember i had been asking how to extend my music player to do two things: 1)play music from folders and subfolders (complete) 2)change song at the end of each one (incomplete) well after looking around a while i found the answer : [code] # create a …

Member Avatar for leegeorg07
0
116
Member Avatar for harrykokil

hi everyone, i urgently need your help for my project. I need to implement collision detection in my program. I have been trying for a month but so far I haven't found any good solution. I'm providing my piece of code hoping you guys can help me out. Thanks [icode] …

0
56
Member Avatar for blair.mayston

Hi, Have written a script that downloads rss feeds, compares the latest download with the one before using md5, and if they're different sends an email with the updated headlines. However, have noticed the email update is sent even for a change as minor as the insertion of a comma. …

Member Avatar for Gribouillis
0
105
Member Avatar for preeti387

does anyone know how to underline the selected text from a textview . we are using pygtk and glade plz reply quickly. urgent urgent urgent!!!!!!!!!!!!!!!!!!!!!!

0
43
Member Avatar for hurricanezj

Hi, I've written two programs.One is for sending data from outside,another is for receiving the message.Both work well.But I also want to get the message value for next program.The problem is I have no idea how to get the value from the receiver. PLZ help me out!Many Thanks! This is …

Member Avatar for hurricanezj
0
96
Member Avatar for sparso

I am in need of a script that reads a log file, takes some data from the file and saves it in a .csv (coma separated value) format. The example log is below: log.txt: Date: 3/14/09 Device #: 1 Test: Cont: pass Test: Leakage: pass Test: INL: 0.88 Test: DNL: …

Member Avatar for Gribouillis
0
184
Member Avatar for artemis_f

Hello, Python newbie here. I have been using various templates to play around with wxPython and see what I can do and am stuck at the following bit - I have a MyPage panel. This panel has wxTextCtrl boxes and when the button the panel has is clicked I want …

Member Avatar for lllllIllIlllI
0
184
Member Avatar for Arrorn

I am writing a dice rolling simulation and i need help redefining a variable inside a loop.

Member Avatar for woooee
0
102
Member Avatar for ltj

Hi, I installed VTK for python from source (locally compiled) on Windows XP. However, I got some trouble with vtkTkRenderWidget. The error message is something like 'this application has requested the Runtime to terminate in an usual way'. Does anybody have some idea about this? Thanks in advance. tj

0
42
Member Avatar for dilipkk

Hi, I am looking for a tool in python which can build a model based on some set of training documents with manually assigned keywords. And then it uses that model to extract keywords from new documents. I want to know whether using NLTK can I do this? Reply me …

Member Avatar for woooee
0
237
Member Avatar for vegaseat

I recently bought the book "Beginning Python" Norton, Samuel, Aitel et al published by Wrox/Wiley in 2005. Has anybody else bought this book and actually found the source code at the website they list in the book? I don't want to sound vinegarish, but this has got to be the …

Member Avatar for vegaseat
0
215
Member Avatar for nitebreed52

I am looking to send an instant message through aim using python, or a way to send a txt message using python to a sprint cell phone

Member Avatar for leegeorg07
0
36
Member Avatar for neqinox

Anyone know a simple way in phython to read an XML document ant generate a schema? Ive been playing with minidom all day but I cant get it to do what I want :( Thanks in advance

Member Avatar for Gribouillis
0
23
Member Avatar for billySometimes

I've decided to mess around with Tkinter and import os a bit. I'm running ubuntu 8.10, if that helps any. Here is what my program was supposed to do: have two simple buttons, one labeled 'on' and one labeled 'off'. I wanted the on button to launch nautilus and the …

Member Avatar for Gribouillis
0
89
Member Avatar for snowfish

I am facing a problem when i tried to run the python code. The error is " Name error:global name 'receive' is not defined". May I know how can I solve the problem? I am using this code in my mobile phone to communicate with microcontroller to control ON/OFF ports …

Member Avatar for snowfish
0
386

The End.