Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: General Programming Question with Dictionary
Post: RE: General Programming Question with Dictionary

(Jan-09-2022, 12:39 AM)Pedroski55 Wrote: I never heard of inflect before, and I will probably never need it, but it is interesting. I don't think I will ever have a good grasp of re! Personally, I...
giddyhead General Coding Help 12 378 Jan-10-2022, 02:03 AM
    Thread: General Programming Question with Dictionary
Post: RE: General Programming Question with Dictionary

(Jan-07-2022, 10:57 PM)Pedroski55 Wrote: Can you post your an excerpt from your dictionary, maybe 3 or 4 key:value pairs? That would make things clearer for me. Please see below: for key, value in ...
giddyhead General Coding Help 12 378 Jan-07-2022, 11:29 PM
    Thread: General Programming Question with Dictionary
Post: RE: General Programming Question with Dictionary

(Jan-07-2022, 07:01 PM)bowlofred Wrote: So you'll need to create a parser for that, and I'm not sure it will be easy unless you already know your input will be restricted to certain types. Here's a...
giddyhead General Coding Help 12 378 Jan-07-2022, 08:26 PM
    Thread: General Programming Question with Dictionary
Post: RE: General Programming Question with Dictionary

(Jan-07-2022, 07:54 AM)bowlofred Wrote: Then the right way to do this is to grab each of the key/value pairs, examine the value and if it needs changing, update it by setting the key to have a new v...
giddyhead General Coding Help 12 378 Jan-07-2022, 06:25 PM
    Thread: General Programming Question with Dictionary
Post: RE: General Programming Question with Dictionary

(Jan-07-2022, 06:08 AM)bowlofred Wrote: A dictionary is a set of key/value pairs. You have to tell the dictionary which key you are trying to update. Your program just shoves a new value at it. B...
giddyhead General Coding Help 12 378 Jan-07-2022, 06:58 AM
    Thread: General Programming Question with Dictionary
Post: General Programming Question with Dictionary

I have a dictionary that contains books names, numbers of pages, who wrote the book, etc. What I attempting to do is search the whole dictionary for all the numbers for example 1,56,54 and even numb...
giddyhead General Coding Help 12 378 Jan-07-2022, 05:59 AM
    Thread: Set Text in Open Dialog Box
Post: Set Text in Open Dialog Box

Hello everyone, I am trying send text to the File Name box and then click the button open. It is the textbox from the open dialog box you get when you click browse or open from a webpage. The below i...
giddyhead General Coding Help 0 492 May-21-2021, 06:31 PM
    Thread: Filter Excel and Convert an Excel File
Post: Filter Excel and Convert an Excel File

Hello everyone, The following is my attempt to filter the last modified xls file on a ftp server and convert that file to a csv on the same server. from datetime import datetime import ftplib impo...
giddyhead General Coding Help 0 900 May-13-2021, 06:31 PM
    Thread: Saving MP3 Tags to Songs
Post: RE: Saving MP3 Tags to Songs

When I used print(EasyID3.valid_keys.keys()) I get the below keys: dict_keys(['album', 'bpm', 'compilation', 'composer', 'copyright', 'encodedby', 'lyricist', 'length', 'media', 'mood', 'title', 'ver...
giddyhead General Coding Help 9 2,195 Mar-10-2021, 02:17 AM
    Thread: Saving MP3 Tags to Songs
Post: RE: Saving MP3 Tags to Songs

Update: Hello everyone. The following is my add tags to list and save attempt attempt: from mutagen.easyid3 import EasyID3 from mutagen.mp3 import MP3 mtags=[] for root, dirs, files, in os.walk('C...
giddyhead General Coding Help 9 2,195 Mar-09-2021, 05:12 AM
    Thread: Saving MP3 Tags to Songs
Post: RE: Saving MP3 Tags to Songs

Thanks. I used eyed3 and the below gettags3 works gettags3 = [audiofile.tag.album, audiofile.tag.album_artist, audiofile.tag.title, audiofile.tag.track_num, audiofile.tag.genre]for some reason ta...
giddyhead General Coding Help 9 2,195 Mar-08-2021, 09:50 PM
    Thread: Saving MP3 Tags to Songs
Post: RE: Saving MP3 Tags to Songs

Thanks for that. How can I save using those mp3 Tags.
giddyhead General Coding Help 9 2,195 Mar-08-2021, 05:47 AM
    Thread: Saving MP3 Tags to Songs
Post: RE: Saving MP3 Tags to Songs

Thanks for the information. I checked on it but unfortunately at this time the mp3-tagger does not have attributes like tag.disc, tag.disc_total, tag.track_total.
giddyhead General Coding Help 9 2,195 Mar-08-2021, 12:58 AM
    Thread: Saving MP3 Tags to Songs
Post: Saving MP3 Tags to Songs

Is there a Mp3 module that has the same attributes as TinyTag and can also save the Tags to MP3 Songs?
giddyhead General Coding Help 9 2,195 Mar-07-2021, 02:53 AM
    Thread: Moving files to Folders
Post: RE: Moving files to Folders

(Mar-03-2021, 10:11 PM)nilamo Wrote: What is albm? Does it have more than one element? Does it have any elements that aren't NT? Do you have your code somewhere we can see it/run it/test it, li...
giddyhead General Coding Help 13 4,731 Mar-07-2021, 02:50 AM
    Thread: Changing Index of 2 List in python
Post: Changing Index of 2 List in python

Hi Everyone, I have an issue/concern I have two lists column A(albm) and column N(tlt) and below are the code I used to create the lists. What I am seeking to do is put Column A which NASB and NTSB i...
giddyhead General Coding Help 0 704 Mar-05-2021, 05:45 PM
    Thread: If statement not separating Albums
Post: RE: If statement not separating Albums

Thanks for the help. I did not want to over explain as it may become over explained. Below is a little more details. Lists: [inline]newtracks = ['(01 GEN 000) - Intro To Genesis.mp3','(01 GEN 001) -...
giddyhead General Coding Help 5 1,094 Feb-26-2021, 11:31 PM
    Thread: If statement not separating Albums
Post: If statement not separating Albums

If statement does not separate between Albums from List. When ran it all prints Yes and when I used not equal all printed no. Why is it not checking to see if the Album is NT and print Yes and all oth...
giddyhead General Coding Help 5 1,094 Feb-26-2021, 09:48 AM
    Thread: Moving files to Folders
Post: If statement not separating Albums

If statement does not separate between Albums from List. When ran it all prints Yes and when I used not equal all printed no. Why is it not able to see if the Album is NT and print Yes and all others ...
giddyhead General Coding Help 13 4,731 Feb-26-2021, 04:07 AM
    Thread: Moving files to Folders
Post: RE: Moving files to Folders

sorry at this time no luck with that option when I click on the New Reply option appears on the top and when scrolled down to the bottom of the page only Powered By MyBB, © 2020 Designed byrain. Forum...
giddyhead General Coding Help 13 4,731 Feb-23-2021, 07:10 PM

User Panel Messages

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