Skip to content
View bbelderbos's full-sized avatar

Organizations

@Pybonacci @BetterCodeHub

Block or report bbelderbos

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
bbelderbos/README.md

Hi there! πŸ‘‹

  • 🐍 Python software developer
  • πŸ’» Co-Founder of PyBites
  • πŸ“š Love books/reading

Latest Bluesky posts

  • Does my csv file have a header?

    Ask #Python, using csv -> Sniffer: (10 Jan 2025) - link

  • #Python's if __name__ == "__main__": explained https://www.youtube.com/watch?v=ubpFY7_dAW4

    Use case: on our platform you want to call a function that has input(), if not wrapped in this if block, the test will hang 😱

    And in general, this is useful for code that should NOT be run upon importing your module. (10 Jan 2025) - link

  • Workout 3/3 in, fitness2025 off to a good start, feels amazing (dopamine is real!)

    What works for me:

    • fixed time, ideally early morning before it gets busy

    • don't overperfect the workout, KISS, better simple workout than none

    • share progress with accountability buddy

    • build tracker (TODO) (09 Jan 2025) - link

Follow me Β»

Latest Python tips

  • Timing code in Python: Using `timeit` to compare merging dictionaries in #Python: Old way with `**` unpacking vs. new way with `|`. ... (26 Jul 2024) - link
  • Merging dictionaries: Old way: `{**dict1, **dict2}` ... (26 Jul 2024) - link
  • You can now use | for typing: `|` got added to type hints >= 3.10, not needing the `typing` import anymore for these: ... (26 Jul 2024) - link
  • dict dispatch pattern: Tired of long and unmaintainable `if-elif-elif-else` chains? 😱 ... (13 Jul 2024) - link
  • split file name and extension: `pathlib` has you covered, just make a `Path` object and access the `stem` and `suffix` attributes: ... (11 Jul 2024) - link

More Python tips Β»

Build READMERoll your own: How to create a self updating GitHub Readme.

Pinned Loading

  1. bobcodesit bobcodesit Public

    Coding tips (mainly Python) I share on social media.

    Python 31 4

  2. emojisearcher emojisearcher Public

    No more google search, copy emojis to the clipboard.

    Python 20 1

  3. color-searcher color-searcher Public

    Python 30 2

  4. pybites/100DaysOfCode pybites/100DaysOfCode Public

    PyBites #100DaysOfCode

    Python 448 168

  5. PyBites-Open-Source/karmabot PyBites-Open-Source/karmabot Public

    A Python based Slack Chatbot for community interaction

    Python 73 47

  6. PyBites-Open-Source/search PyBites-Open-Source/search Public

    Python 20 3