Bring your karma
Join the waitlist today
HUMBLECAT.ORG

Blind and Visually Impaired Community

Full History - 2021 - 06 - 04 - ID#nrxsal
3
Accessible way to learn and develop in python on Mac OS X? (self.Blind)
submitted by soundwarrior20
Hi everyone I hope you’re doing well and staying safe. Even though I can’t code myself currently I am involved in a couple of software projects that use python as the mane programming language. In light of this fact I am considering trying to learn python, what’s the most accessible development environment for python on Mac OS X? Also what’s the most accessible way to learn python and how easy is it to learn? Your help with all these questions would be most welcome thanks in advance for your help, kind regards Trey.
Unlikely-Database-27 1 points 2y ago
I use textmate, and or terminal. You can straight up type python3 into terminal (assuming thats the version you have) and go to town writing code. Or, write in textmate, then type python whatever.py into terminal and run it there. I may have gotten some details wrong but I mainly use java via node.js so I'm not as familiar with python as I am java.
Marconius 1 points 2y ago
I used Learn How To Code The Hard Way and did my best to work through that terse training and started building games. I then helped Codecademy fix some of their accessibility issues and went through their Python 3 course and refreshed a lot of knowledge.

As for workflow, I have a coding VoiceOver activity set that has TextEdit read out all punctuation and reads out the amount of tabs I have for indentation. I code in TextEdit and run and test everything through Terminal or iTerm. Sometimes I will code in Xcode just for the code editing tools, but for most of what I've made, TextEdit was perfectly fine.
tr8aker 1 points 2y ago
Also see: https://www.reddit.com/r/BlindDevelopers/

I’d start with a web-based tool for initial python learning. Even Google Collab is nice since you dont have to install an IDE compiler or local libraries.
sillynee 1 points 2y ago
Another option for an accessible text editor that supports auto-indent is Smultron, which I personally prefered on a Mac in combination with the terminal for running the python interpreter. VSCode works as far as I'm concerned, but suffers a bit from the lack of browse/focus mode in VoiceOver and becomes quite verbose for what you might need to use when starting out, but that is personal preference.


As for materials, Think Python by Allan Downey comes to mind (the python 3 edition):
$1


Good luck :)
zersiax 1 points 2y ago
I would think the most accessible editor for Python will be a toss-up between textMate and Visual Studio Code.

The main thing you have to be aware of in either editor is the fact that VoiceOver doesn't really natively support reporting line indentation, so unless you are using braille, you will have trouble doing this.

Python relies on indentation to indicate various things in the code, so you'll need some way to fix this.

In VS Code, there's an extension developed by a blind person that does this: $1

For other editors , there is a really recent project created by two blind developers that does a similar things for mac-wide:

$1

​

As for accessible ways to learn it, really any text-based tutorial that pertains to Python 3, which should be anything relatively recent, should work just fine.

Learn Python the Hard Way comes to mind, but NoStarchPress has a bunch of python books as well that are perfectly usable.
blind_system 1 points 2y ago
vscode is generally accessible on macOS, but I don't like it because its far too verbose for my liking. I recommend using Textmate, which isn't a full IDE, but gets the job done.

For learning resources, I recommend some of the scholar courses from MIT OCW. Specifically, check out "an introduction to computer programing".
LyingSlider7 0 points 2y ago
Maybe something like a Amazon echo dot or a Google HomePod or an Apple HomePod or depending on the extent of her vision LED light strips
This nonprofit website is run by volunteers.
Please contribute if you can. Thank you!
Our mission is to provide everyone with access to large-
scale community websites for the good of humanity.
Without ads, without tracking, without greed.
©2023 HumbleCat Inc   •   HumbleCat is a 501(c)3 nonprofit based in Michigan, USA.