pythonanywhere / help_pages

The help pages for help.pythonanywhere.com
43 stars 86 forks source link

Mismatched version references in Save&Run/hashbang help article #62

Closed therden closed 4 years ago

therden commented 4 years ago

On your site's help page How can I use a different version of Python for the Save & Run button?, the Python versions which references both within the text (3.7 and 3.6) and also within the second code example (3.4 and 3.3) appear to have drifted apart over time.

therden commented 4 years ago

As encouraged at the bottom of the the article page referenced above, I tried to contribute improvements to this article, but have been thwarted.

I cloned the help_pages repository, created a new branch for this issue, updated the Markdown file, and committed it to my local repo.

But when tried to create a Pull Request from within GitHub, I was blocked from doing so, and was likewise unable to push my branch from my local repository to the GitHub-hosted one.

Since GitHub won't let me attach an MD file, I'm attaching my revised version with a TXT extension.

SaveAndRunPythonVersion.txt

millenniumhand commented 4 years ago

I have updated the help page. Since the prints in the code examples are there mostly as comments, I have not used the code that you provided to print the version that is running, since that obscures what the shebang is doing.

therden commented 4 years ago

I understand.

You overlooked the need to update the reference from 3.6 to 3.7.

On Mon, Feb 17, 2020, 9:17 AM Glenn Jones notifications@github.com wrote:

I have updated the help page. Since the prints in the code examples are there mostly as comments, I have not used the code that you provided to print the version that is running, since that obscures what the shebang is doing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pythonanywhere/help_pages/issues/62?email_source=notifications&email_token=AAYG2KL3UGWIVKGYHQBP2U3RDKMARA5CNFSM4KWGZDA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL6SEMI#issuecomment-587014705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYG2KIY2G2G6NQJNTGJTSLRDKMARANCNFSM4KWGZDAQ .

millenniumhand commented 4 years ago

Thanks. I have fixed that.