Python Forum
200 Python code snippets free
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
200 Python code snippets free
#1
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.
Reply
#2
Thanks, i´ll definitely have a look what you have collected there.
Reply
#3
Very cool, thank you so much for the share, you rock!
Reply
#4
Thank you, I'll have a look at these snippets.
Reply
#5
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" ?
Reply
#6
Thanks,This way easier than search in google.
Reply
#7
i am definitely saving this and checking it out
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Newsi free News API for python mohammedalaazaki 1 1,545 Aug-25-2023, 04:52 PM
Last Post: meunk3
  100% free Python Node Editor (visual Python nodes) KennedyRichard 0 6,400 Apr-05-2022, 02:58 PM
Last Post: KennedyRichard
  300 free curated Python code snippets steve_shambles 1 50,033 Jul-14-2020, 03:32 PM
Last Post: HarleyQuin
  Small to medium Scripts/Snippets snippsat 1 5,445 Sep-20-2016, 01:32 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020