Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: main libvlc error: stale plugins cache:
Post: RE: main libvlc error: stale plugins cache:

I figured it out. I had to re-install the VLC media player and python-vlc, just to be sure, to get it to stop giving me the "stale plugins cache" error. I have another one now that displays "[000002d...
schascheck General Coding Help 2 7,741 Dec-27-2020, 05:24 PM
    Thread: Convert python list to dictionary
Post: RE: Convert python list to dictionary

Right now you have a list that is made up of 3 dictionaries. But the output that you are asking for is a "dictionary" made up of 3 dictionaries, but python will not allow that. A dictionary is {"key...
schascheck General Coding Help 6 3,469 Dec-27-2020, 01:54 AM
    Thread: main libvlc error: stale plugins cache:
Post: RE: main libvlc error: stale plugins cache:

If it helps, this is the sample code that I'm trying to run, which gives me the errors listed above. import vlc mp3_url="http://www.kuhf.org/programaudio/engines/eng1_64k.mp3" x=vlc.MediaPlayer(mp3...
schascheck General Coding Help 2 7,741 Dec-26-2020, 03:48 PM
    Thread: main libvlc error: stale plugins cache:
Post: main libvlc error: stale plugins cache:

Hello again, I'm having some issues that show up when I run a script in Windows 10 shell, but not when I run it in the Idle shell. I get a little over 360 lines of this and I'm not sure what's causin...
schascheck General Coding Help 2 7,741 Dec-26-2020, 04:04 AM
    Thread: 33*25.4
Post: RE: 33*25.4

Yes, I am converting from inch to mm and mm to inch every day. I'm an engineer :) I was also thinking about calculating it as an integer instead of a float, but ended up with this (see below), which ...
schascheck General Coding Help 5 2,310 Oct-27-2020, 02:46 PM
    Thread: 33*25.4
Post: RE: 33*25.4

Thank you both for your help with this. I will keep this in mind with my programs and find ways to adjust when necessary. I suppose there isn't a way to set up a program to globally round all floats t...
schascheck General Coding Help 5 2,310 Oct-27-2020, 03:38 AM
    Thread: 33*25.4
Post: 33*25.4

Hello, I was using the IDLE today and typed in 33*25.4 and it evaluated to 838.1999999999999 I also tried the Python web shell and it gave me the same answer? Does anyone know why this would happen...
schascheck General Coding Help 5 2,310 Oct-27-2020, 12:45 AM

User Panel Messages

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