Skip to content

Context manager#13

Open
liiight wants to merge 3 commits intolord63:masterfrom
liiight:contex_manager
Open

Context manager#13
liiight wants to merge 3 commits intolord63:masterfrom
liiight:contex_manager

Conversation

@liiight
Copy link

@liiight liiight commented Aug 2, 2017

Added ability to use spinner as a context manager:

from pyspin import spin

with spin.Spinner(frames=spin.Box2, word='Now with context!):
    do_stuff()

Also added the option to pass some param to the Spinner class, probably could refacor so that make_spin will share some of the code

@liiight
Copy link
Author

liiight commented Sep 11, 2017

I guess this project isn't maintained anymore... shame 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant