diff options
author | 2022-11-13 10:43:24 -0800 | |
---|---|---|
committer | 2022-11-13 10:43:24 -0800 | |
commit | d59465bd63adcf9ac1b63ffdc0e5468321a4977c (patch) | |
tree | 6daad3263ad2c7148b9e46642755698c6459e701 | |
parent | NOT back to Not and wrapped things to 120chars (diff) |
removed import workaround and mentioned 32-bit download in windows guides
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md | 4 | ||||
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/windows/installing-and-using-python.md | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md b/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md index 65633609..b8153e86 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md +++ b/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md @@ -62,8 +62,8 @@ with `py`. See [this guide](../installing-and-using-python/#the-py-launcher) for - [**Pillow**](https://pypi.org/project/Pillow/): You need to `pip install Pillow`, but the import is usually `from PIL import Image`. - Normal imports in Python can't have dashes (`-`) in them as it would be interpreted as subtraction. Though [there - are workarounds](https://stackoverflow.com/questions/7583652/python-module-with-a-dash-or-hyphen-in-its-name). + Normal imports in Python can't have hyphens (`-`) in them as it would be interpreted as subtraction. So if the + package name has a `-` in it the import will definitely be different. - #### Are you installing to the same environment you're running your code from? diff --git a/pydis_site/apps/content/resources/guides/python-guides/windows/installing-and-using-python.md b/pydis_site/apps/content/resources/guides/python-guides/windows/installing-and-using-python.md index cbfc17a3..81fe4cbb 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/windows/installing-and-using-python.md +++ b/pydis_site/apps/content/resources/guides/python-guides/windows/installing-and-using-python.md @@ -34,11 +34,13 @@ Windows 11 or other modern versions of Python.) > version compatibility or for working on projects made in a certain version. Only uninstall things if you want to. 1. Go to [python.org/downloads](https://www.python.org/downloads) and click the big yellow "Download Python 3.x.x" - button near the top of the page. That should start the download of the installer for the latest version that best - suits your computer. + button near the top of the page. That should start the download of the installer (a file like + `python-3.11.0-amd64.exe`) for the latest version of Python. - If you want a different version or it doesn't work for some reason, you can download the - Windows installer you want from [python.org/downloads/windows](https://www.python.org/downloads/windows). + If you want a different version or it doesn't work for some reason, you can download the Windows installer you want + from [python.org/downloads/windows](https://www.python.org/downloads/windows). If you still have a [32-bit operating + system](#32-bit-vs-64-bit) you'll need to go here and look for the latest "Windows installer (32-bit)" because the + yellow button downloads the 64-bit installer by default. [](/static/images/content/python-on-windows/recommended_install_1.png) |