Re: EdSharp: Python and Go To Environment Command

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • Date: Wed, 27 Jul 2011 14:22:50 -0400

JScript snippets or Python scripts are automatically found by EdSharp if placed in the proper directory. I suggest exploring the subtree under the EdSharp program directory for installation defaults, or under the EdSharp data directory for current user settings.


Jamal

On 7/27/2011 2:18 PM, Homme, James wrote:
Hi Jamal,
Wow. I didn't realize I could make a converter in Python, but I didn't look at 
the converter section to see how you call the MarkDown one. It pays to be 
curious sometimes. And if you make a Python snippet, does EdSharp automatically 
pick it up the way it does Jscript?

Thanks.

Jim

Jim

-----Original Message-----
From: Jamal Mazrui [mailto:empower@xxxxxxxxx]
Sent: Wednesday, July 27, 2011 2:09 PM
To: programmingblind@xxxxxxxxxxxxx
Cc: Homme, James
Subject: Re: EdSharp: Python and Go To Environment Command

File converters are also added to EdSharp by editing EdSharp.ini, in
that case, under the Import or Export sections of that ini file.

Indeed, InPy.exe is used to run the set of web client utilities,
available via the Alt+Shift+Space command.  Any converter or snippet can
make use of InPy.exe -- a custom Python interpreter that imports many
useful standard and 3rd party modules.

Jamal


On 7/27/2011 1:06 PM, Homme, James wrote:
Hi Jamal,
Two more questions. Is this how Python converters are added to EdSharp? And is 
this also how the little utilities that grab things from the web work?  I 
looked at one of them, and they must be getting a bunch of stuff handed to them.

Jim



-----Original Message-----
From: Jamal Mazrui [mailto:empower@xxxxxxxxx]
Sent: Wednesday, July 27, 2011 1:02 PM
To: Homme, James; programmingblind
Subject: Re: EdSharp: Python and Go To Environment Command

Hi Jim,
I'm copying the list in case others might join or benefit from the
discussion.

The error message is probably not being shown because it is quickly
printed to the console then disappearing-- you know, that problem.  Try
running InPy.py from the command line instead, and see what the error
message is.

Alternatively try installing a more recent, executable version of InPy from
http://EmpowermentZone.com/InPy.zip

I suggest unarchving into the directory
C:\InPy

Then make sure the GoToEnvironment setting is configured to call that
executable.

Please note, however, that InPy.exe is a custom interpreter primarily
intended to add Pyton runtime functionality to other distributions.  If
you already have the standard Python interpreter installed, you will
probably find it preferable to stick with it.

Jamal

On 7/27/2011 10:57 AM, Homme, James wrote:
Hi Jamal,

If you are able, can you please help me diagnose an issue I'm having
with this? I don't know how to figure out why it's happening. I have the
Python compiler setting selected. I thought I'd try to use inPy to see
how it might help me, so I typed Control + Shift + G, but no Python
interpreter prompt came up. All I heard was the name of the command, and
I stayed in the editor window. This is with the latest version of
EdSharp and XP Pro.

Thanks.

Jim

Jim Homme,

Usability Services,

Phone: 412-544-1810.


This e-mail and any attachments to it are confidential and are intended
solely for use of the individual or entity to whom they are addressed.
If you have received this e-mail in error, please notify the sender
immediately and then delete it. If you are not the intended recipient,
you must not keep, use, disclose, copy or distribute this e-mail without
the author's prior permission. The views expressed in this e-mail
message do not necessarily represent the views of Highmark Inc., its
subsidiaries, or affiliates.
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: