#๐Ÿ”’ sorting by property

11 messages ยท Page 1 of 1 (latest)

quaint beaconBOT
#

@quiet marlin

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

errant leaf
#

you can parse the metadata and extract the year, month, day and the compare these

modest ocean
#

Can you show the code you've tried?

errant leaf
#

can you paste here the "release date on a music file" to see how it looks?

modest ocean
#

You might want to convert the string of data into a datetime.datetime object

#

and then do the comparision

frozen jolt
#

hello

quiet marlin
#

the music files werent embedding the way i thought they were and im gonna have to change up the project, sorry for the waste of time

#

!close

quaint beaconBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.