Greetings -- as a long time user of both Python and Ruby interpreters,
I got used to the latter's syntax-coloring gem, wirble, which
colorizes Ruby syntax on the fly. Is there anything similar for
Python? 7 2409
On Nov 1, 2007, at 1:45 PM, braver wrote:
Greetings -- as a long time user of both Python and Ruby interpreters,
I got used to the latter's syntax-coloring gem, wirble, which
colorizes Ruby syntax on the fly. Is there anything similar for
Python?
I believe IPython can do this: http://ipython.scipy.org/moin/
---
Lee Capps
Technology Specialist
CTE Resource Center lc****@cteresource.org
On 2007-11-01, Lee Capps <lc****@cteresource.orgwrote:
>
On Nov 1, 2007, at 1:45 PM, braver wrote:
>Greetings -- as a long time user of both Python and Ruby interpreters, I got used to the latter's syntax-coloring gem, wirble, which colorizes Ruby syntax on the fly. Is there anything similar for Python?
I believe IPython can do this:
http://ipython.scipy.org/moin/
IPython's syntax coloring doesn't work with Windows 2000 and up,
since (last I checked) it relies on a readline.py file, which
relies on ANSI.SYS, which is not supported by the Windows
console.
--
Neil Cerutti
On Nov 1, 2007 3:01 PM, Neil Cerutti <ho*****@yahoo.comwrote:
On 2007-11-01, Lee Capps <lc****@cteresource.orgwrote:
On Nov 1, 2007, at 1:45 PM, braver wrote:
Greetings -- as a long time user of both Python and Ruby
interpreters, I got used to the latter's syntax-coloring gem,
wirble, which colorizes Ruby syntax on the fly. Is there
anything similar for Python?
I believe IPython can do this: http://ipython.scipy.org/moin/
IPython's syntax coloring doesn't work with Windows 2000 and up,
since (last I checked) it relies on a readline.py file, which
relies on ANSI.SYS, which is not supported by the Windows
console.
If you scroll down about half a page in the above link you'll find a
link to a readline implementation for Windows.
--
Neil Cerutti
-- http://mail.python.org/mailman/listinfo/python-list
On 2007-11-01, Chris Mellon <ar*****@gmail.comwrote:
On Nov 1, 2007 3:01 PM, Neil Cerutti <ho*****@yahoo.comwrote:
>On 2007-11-01, Lee Capps <lc****@cteresource.orgwrote:
>
On Nov 1, 2007, at 1:45 PM, braver wrote: Greetings -- as a long time user of both Python and Ruby interpreters, I got used to the latter's syntax-coloring gem, wirble, which colorizes Ruby syntax on the fly. Is there anything similar for Python?
I believe IPython can do this:
http://ipython.scipy.org/moin/ IPython's syntax coloring doesn't work with Windows 2000 and up, since (last I checked) it relies on a readline.py file, which relies on ANSI.SYS, which is not supported by the Windows console.
If you scroll down about half a page in the above link you'll
find a link to a readline implementation for Windows.
That pyreadline.py appears to be an improvement on the Windows
support when I last looked (6 months or so ago). Thanks for the
heads up.
--
Neil Cerutti
Neil Cerutti wrote:
On 2007-11-01, Chris Mellon <ar*****@gmail.comwrote:
>On Nov 1, 2007 3:01 PM, Neil Cerutti <ho*****@yahoo.comwrote:
>>On 2007-11-01, Lee Capps <lc****@cteresource.orgwrote: On Nov 1, 2007, at 1:45 PM, braver wrote: Greetings -- as a long time user of both Python and Ruby interpreters, I got used to the latter's syntax-coloring gem, wirble, which colorizes Ruby syntax on the fly. Is there anything similar for Python? > I believe IPython can do this:
http://ipython.scipy.org/moin/ IPython's syntax coloring doesn't work with Windows 2000 and up, since (last I checked) it relies on a readline.py file, which relies on ANSI.SYS, which is not supported by the Windows console.
If you scroll down about half a page in the above link you'll find a link to a readline implementation for Windows.
That pyreadline.py appears to be an improvement on the Windows
support when I last looked (6 months or so ago). Thanks for the
heads up.
And it's worth looking at ipykit[1] which is a standalone
bundle of ipython py2exe-ed for Windows users.
TJG
[1] http://ipython.scipy.org/moin/IpyKit
On 2007-11-02, Tim Golden <ma**@timgolden.me.ukwrote:
Neil Cerutti wrote:
>On 2007-11-01, Chris Mellon <ar*****@gmail.comwrote:
>>On Nov 1, 2007 3:01 PM, Neil Cerutti <ho*****@yahoo.comwrote: On 2007-11-01, Lee Capps <lc****@cteresource.orgwrote: On Nov 1, 2007, at 1:45 PM, braver wrote: >Greetings -- as a long time user of both Python and Ruby >interpreters, I got used to the latter's syntax-coloring gem, >wirble, which colorizes Ruby syntax on the fly. Is there >anything similar for Python? >> I believe IPython can do this: > http://ipython.scipy.org/moin/ IPython's syntax coloring doesn't work with Windows 2000 and up, since (last I checked) it relies on a readline.py file, which relies on ANSI.SYS, which is not supported by the Windows console. If you scroll down about half a page in the above link you'll find a link to a readline implementation for Windows.
That pyreadline.py appears to be an improvement on the Windows support when I last looked (6 months or so ago). Thanks for the heads up.
And it's worth looking at ipykit[1] which is a standalone
bundle of ipython py2exe-ed for Windows users.
TJG
[1] http://ipython.scipy.org/moin/IpyKit
I installed the new version and the coloring works out of the box
on Windows 2000 with Gary's PyReadline 1.4.4.
--
Neil Cerutti
If you throw at someone's head, it's very dangerous, because in the head is
the brain. --Pudge Rodriguez
On Nov 1, 12:45 pm, braver <delivera...@gmail.comwrote:
Greetings -- as a long time user of both Python and Ruby interpreters,
I got used to the latter's syntax-coloring gem, wirble, which
colorizes Ruby syntax on the fly. Is there anything similar for
Python?
What's wrong with IDLE? There's a plug-in for Eclipse that does syntax
highlighting and more as well. So does ActiveState's ActivePython.
Even Notepad++ can do highlighting.
Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ruthless |
last post by:
hello.
I've got a simple question.
I've searched on google for PHP scripts coloring syntax e.g. asm, c, c++,
bash etc.
I've only found some CGI, apps, modules for Apache - but i can't use...
|
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn. But, Python does not a have very good
macro...
|
by: Xah Lee |
last post by:
in some online documentations, for examples:
http://perldoc.perl.org/perlref.html
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-17.html
http://www.haskell.org/hawiki/HaskellDemo
...
|
by: Markk |
last post by:
Hi.
I would like to ask If somebody don't have any small sample to coloring XML
syntax, e.g. in RichTextBox.
It can be in VB.NET or C#.
I watched on SharpDevelop, but I could not understand...
|
by: Dan |
last post by:
I'd like to show some XML text into an (editable) text box with some syntax
coloring for tags, attributes etc. I don't need a full-blown commercial
control, I'd just like to do some coloring on...
|
by: DIBS |
last post by:
I'm new to Python and I don't understand what I'm doing wrong.
I'm running windows xp.
In the command line window, I type:
Python Sudoku.py
and I get the response"
SyntaxError: invalid...
|
by: astromog |
last post by:
I have some significantly extended syntax for Python that I need to
create a reference implementation for. My new syntax includes new
keywords, statements and objects that are sort of like classes...
|
by: mosi |
last post by:
Python matrices are usually defined with numpy scipy array or similar.
e.g.
I would like to have easier way of defining matrices,
for example:
Any ideas how could this be done? The ";" sign...
|
by: sandromani |
last post by:
Hi all,
I am writing a webbased notepad and want to include syntax-coloring. The approach I have used is to set the font color and background color of the textarea to transparent, and place the...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Ricardo de Mila |
last post by:
Dear people, good afternoon...
I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control.
Than I need to discover what...
|
by: Johno34 |
last post by:
I have this click event on my form. It speaks to a Datasheet Subform
Private Sub Command260_Click()
Dim r As DAO.Recordset
Set r = Form_frmABCD.Form.RecordsetClone
r.MoveFirst
Do
If...
| |