Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
I made a Vim Game in Python

I made a vim game in python using pygame. I would describe it as if Letter Invaders from Typing Tutor 7 had vim motions. It is in the early stages of development, so please go easy in the comments.

\#What My Project Does

It is a vim game in pygame designed to help the user build up speed and familiarity with the vim motions

\#Target Audience

People who use vim and want to become fast with the motions

\#Comparison

Alternative games include VimBeGood and Golf.Vim. This is closer to VimBeGood, in that it focuses on building up speed, rather than giving the user a single puzzle to study.

\# Repo

https://github.com/RaphaelKMandel/chronicles-of-vimia

/r/Python
https://redd.it/1kiseo7
A script to get songs from a playlist with matching total length

#What my project does
Basically, you input:

- A public youtube playlist

- Target duration

You get:

- Song groups with a matching total length

#Target Audience

So I think this is one of the most specific 'problems'..

I've been making a slow return to jogging, and one of the changes to keep things fresh was to jog until the playlist ended. (Rather than meters, or a route)

I am incrementing the length of the playlist by 15 seconds between each run, and each time finding a group of songs with a matching length can be tiring, which is why I thought of this 😅

 

So I guess this is for people who want a shuffled playlist, with a specific duration, for some reason.

This is 'py-playlist-subset', try it out 👀

https://github.com/Tomi-1997/py-playlist-subset

/r/Python
https://redd.it/1nl4bxv