14,948 Topics

Member Avatar for
Member Avatar for bumsfeld

I am trying things with wxStaticText (a label). I can chnage background colour, but not the text colour: [code]import wx class MyPanel(wx.Panel): def __init__(self, parent, id): wx.Panel.__init__(self, parent, id) str1 = "Camembert cheese is the best!" self.label1 = wx.StaticText(self, -1, str1 , wx.Point(15, 30)) self.label2 = wx.StaticText(self, -1, str1 , …

Member Avatar for vegaseat
0
890
Member Avatar for danizzil14

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 apprecaited. :cheesy:

Member Avatar for vegaseat
0
410
Member Avatar for leb

I need help in creating a python program that plays MP3s, using the [URL=http://www.pygame.org/news.html]PyGame[/URL] package to play both MIDI files, and Ogg Vorbis files. Using a menu that would look something like this: 1. Go to new music directory. 2. Play a song or playlist. 3. Stop music. 4. Create …

Member Avatar for bumsfeld
0
187
Member Avatar for bumsfeld

The Internet has many animated GIF files, they are funny to watch. Does Python have a way to play those? I am asking to much?

Member Avatar for vegaseat
0
167
Member Avatar for bumsfeld

A somewhat strange find in the Pyton Code Snippets here on this site. Is the BOO language very much like Python? It seems nice that one can compile and interpret the same language. Will it be worth to translate Python code to BOO just to get a nice small exe …

Member Avatar for Dani
0
289
Member Avatar for bumsfeld

I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file?

Member Avatar for vegaseat
1
234
Member Avatar for xav.vijay

Hai friends I have a some trouble in running a 3rd party program. This 3rd party program actually takes one file as input & does some processing on it and creates an output in a different folder with the same name, but with different file extention. I do it manually …

Member Avatar for xav.vijay
0
228
Member Avatar for shanenin

I wrote a python script that checks for new media on my windows box, if it is new it copys it over to my standalone freevo jukebox. Below is a small part of the script that does the actually copying [code] source = "/mnt/samba/%s" %i destination = "/mnt/media/movies" print "copying …

Member Avatar for vegaseat
0
144
Member Avatar for danizzil14

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 any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves …

Member Avatar for vegaseat
0
213
Member Avatar for danizzil14

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 certain IM buddys? The reason I am asking this is beacause my friends …

Member Avatar for shanenin
0
475
Member Avatar for Avner .H.

Hey.. Does anyone know what libraries are needed for using GnomeDruid class (and other Gnome classes), and where can i download these libraries? Thanks!

Member Avatar for vegaseat
0
194
Member Avatar for Riptide-X-

I have this function that takes info from two lists, and produces a list that shows their values in ... non interger form (0.8). I'm calling this function in a for loop, and this function gets repeated 20 times, pulling different info each time. This function works just fine, and …

Member Avatar for mawe
0
245
Member Avatar for bumsfeld

Is there a function in wxPython or anything that can creat a variable frequency sounds?

Member Avatar for vegaseat
0
634
Member Avatar for c_shaft05

I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?!

Member Avatar for vegaseat
0
1K
Member Avatar for bumsfeld

I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best?

Member Avatar for bumsfeld
0
156
Member Avatar for bumsfeld

I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone …

Member Avatar for bumsfeld
0
470
Member Avatar for shanenin

I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code]

Member Avatar for shanenin
1
172
Member Avatar for Riptide-X-

I'm very new to python, but am having mighty issues. I was wondering if someoen could help me out. I need to write a simple program that will draw an X whos size is specified by the user. So five would look like this (5 spaces across, and 5 down): …

Member Avatar for shanenin
0
154
Member Avatar for shanenin

when I try and run boa-constuctorI am getting this error. Any suggestions to solve this. [code] C:/Python24/pythonw.exe -u "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py" Starting Boa Constructor v0.2.3 importing wxPython reading user preferences Traceback (most recent call last): File "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py", line 214, in ? import Preferences, About, Utils File "C:\Python24\Lib\site-packages\wxPython\tools\boa\Preferences.py", line 151, in ? screenWidth …

Member Avatar for vegaseat
0
350
Member Avatar for bumsfeld

I can not figure out the order of dictionary keys, they seemed not to be sorted. Any insight?

Member Avatar for G-Do
0
361
Member Avatar for bumsfeld

Okay I have copy and pasted the code from the tutorial on the jpg image [url]http://daniweb.com/techtalkforums/thread33791.html[/url] onto my IDE editor. This time no problem with indents! Now I need to know how to instal required wxPython. I have Windows XP, also Python 2.4. Where do I best get free wxPython …

Member Avatar for wally_lawless
0
268
Member Avatar for G-Do

Hi all, I just added a clustering module to the code snippets. There are classes for modeling points and clusters of points, as well as two point-clustering functions - one is an implementation of the k-means algorithm, which I believe I posted earlier this year, and the other is an …

Member Avatar for vegaseat
0
86
Member Avatar for a1eio

How do i access or call system commands (can't really think of a better thing to call em???) for example on explorer you can right click on an object and select eject, or format ect ect (mainly eject is what i want to know about) any help would be greatly …

Member Avatar for vegaseat
0
340
Member Avatar for wally_lawless

Hey everybody, first new thread for me on this forum. Just noticed that there's no posts here involving wxPython, I'm just curious to hear if anybody knows why that might be? Anyway, I've got some projects in the works that use it and I'll be happy to post some code …

Member Avatar for vegaseat
0
126
Member Avatar for bumsfeld

I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture!

Member Avatar for vegaseat
0
156
Member Avatar for vegaseat

[B]Intro[/B] In part 1 we learned mostly about the header of the JPEG file. In this part we get to display the image and also extract and show any embedded comments. [B]wxPython[/B] To display the image we use wxPython. The raw JPEG image information is first pushed into a data …

0
118
Member Avatar for plazmo

i know it is possible to use python with c/c++ but can python be used similairly with c#/vb?

Member Avatar for plazmo
0
189
Member Avatar for bumsfeld
Member Avatar for bumsfeld
0
3K
Member Avatar for TheSkunkMan

sorry about my post on pygame, but i'm having more trouble. frist off im ending the simple program that opens a window with if event.type == QUIT: raise SystemExit That makes a window pop up asking me if i want to quit. Is there another way to exit the window? …

Member Avatar for vegaseat
0
174
Member Avatar for shanenin

I was helping my 6 year old read some sentenses he learned in school. for example: the dog is on skates the bird is on a plane the pig rides the horse I noticed he was not really reading(kind of) the individual words, he had the whole sentenses memorized. When …

Member Avatar for bumsfeld
0
262

The End.