[nvda-addons] Re: Developing Addons - The best way to get started?

  • From: Alex Hall <ahall@xxxxxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Fri, 8 Apr 2016 11:55:39 -0400

In other words, go to www.python.org, download the 2.7 file for your
system (32- or 64-bit), and install it. From there, create a text file
with a .py extension, put Python code in it, and run it. To do that,
open a command line, cd into the folder where your .py file is, and
type
python myFile.py
That's it. If "python" is not recognized, you can add it as a system
variable, or type
c:\python27\python.exe myFile.py
instead. Packages exist for a myriad of things, from writing Excel
files to plotting data points on a graph to writing GUis to talking to
databases, and more. But for basic programs, you need none of them. I
think you're making it harder in your mind than it actually is.

On 4/8/16, James Scholes <james@xxxxxxxxxxxxx> wrote:

Damien Sykes-Pendleton wrote:
Of course Python compares nothing to small, area-based, sandbox
scripting languages such as BGT, AutoIt, AutoHotkey etc. However it
seems to relate more to C++, which has so many variants I ended up
uninstalling it out of sheer frustration because it didn't work how I
would expect a language to work, and not just in the way it presents
information neither.
My current everyday language is FreeBASIC which, though a fully fledged
programming language, only installs the bare basics along with a bunch
of helper headers so you can use various API's. All you have to do then
is find the libraries you need.

Literally, all you need to get up and running with Python is the Python
Interpreter, which comes with the standard library which is often
described as "batteries included" due to its huge number of useful
modules.  From there, if you need any third party modules, it's up to
you to install them, usually with one command.  But again, you're
running away with yourself.  If you cannot write simple Python programs
and run them with the Python Interpreter, you have more learning to do
before any of this will make sense.
--
James Scholes
http://twitter.com/JamesScholes
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting
bugs.

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs. 

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts: