2018-02-23 04:16:04

Hi, I am learning python since 6 month, and I can perform basic operations.
now I want to use accessible output in python programs.  How can I do that? are there any complete tutorials available?
any help will be appreciated

2018-02-23 05:08:45 (edited by CAE_Jones 2018-02-23 05:18:08)

If all you want is speech, prioritizing the screen reader and defaulting to installed voices if no screen reader can be found, you only need like two lines:
from accessible_output2.outputs.auto import Auto
speech=Auto()
speech.output("Hello!")

You can also use speech.speak("Hello!") for only speech, and speech.braille("Hello!") if you want braille.

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2018-02-23 06:13:25

Thanks so much bro

2018-02-23 06:15:08

Hey bro can I ad you on skipe?

2018-02-23 13:16:53

Hi bro I tried that but, it gives error like,  import error:  no Module name  'output'

what should I do then?

2018-02-23 19:35:28

Did you include the s at the end of outputs?

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2018-02-24 03:30:33

Hi bro, I have exactly copied those two lines as You had given me
but, nothing is happening.
it again gives error of 'no module name outputs'

2018-02-24 06:29:29

You are probably using version that isn't compatible with Python3. The latest one that can be found on QContinuum can be used with Python3, but unfortunately QContinuum server is down for several days: 502 bad gateway.

2018-02-24 08:25:33

The version I'm using is with Python 2.7, so something might have changed in the meantime.

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2018-02-24 11:42:43

so most probably I have to again revert back to python 2.7 isn't?

2018-02-24 11:44:13

if any buddy  has compatible version of Accessible_output for python 3.40, so can I get it?

2018-02-24 15:07:51

Yes, Python3 has made some major changes with import statements, so that's why older accessible output doesn't work with Python3. I still have a backup that works for Python3, so I can upload it.