Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Organizing list of objects by attribute
Post: RE: Organizing list of objects by attribute

(Mar-06-2020, 03:20 PM)stullis Wrote: To sort by an attribute, you can use the sorted() built-in function. Thank you. I was able to code the following to accomplish my task: self.cards_in_hand = s...
scarney1988 General Coding Help 3 2,246 Mar-11-2020, 03:55 PM
    Thread: Organizing list of objects by attribute
Post: RE: Organizing list of objects by attribute

Thank you. That was a great response. Very very helpful. I had initially went with the set methods because I wanted to eventually add in a Joker card which the user could input value and suit. I g...
scarney1988 General Coding Help 3 2,246 Mar-07-2020, 04:43 PM
    Thread: Organizing list of objects by attribute
Post: Organizing list of objects by attribute

Hey guys/gals, I have been working on my first python project of modelling a deck of standard playing cards. I am hoping to program a basic card game and then begin making a GUI for it. I am stuck...
scarney1988 General Coding Help 3 2,246 Mar-06-2020, 02:53 PM

User Panel Messages

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