Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Close Windows MEssage box after function call
Post: Close Windows MEssage box after function call

Hello, I am trying to simply display a message box on windows 10 while I am copying files/removing directories. I don't need a progress bar or anything super complicated but just simply a window that ...
ashtona General Coding Help 1 6,278 May-10-2018, 06:50 PM
    Thread: Python and SQL BLOB Streaming
Post: RE: Python and SQL BLOB Streaming

Read through that, still not sure how I can shove bytes in there to create an image. If I have the bytes there has to be a way to get frames out of them right? How else are streams created? I tried th...
ashtona General Coding Help 4 4,394 May-09-2018, 06:13 PM
    Thread: Python and SQL BLOB Streaming
Post: RE: Python and SQL BLOB Streaming

Ok so I can get the bytes, is there a way I can convert them to a image using PIL or something and feed them to a video player? Thanks
ashtona General Coding Help 4 4,394 May-09-2018, 02:15 PM
    Thread: Python and SQL BLOB Streaming
Post: Python and SQL BLOB Streaming

Hello, I have some videos I am storing on an SQL BLOB column. Is there a way I could read from the columns in byte chunks to create a stream in python? Any help on this would be greatly, greatly appr...
ashtona General Coding Help 4 4,394 May-08-2018, 03:23 PM
    Thread: Playing video read in as binary without writing to disk
Post: Playing video read in as binary without writing to...

Hello my python program right now reads in binary data from an sql varbinary column, if it's a jpg file I convert it to BYTESIO and use PIL Image.Open to display the image. If it's a pdf or mp4 I writ...
ashtona Game Development 0 2,141 Apr-19-2018, 07:58 PM
    Thread: Tkinter touch screen button click
Post: Tkinter touch screen button click

Hello, I'm working on a tkinter application that will be used on tablets. I am trying to find a way to get the buttons to react to a touchscreen push the same way as a mouse click so the user knows th...
ashtona GUI 2 9,665 Apr-12-2018, 07:48 PM
    Thread: Tkinter Listbox tab char issues
Post: RE: Tkinter Listbox tab char issues

The tab ends up on the END when I run the GUI tool, if I do this #Scroll bars for listbox self.yScroll = Scrollbar(self.window, orient=VERTICAL) self.xScroll = Scrollbar(self.window, orient=HORIZONT...
ashtona GUI 4 4,463 Mar-27-2018, 12:28 PM
    Thread: Tkinter Listbox tab char issues
Post: RE: Tkinter Listbox tab char issues

I am trying to insert a tab char in the SectionList.insert line, the problem is it seems to always end up in front of the string I am inserting. values = self.Query("SELECT Filename FROM ShubertDocs W...
ashtona GUI 4 4,463 Mar-26-2018, 03:26 PM
    Thread: Tkinter Listbox tab char issues
Post: Tkinter Listbox tab char issues

Hello, I'm writing a GUI app in tkinter. Right now I am trying to insert filenames that I have stored in an SQL database into a Listbox with a tab in front of it. However the tab seems to always show ...
ashtona GUI 4 4,463 Mar-23-2018, 06:38 PM
    Thread: Launch pdf and close on delete window event
Post: RE: Launch pdf and close on delete window event

Thanks for the help. I resolved this issue by adding one line of code, by checking to see if the sub process object is still running using process.poll(). for process in self.processes: i...
ashtona GUI 6 5,672 Mar-22-2018, 03:04 PM
    Thread: Launch pdf and close on delete window event
Post: RE: Launch pdf and close on delete window event

Ok here is the code I have now. I use multiprocessing to launch the pdf, however it's still not closing my file. def LaunchPDF(filename): """ Launches PDF by filename and tracks PID @para...
ashtona GUI 6 5,672 Mar-22-2018, 12:40 PM
    Thread: Launch pdf and close on delete window event
Post: RE: Launch pdf and close on delete window event

It errors at p = psutil.Process(process.pid) I get, psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 2500. I get the pids from the sub process object and append them to a list doc...
ashtona GUI 6 5,672 Mar-21-2018, 05:26 PM
    Thread: Launch pdf and close on delete window event
Post: Launch pdf and close on delete window event

Hello I'm currently working on a GUI tool in python that launches PDF files from an SQL server. Right now I write the binary to a file and then launch it using subprocess Popen, I track the file name ...
ashtona GUI 6 5,672 Mar-21-2018, 12:50 PM
    Thread: SQL varbinary data type retrieval in python
Post: SQL varbinary data type retrieval in python

I'm working on python scripts to store and retrieve some videos and images from an SQL database, I stored a jpg file on the server as a varbinary type. However when I SELECT the record it returns an a...
ashtona General Coding Help 1 9,950 Feb-06-2018, 04:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020