Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~11.2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for floatingshed

I'm trying to create a custom dialog using pythoncard. My main program looks like this (I'm only testing!): [CODE]import wx from PythonCard import dialog, model import MyDialog class MyApp(model.Background): def on_initialize(self, event): self.MyDialog()[/CODE] The simple Pythoncard dialog looks like this: [CODE]from PythonCard import model class MyDialog(model.CustomDialog): def __init__(self, parent, txt=''): …

Member Avatar for John_43
0
147
Member Avatar for floatingshed

I've been given a pile of reports generated by someone who is no longer with us. They each begin with a decimal date and time like this: "41433.662413","41401,250002" I have tried many different methods using datetime and can't figure out how to recover the date. I know (because of a …

Member Avatar for woooee
0
445
Member Avatar for floatingshed

This is probably going to be beyond my knowledge/experience but I thought I'd ask... I work on a radio station in the UK. I have a friend in Canada who wants to listen but he is 5 hours behind us. I'd like to be able to capture our shoutcast stream, …

0
61
Member Avatar for floatingshed

I have no idea where to start with this, a few pointers and a kick in the right direction would be much appreciated. I run a radio station. All our music is in folders representing music styles. From time to time I want to print out a complete library. Printing …

Member Avatar for floatingshed
0
112
Member Avatar for floatingshed

Does anyone here have any experience of the notebook widget in PythonCard? I can't figure it out and it is missing from the docs... Thanks.

Member Avatar for floatingshed
0
67
Member Avatar for floatingshed

I'm running a command line app from a Python script: [CODE]os.system(myapp)[/CODE] myapp contains the path to the app and the required parameters. It works fine but it runs at, I believe, Normal priority which makes the PC sluggish. How can I start the external process at a lower priority? Thanks.

Member Avatar for floatingshed
0
146
Member Avatar for floatingshed

When I run my python scripts I generally run with the console open just to keep an eye on things. I have a script that calls 3 external command line apps one after the other. On one pc all output from these apps appears in the console window and is …

Member Avatar for floatingshed
0
196
Member Avatar for floatingshed

I have a list: [CODE][a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p][/CODE] I would like 4 lists: [CODE][a, e, i, m] [b, f, j, n] [c, g, k, o] [d, h, l, p][/CODE] How would I go about this? Thanks.

Member Avatar for hughesadam_87
0
153
Member Avatar for floatingshed

I have selected several files with the open multiple files dialog: [CODE][[u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\chord.jpg'], [u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\toad1.jpeg', u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\21369.jpg', u'C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\g2.jpg']][/CODE] I want to display the selected files in a nice user-friendly way. Just the filenames, each on a separate …

Member Avatar for floatingshed
0
72
Member Avatar for floatingshed

With a lot of help from ihatehippies I got threads working yesterday. Now I need to stop 'em! More specifically I want to stop a second thread starting until the first has finished.. This is what I have in my threading class at the moment: [CODE]class ProcessThread(Thread): """Test Worker Thread …

Member Avatar for floatingshed
0
371
Member Avatar for floatingshed

I need a custom dialog. I've been playing around for hours trying to create one and simply don't get it! All I need is the standard wx.TextEntryDialog but with 2 text fields. Can anyone please help? Thanks.

Member Avatar for floatingshed
0
97
Member Avatar for floatingshed

I have a wx Gui that gathers all the necessary info and starts an external command line app. Whilst it is running my gui freezes as you'd expect so I've been experimenting with putting the external app in a thread of its own. My original code ends with the line: …

Member Avatar for floatingshed
0
143
Member Avatar for floatingshed

My little GUI runs a command line program which has a progress indicator in the console window. How can I make this data appear on my Gui status bar? Thanks.

Member Avatar for floatingshed
0
124
Member Avatar for floatingshed

My very reason for getting involved with Python was to use it as a gui for some command line programs, like eac3to, sox and neroaacenc. Previously I'd been using batch in windows and had become quite proficient. In batch, a line to process audio with sox looks like this: [CODE]"tools\sox.exe" …

Member Avatar for woooee
0
187
Member Avatar for Thropian

I started into a project in Python,Tkinter. I have a button that I have two images for. I know buttons include the "-relief" option so I can get rid of the border. Now I'm trying to get rid of the click animation border, and have the image on the button …

Member Avatar for floatingshed
0
6K
Member Avatar for floatingshed

I've used Pythoncard to create my gui. Here it is in heavily condensed form: [CODE] import os import sys import os.path import Tkinter import wx import subprocess import subprocess as sp from subprocess import Popen from tkFileDialog import askopenfilenames from tkFileDialog import askdirectory import tkMessageBox from Tkinter import * from …

Member Avatar for woooee
0
186
Member Avatar for floatingshed

I'm just starting out with Python and like the way pythoncard handles the graphics for me. However I cannot work out how to get the data from the radio buttons. The radiobutton.html page is missing from the docs! I've exhausted google (its 4.30am!) and have had no luck. Please somebody …

Member Avatar for woooee
0
60
Member Avatar for floatingshed

I cannot understand why this doesn't do as I expect... [CODE] if (os.path.exists(ofile)): os.unlink(ofile) print "it existed, but I've deleted it!" print "It didn't exist so I'm creating it" ---Here we have a subprocess command--- [/CODE] The print statements print as you'd expect but the command only runs if "ofile" …

Member Avatar for snippsat
0
158
Member Avatar for floatingshed

My first gui application is working fine. Fine, that is until the user forgets to select the output directory. I have set up an error message that, when clicked, directs the script to the open directory dialog. This works but I would prefer the user selected the open directory option …

Member Avatar for Gribouillis
0
269
Member Avatar for floatingshed

Hello, newbie here to both this forum and Python, so expect silliness! My first project has been to build a GUI front end for some command line utilities I use regularly. One of them is the utility: eac3to which joins mp3 files together. It's command line is: "eac3to.exe infile1+infile2+infile3 outfile" …

Member Avatar for NewbieXcellence
0
2K