Sort Files in a Directory by File-Extension using Python

Here is a python script that sorts files in a directory by file extension.

The directory to be sorted and the file endings to be sorted are taken as input parameters.

As an example, the script can be immensely helpful in creating order in a download folder that has grown and grown over time.
Read more: Sort Files in a Directory by File-Extension using Python

Continue reading “Sort Files in a Directory by File-Extension using Python”

ZTF meets ATLAS

Fading as it races across planet Earth’s northern skies comet C/2022 E3 (ZTF) shares this telescopic frame with comet C/2022 U2 (ATLAS). Captured on the night of February 6 from a garden observatory in Germany’s Bavarian Forest, the starry field of view toward the constellation Auriga spans about 2.5 degrees. Discovered by sky survey projects in 2022 (the Zwicky Transient Facility and the Asteroid Terrestrial-impact Last Alert System) these long-period comets are outbound, reaching perihelion just last month. The much fainter comet ATLAS made its closest approach to our fair planet on January 29 at a distance of about 4.6 light-minutes, compared to a mere 2.4 light-minutes for comet ZTF on February 2. This comet ATLAS lacks the well-developed tails of the formerly naked-eye comet ZTF. But both comets sport greenish tinted comas, emission from diatomic carbon molecules fluorescing in sunlight. Continuing its dash across planet Earth’s sky, the good-binocular comet ZTF will appear close to bright planet Mars tonight. via NASA https://ift.tt/XyoFMQs

Daily dose of rhymes – 2023-02-10

Poem No night without stars This poem is a beautiful reminder of the light of the stars and how they remind us of our interconnected universe. Read on to be inspired by their gentle light and guided through the darkness. 2023-02-09

Literal Meaning

The literal meaning of this poem is that night cannot exist without stars, since stars are the primary source of light at night.

Story

The story of this poem is about the beauty of the night sky, and the importance of stars in illuminating the darkness. It conveys a sense of awe and appreciation for the night sky, while also conveying a deeper understanding of the interconnectedness of the universe.

Mood

The mood of the poem is one of reverence and contemplation. It encourages the reader to take a moment to appreciate the beauty of the night sky, and to reflect on its deeper significance.

Metaphor

The poem uses the metaphor of a lighthouse to represent the stars in the night sky. The stars are the beacons of light that illuminate the darkness and guide travelers through the night. Like a lighthouse, the stars provide a source of comfort and reassurance in the darkness, and can be a source of guidance and direction. The metaphor also serves to emphasize the interconnectedness of the universe, as the stars are a reminder that we are all part of something larger.

Content and structure

The poem begins with the line “There’s no night without stars,” emphasizing the importance of stars in illuminating the darkness. The next few lines describe the beauty of the night sky, and the awe-inspiring sight of the stars shining brightly in the darkness. It then introduces the metaphor of a lighthouse, and uses imagery of ships at sea to illustrate the way that stars provide guidance and direction in the darkness. The poem then shifts to a more contemplative tone, reflecting on the interconnectedness of the universe and the importance of appreciating the beauty of the night sky. The poem ends with a reminder that no matter how dark the night, the stars will always be there to provide light and guidance.
The multi-level structure of the metaphor allows the poem to explore a range of meanings. On the surface, the poem is about the beauty of the night sky, and the importance of stars in illuminating the darkness. On a deeper level, the metaphor conveys a sense of interconnectedness and a reminder to appreciate the beauty of the universe. The poem also conveys a sense of peace and reassurance in the darkness, as the stars provide a source of comfort and guidance.

The post Daily dose of rhymes – 2023-02-10 appeared first on Strictly Confidential.

source https://www.ways4.eu/blog/2023/02/10/daily-dose-of-rhymes-2023-02-10/?utm_source=rss&utm_medium=rss&utm_campaign=daily-dose-of-rhymes-2023-02-10