GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use Pylint / flake8 compliant code in help pages · Issue #98 · PythonTurtle/PythonTurtle

Use Pylint / flake8 compliant code in help pages #98

New issue
Copy link
New issue
Copy link
Open
Open
Use Pylint / flake8 compliant code in help pages#98
Copy link
Labels
docs+guidesProgramming curriculum in the application and any other instructionsProgramming curriculum in the application and any other instructions

Description

@bittner
bittner
opened on Sep 15, 2018
Issue body actions

Help page 4 contains code examples that may need to be updated in order to promote common practice in Python programming.

Specifically, the for loop should use an "anonymous" count variable instead of i, e.g.

for _ in range(36):
    for _ in range(36):
        go(10)
        turn(10)
    turn(10)

Are the images available in a source code or editable image format, or just as pixel graphics?

Activity

  1. cool-RR commented on Sep 15, 2018

    @cool-RR
    cool-RR
    on Sep 15, 2018
    Member
    More actions

    Unfortunately the images are available just as pixel graphics. That's a very bad practice on my part. Or to be more precise, on 2009 Ram's part ;)

    I disagree with your note about using underscores as the loop variable. I barely think it's important in production code, so in my opinion it's not remotely close to being important for the first loop that a complete beginner is writing.

    If you'd be interested in improving or adding to the help pages, that'd be cool, but I haven't even built the installer for PythonTurtle in many years. So the first step before making any changes or additions would be to get a reliable build process going. I'm not going to do any of that, so unless you volunteer to do that, it's not likely that PythonTurtle could get stuff added to it. Sorry to be a downer.

  2. bittner
    added
    docs+guidesProgramming curriculum in the application and any other instructionsProgramming curriculum in the application and any other instructions
    on Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs+guidesProgramming curriculum in the application and any other instructionsProgramming curriculum in the application and any other instructions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.