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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lord Alydar
    New Member
    • May 2007
    • 4

    #1

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

    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
    Recognized Expert Contributor
    • Feb 2007
    • 844

    #2
    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!

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      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.

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        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.

        Comment

        • Lord Alydar
          New Member
          • May 2007
          • 4

          #5
          Yeah I`m using IDLE(Python GUI)

          It used to have colors... but now they disapeared I`m gonna try out the notepad ++

          Comment

          • Lord Alydar
            New Member
            • May 2007
            • 4

            #6
            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)?

            Comment

            • bartonc
              Recognized Expert Expert
              • Sep 2006
              • 6478

              #7
              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.

              Comment

              • Lord Alydar
                New Member
                • May 2007
                • 4

                #8
                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.

                Comment

                • bartonc
                  Recognized Expert Expert
                  • Sep 2006
                  • 6478

                  #9
                  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:\Python 24" (depending on your system).

                  Comment

                  • bartonc
                    Recognized Expert Expert
                    • Sep 2006
                    • 6478

                    #10
                    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.
                    Here are the instructions for getting Boa from CVS.

                    I use TortoiseCVS (www.tortoisecv s.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.ne t
                    - Repository Folder = /cvsroot/boa-constructor
                    - User Name = anonymous
                    - Module = boa

                    See you
                    Werner

                    Comment

                    • 3xxx
                      New Member
                      • Jan 2007
                      • 3

                      #11
                      ya notepad++ look good

                      try softpedia for download


                      --

                      any AJAX IDE editor -- by the way ??

                      Comment

                      • bartonc
                        Recognized Expert Expert
                        • Sep 2006
                        • 6478

                        #12
                        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.

                        Comment

                        Working...