Python Console


Ervin, Glenn
 

Hi,

I was looking into some Python tutorials, on youtube, and I’m just getting started.

I also noticed in NVDA Tools, there is a Python Console.

My question is, is this for writing in Python?

Thanks.

 

Glenn Ervin  Orientation Counselor II

Norfolk Nebraska

402 370 3436

Cell: 402 992 0325

Welcome | NCBVI

 


 

Hi,

Yes and no. You can experiment with Python here, but not all libraries are not included in NVDA. The python Console is mostly used to test new code ideas or probe accessibility of various controls.

Cheers,

Joseph

 

From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Ervin, Glenn
Sent: Tuesday, June 5, 2018 4:02 PM
To: nvda@nvda.groups.io
Subject: [nvda] Python Console

 

Hi,

I was looking into some Python tutorials, on youtube, and I’m just getting started.

I also noticed in NVDA Tools, there is a Python Console.

My question is, is this for writing in Python?

Thanks.

 

Glenn Ervin  Orientation Counselor II

Norfolk Nebraska

402 370 3436

Cell: 402 992 0325

Welcome | NCBVI

 


Brandon Cross <bcross3286@...>
 

Or as a handy calculator, since it can easily be accessed through NVDA control Z, just make sure you pass both floats if you expect a float in return, so in other words, don't do 5/2 and look strange when it says 2 rather than 2.5. This limitation has been removed in python 3, and NVDA can still do it, I think you have to import something and do something else, but for general use, just make sure all numbers are floats if you're looking for a float in return.


Brian's Mail list account
 

Its for short scripts for one time execution to trouble shoot issues you may be having.
Brian

bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Ervin, Glenn" <glenn.ervin@...>
To: <nvda@nvda.groups.io>
Sent: Wednesday, June 06, 2018 12:02 AM
Subject: [nvda] Python Console


Hi,
I was looking into some Python tutorials, on youtube, and I'm just getting started.
I also noticed in NVDA Tools, there is a Python Console.
My question is, is this for writing in Python?
Thanks.

Glenn Ervin Orientation Counselor II
Norfolk Nebraska
402 370 3436
Cell: 402 992 0325
[NCBVI"AJC Email Logo]<../../../../Documents/NCBVI%22AJC%20Email%20Logo.png>
Welcome | NCBVI<https://ncbvi.nebraska.gov/>


Brian's Mail list account
 

That is a little perverse for the feature, I seem to recall somebody wrote a add on which did this for you but since we are kneee deep in calculators in windows, probably not much help.
Brian

bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Brandon Cross" <bcross3286@...>
To: <nvda@nvda.groups.io>
Sent: Wednesday, June 06, 2018 12:12 AM
Subject: Re: [nvda] Python Console


Or as a handy calculator, since it can easily be accessed through NVDA
control Z, just make sure you pass both floats if you expect a float in
return, so in other words, don't do 5/2 and look strange when it says 2
rather than 2.5. This limitation has been removed in python 3, and NVDA can
still do it, I think you have to import something and do something else,
but for general use, just make sure all numbers are floats if you're
looking for a float in return.