Re: edSharp, python
- From: Jamal Mazrui <empower@xxxxxxxxx>
- To: programmingblind@xxxxxxxxxxxxx
- Date: Mon, 25 Feb 2008 13:53:12 -0500 (EST)
Yes, PyBrace is a way of formatting Python code with braces rather than
indentation. Instead of a colon (:) at the end of a line that begins a
code block, use a left brace ({). Put a right brace on a line by itself
at the end of the block. The PyDent command (Alt+LeftBracket) will
convert PyBrace format to a style understood by the Python interpreter.
The PyBrace command (Alt+Shift+LeftBracket) converts PyDent to PyBrace
format. An example of both formats is in the fruit basket program at
http://www.EmpowermentZone.com/py_fruit.zip
Jamal
On
Sat, 23 Feb 2008, Jackie McBride wrote:
> Date: Sat, 23 Feb 2008 08:10:06 -0700
> From: Jackie McBride <abletec@xxxxxxxxx>
> Reply-To: programmingblind@xxxxxxxxxxxxx
> To: programmingblind@xxxxxxxxxxxxx
> Subject: edSharp, python
>
> Hi, list:
>
> I'm playing around a little w/python (why, I'm not sure) & I have a
> question. 1st, it seems there aren't many accessible python ides out
> there so I started using EdSharp (heads up, Jamal). 1 thing that
> concerns me is indentation (it's what I *hated* about cobol) & I noted
> the py brace function in EdSharp. Is that something where braces can
> be used, & then eliminated w/the pyDent function? 2nd, When I hit the
> view output key, all I get is the word done--none of the program's
> display shows. I suspect this may be do to the fact that I need to
> put a raw_input statement at the end of the program & then input a
> keypress to complete it? Is that suspicion right, & is there another
> way to view the program's output besides this?
>
> Are there any accessible python ides out there? & what's w/their
> inaccessibility, anyway?
>
> Maybe I should just spend my time learning c++, but this is at least
> somewhat interesting.
>
> --
> Jackie McBride
> Please join my fight against breast cancer
> <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
> & Check out my homepage at:
> www.abletec.serverheaven.net
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/programmingblind
>
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
- References:
- edSharp, python
- From: Jackie McBride
Other related posts:
- » edSharp, python
- » Re: edSharp, python
- » Re: edSharp, python
- » Re: edSharp, python
- edSharp, python
- From: Jackie McBride