Connecting Tech Pros Worldwide Forums | Help | Site Map

Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]

Newbie
 
Join Date: May 2007
Posts: 4
#1: May 29 '07
On the book I have it says the font in the sctipt mode should be color coded as in green for strings orange for special words and blue for statements. But my font is all in one color when I write. I`m new to python and I`m really used with the color coding from java which I find very useful when programing.

Can anyone help please?

ilikepython's Avatar
Expert
 
Join Date: Feb 2007
Posts: 839
#2: May 30 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by Lord Alydar

On the book I have it says the font in the sctipt mode should be color coded as in green for strings orange for special words and blue for statements. But my font is all in one color when I write. I`m new to python and I`m really used with the color coding from java which I find very useful when programing.

Can anyone help please?

I asume you're using an IDE? Which one is it?

P.S. Welcome to The Scripts!
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#3: May 30 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by Lord Alydar

On the book I have it says the font in the sctipt mode should be color coded as in green for strings orange for special words and blue for statements. But my font is all in one color when I write. I`m new to python and I`m really used with the color coding from java which I find very useful when programing.

Can anyone help please?

IDLE (Python GUI) is one of the programs under Start->Programs->Python 2.x. It has a fairly workable editor that does good colorizing for Python and will run the script that is being edited from the keyboard (F5, by default).
Notepad++ is another editor. It has colorizing for many programming languages and can be configured to run python scripts.
There are others. Several threads in our Articles Section enumerate IDE options, especially this one.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#4: May 30 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by bartonc

IDLE (Python GUI) is one of the programs under Start->Programs->Python 2.x. It has a fairly workable editor that does good colorizing for Python and will run the script that is being edited from the keyboard (F5, by default).
Notepad++ is another editor. It has colorizing for many programming languages and can be configured to run python scripts.
There are others. Several threads in our Articles Section enumerate IDE options, especially this one.

You can get Notepad++ here.
Newbie
 
Join Date: May 2007
Posts: 4
#5: May 31 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Yeah I`m using IDLE(Python GUI)

It used to have colors... but now they disapeared I`m gonna try out the notepad ++
Newbie
 
Join Date: May 2007
Posts: 4
#6: May 31 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


ok, I got notepad++ and it looks really nice... But am I able to run the files straight from here like I could on IDLE (Python GUI)?
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#7: May 31 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by Lord Alydar

ok, I got notepad++ and it looks really nice... But am I able to run the files straight from here like I could on IDLE (Python GUI)?

To run the file that you are editing in Notepad++, go to Edit menu, then Copy Current full file path to Clipboard. Then go to Plugins menu, NppExec, Execute... Type: python " (opening quotes). Then Paste (from Edit menu or ctrl-v) the file name. Then type " (the closing quote). Then hit return. NppExec will remember the command so you only have to do this when you change files that you are working on.
Newbie
 
Join Date: May 2007
Posts: 4
#8: May 31 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


ok. one last thing, I read in a lot of places that Boa COnstructor is actually really good...and I tried to instal thaht and all the wxPython stuff...

But when I try to run Boa it keeps on giving me this error:

'Module' object has no atribute 'NotebookSizer'

I`m pretty sure I followed all the instructions from this site perfectly.

http://boa-constructor.sourceforge.n...tallation.html
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#9: May 31 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by bartonc

To run the file that you are editing in Notepad++, go to Edit menu, then Copy Current full file path to Clipboard. Then go to Plugins menu, NppExec, Execute... Type: python " (opening quotes). Then Paste (from Edit menu or ctrl-v) the file name. Then type " (the closing quote). Then hit return. NppExec will remember the command so you only have to do this when you change files that you are working on.

OR: You can just double click the icon for the file that you are working on after you save it.

Both these methods require that you have set the Environment Variable called PATH to include something like ";C:\Python24" (depending on your system).
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#10: Jun 1 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by Lord Alydar

ok. one last thing, I read in a lot of places that Boa COnstructor is actually really good...and I tried to instal thaht and all the wxPython stuff...

But when I try to run Boa it keeps on giving me this error:

'Module' object has no atribute 'NotebookSizer'

I`m pretty sure I followed all the instructions from this site perfectly.

http://boa-constructor.sourceforge.n...tallation.html

Yes! Boa Constuctor is fantastic! The installation instructions you found are very old. It's possible that a new release version has hit the site, but I think that I would have gotten notified. The only way that I am sure of getting the latest release (for use with wxPython 2.8.x) is from the CVS on SourceForge.
Quote:
Here are the instructions for getting Boa from CVS.

I use TortoiseCVS (www.tortoisecvs.org), which nicely integrates with
the Windows explorer (filemanager)

- Go to the folder where you want Boa to be, right click without
selecting any file/folder.
- Select CVS Checkout
- Protocol = Password server
- Server = boa-constructor.cvs.sourceforge.net
- Repository Folder = /cvsroot/boa-constructor
- User Name = anonymous
- Module = boa

See you
Werner
Newbie
 
Join Date: Jan 2007
Posts: 3
#11: Jul 26 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


ya notepad++ look good

try softpedia for download


--

any AJAX IDE editor -- by the way ??
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,403
#12: Jul 26 '07

re: Python IDEs Notepad++ Run, Boa Constructor install [Help with font colorizing editor]


Quote:

Originally Posted by 3xxx

ya notepad++ look good

try softpedia for download


--

any AJAX IDE editor -- by the way ??

You may want to ask in the Javascript/Ajax Forum.
Reply