By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,996 Members | 1,498 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,996 IT Pros & Developers. It's quick & easy.

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

P: 4
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?
May 29 '07 #1
Share this Question
Share on Google+
11 Replies


ilikepython
Expert 100+
P: 844
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!
May 29 '07 #2

bartonc
Expert 5K+
P: 6,596
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.
May 30 '07 #3

bartonc
Expert 5K+
P: 6,596
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.
May 30 '07 #4

P: 4
Yeah I`m using IDLE(Python GUI)

It used to have colors... but now they disapeared I`m gonna try out the notepad ++
May 31 '07 #5

P: 4
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)?
May 31 '07 #6

bartonc
Expert 5K+
P: 6,596
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.
May 31 '07 #7

P: 4
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
May 31 '07 #8

bartonc
Expert 5K+
P: 6,596
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).
May 31 '07 #9

bartonc
Expert 5K+
P: 6,596
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.
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
May 31 '07 #10

P: 3
ya notepad++ look good

try softpedia for download


--

any AJAX IDE editor -- by the way ??
Jul 26 '07 #11

bartonc
Expert 5K+
P: 6,596
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.
Jul 26 '07 #12

Post your reply

Sign in to post your reply or Sign up for a free account.