About 30,500 results
Open links in new tab
  1. python - How to structure tkinter with classes? - Code Review …

    Sep 23, 2019 · I had a read about classes, def, self, master, *args, **kwargs, __init__ and roots. Still trying to get my head around the whole thing. I am struggling to structure my current code …

  2. Storing a version number in a Python project

    May 30, 2016 · If I have this simple structure: $ tree . └── project ├── __init__.py └── my_script.py where I want to define __version__ in __init__.py (this allows setup.py, in the …

  3. Python - Text-based game about an escape room

    May 17, 2024 · This is my first project, a short text-based game. Does this code follow common best practices? Here is the code for the class file: # create a class called chapter class chapter …

  4. python - Generating markdown documentation for VBA code

    May 3, 2020 · Generating documentation for VBA code The goal of this exercise to is create an application which can read module files created in VBA project and generate markdown …

  5. python - Fantasy game inventory — Ch. 5 Automate the Boring …

    Jun 15, 2019 · Here is a practice exercise — Fantasy Game Inventory \\$-\\$ You are creating a fantasy video game. The data structure to model the player’s inventory will be a dictionary …

  6. python - Properly Structuring a Tkinter Application - Code Review …

    Sep 19, 2019 · I'm fairly new to object oriented programming and while I understand the basic concepts, I'm still having some trouble organizing my applications. I'm building a small Tkinter …

  7. python - Project Euler #1: Multiples of 3 and 5 - Code Review …

    Sep 3, 2015 · Challenge Description: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the …

  8. Fantasy Game Inventory - Automate the Boring Stuff with Python

    Oct 6, 2019 · 5 Below is my code for the Fantasy Game Inventory problem from Chapter 5 of Automate the Boring Stuff with Python. Is there anything I can do to make it cleaner or more …

  9. Python project to scrape webpages and build text datasets for ML ...

    Oct 29, 2025 · This is my first project: textnano - a minimal text dataset builder inspired by lazynlp. Purpose: Educational tool for ML students who want to quickly create clean text datasets from …

  10. python - Simple hotel reservation system - Code Review Stack …

    Aug 22, 2015 · Rooms for example are probably better stored as some data structure that specifically represents a room. Same goes for guests. Refactoring There's a lot of code here …