Python Forum

Full Version: 200 Python code snippets free
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For the last 18 months or so I have been carefully collecting Python code snippets
that are useful to me, and therefore beginners to intermediate coders.

The snippets cover a huge variety of topics from simply opening a webpage to
GUI's, web scraping and opencv and they all do something useful that you can build
on or around, great for when you can't think of a project to start.

There is a full list of every snippet here:
https://stevepython.wordpress.com/full-p...pets-list/

You can download zip files of the first 100 and 2nd 100 from the links.
The zips are about 3meg each and are stored on MediaFire, so are free.
You may want to use an Ad-Blocker.

I constantly refer to these snippets to help write my projects and
think any beginner would benefit from having this collection in their coding arsenal.
Thanks, i´ll definitely have a look what you have collected there.
Very cool, thank you so much for the share, you rock!
Thank you, I'll have a look at these snippets.
I'm up to 255 snippets now guys.

My target is 1000 snippets. I just hope I live that long. Pray

I was wondering if it would be accurate and acceptable to call these
snippets "curated"?

I'm no pro coder of course, but I do clean up every snippet to be
closer to PEP8 and sometimes improve, makes fixes, or convert them
from Python 2.

I also used to do a write up on every snippet until about snippet 200
when I realised this was taking so long that it was holding me up
finding and publishing more. I still ad a ton of information and links
for each snippet and test them all on Windows and Linux.

Is that "curated" ?
Thanks,This way easier than search in google.
i am definitely saving this and checking it out