Quantcast

addons and python version

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

addons and python version

Juan Hernandez-2

Hi All,

 

I have python 3.6.1 installed for the work I do.  Can I develop addons with this version? Or must I have a 2.7.x version installed?

 

Thanks.

 

Juan Hernandez

[hidden email]

619-750-9431

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addons and python version

James Teh
NVDA only works with code written for Python 2.7.13.

On Tue, Mar 28, 2017 at 1:14 PM, Juan Hernandez <[hidden email]> wrote:

Hi All,

 

I have python 3.6.1 installed for the work I do.  Can I develop addons with this version? Or must I have a 2.7.x version installed?

 

Thanks.

 

Juan Hernandez

[hidden email]

<a href="tel:(619)%20750-9431" value="+16197509431" target="_blank">619-750-9431

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addons and python version

Travis Siegel

The question was can he write nvda add-ons in python 3, and the answer is yes, as long as you don't use any 3.x specific features.  Any functions that don't exist in 2.71 obviously won't work in NVDA, but as long as you know the limitations, it's perfectly possible to use later versions of python to write code for use in previous versions.



On 3/28/2017 1:34 AM, James Teh wrote:
NVDA only works with code written for Python 2.7.13.

On Tue, Mar 28, 2017 at 1:14 PM, Juan Hernandez <[hidden email]> wrote:

Hi All,

 

I have python 3.6.1 installed for the work I do.  Can I develop addons with this version? Or must I have a 2.7.x version installed?

 

Thanks.

 

Juan Hernandez

[hidden email]

<a moz-do-not-send="true" href="tel:%28619%29%20750-9431" value="+16197509431" target="_blank">619-750-9431

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel


Virus-free. www.avast.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addons and python version

Brian's Mail list account BY
I would warn against doing this though as I believe from what I read
sometimes there are subtle syntax differences to worry about. Its very hard
not to get carried away in any language which has different versions.
 Just saying.
 Brian

[hidden email]
Sent via blueyonder.
Please address personal email to:-
[hidden email], putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "Travis Siegel" <[hidden email]>
To: "NVDA screen reader development" <[hidden email]>
Sent: Tuesday, April 04, 2017 9:55 PM
Subject: Re: [Nvda-devel] addons and python version


> The question was can he write nvda add-ons in python 3, and the answer
> is yes, as long as you don't use any 3.x specific features.  Any
> functions that don't exist in 2.71 obviously won't work in NVDA, but as
> long as you know the limitations, it's perfectly possible to use later
> versions of python to write code for use in previous versions.
>
>
>
> On 3/28/2017 1:34 AM, James Teh wrote:
>> NVDA only works with code written for Python 2.7.13.
>>
>> On Tue, Mar 28, 2017 at 1:14 PM, Juan Hernandez
>> <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>     Hi All,
>>
>>     I have python 3.6.1 installed for the work I do.  Can I develop
>>     addons with this version? Or must I have a 2.7.x version installed?
>>
>>     Thanks.
>>
>>     Juan Hernandez
>>
>>     [hidden email] <mailto:[hidden email]>
>>
>>     619-750-9431 <tel:%28619%29%20750-9431>
>>
>>
>>     ------------------------------------------------------------------------------
>>     Check out the vibrant tech community on one of the world's most
>>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>     _______________________________________________
>>     Nvda-devel mailing list
>>     [hidden email]
>>     <mailto:[hidden email]>
>>     https://lists.sourceforge.net/lists/listinfo/nvda-devel
>>     <https://lists.sourceforge.net/lists/listinfo/nvda-devel>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>> _______________________________________________
>> Nvda-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/nvda-devel
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>


--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot


--------------------------------------------------------------------------------


> _______________________________________________
> Nvda-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/nvda-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addons and python version

derek riemer
Your addon runs in NVDA, so no, you need python 2, because your addon will almosed certainly be using things that can't run independently of NVDA. However, if you have a library that supports both 2 and 3, you can use it.

On Wed, Apr 5, 2017 at 3:56 AM, Brian's Mail list account BY <[hidden email]> wrote:
I would warn against doing this though as I believe from what I read
sometimes there are subtle syntax differences to worry about. Its very hard
not to get carried away in any language which has different versions.
 Just saying.
 Brian

[hidden email]
Sent via blueyonder.
Please address personal email to:-
[hidden email], putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "Travis Siegel" <[hidden email]>
To: "NVDA screen reader development" <[hidden email]>
Sent: Tuesday, April 04, 2017 9:55 PM
Subject: Re: [Nvda-devel] addons and python version


> The question was can he write nvda add-ons in python 3, and the answer
> is yes, as long as you don't use any 3.x specific features.  Any
> functions that don't exist in 2.71 obviously won't work in NVDA, but as
> long as you know the limitations, it's perfectly possible to use later
> versions of python to write code for use in previous versions.
>
>
>
> On 3/28/2017 1:34 AM, James Teh wrote:
>> NVDA only works with code written for Python 2.7.13.
>>
>> On Tue, Mar 28, 2017 at 1:14 PM, Juan Hernandez
>> <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>     Hi All,
>>
>>     I have python 3.6.1 installed for the work I do.  Can I develop
>>     addons with this version? Or must I have a 2.7.x version installed?
>>
>>     Thanks.
>>
>>     Juan Hernandez
>>
>>     [hidden email] <mailto:[hidden email]>
>>
>>     <a href="tel:619-750-9431" value="+16197509431">619-750-9431 <tel:%28619%29%20750-9431>
>>
>>
>>     ------------------------------------------------------------------------------
>>     Check out the vibrant tech community on one of the world's most
>>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>     _______________________________________________
>>     Nvda-devel mailing list
>>     [hidden email]
>>     <mailto:[hidden email]>
>>     https://lists.sourceforge.net/lists/listinfo/nvda-devel
>>     <https://lists.sourceforge.net/lists/listinfo/nvda-devel>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>> _______________________________________________
>> Nvda-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/nvda-devel
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>


--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot


--------------------------------------------------------------------------------


> _______________________________________________
> Nvda-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/nvda-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel



--

Derek Riemer: Improving the world one byte at a time!

  • University of Colorado Boulder Department of computer science, 4th year undergraduate student.
  • Accessibility enthusiast.
  • Proud user of the NVDA screen reader.
  • Open source enthusiast.
  • Skier.

Personal website



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Loading...