How to write a simple program in Python (opening files and parsing text)

    Question by:
    On

    Topics:

    Greetings:

    I recently was asked to become familar with Python.  I figure the best way to do that is to take a simple application in C/C++ and make it work in Python.  Hence, my questions are these:

    1)  What makes Python different from C/C++?
    2)  Will Python perform the same basic functions as C/C++ like opening files and string manipulations
    3)  Is there an editor available for download that will enable me to test a product or do I need to purchase one?

    Thanks

    Good Question?
    0
     

    ?

    The member who asked this question verified this comment provided the solution that solved their problem.

    Accepted Solution on 2007-11-02 at 01:05:37ID: 20198822

    O.K. People differ and use a different approach to solving things. "My editor" is the thing very close to the heart of the developer. Logical arguments do not work here as people have different expectations and feelings.

    Another editor that I like and that supports Python sources is (free) jEdit http://www.jedit.org/  It is written in Java, thus cross-platform. Because of that (written in Java, as also Eclipse is) it is a bit slower than editors written in compiled languages, but (in my opinion) its friendliness to the user and the features overweight the negatives. It supports more than 130 (programming) languages and there is a lot of plugins that can make your life easier. Some people say it is not so heavy-weight as Eclipse. Read the reviews of jEdit at http://www.jedit.org/index.php?page=reviews.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201511-LO-Qu-074

    Extend your technology team with the Experts Exchange community.

    — trusted by —

    Who answers my questions?Our community has technology experts around the world.

    Michael Munger

    29

    Articles

    731

    Solutions

    Expert in:

    • Consulting
    • IP Telephony
    • PHP
    • Apache Web Server
    • Internet Marketing

    aikimark

    20

    Articles

    2,618

    Solutions

    Expert in:

    • Visual Basic Classic
    • MS Access
    • MS Excel
    • Delphi
    • VB Script

    CEHJ

    16,822

    Solutions

    Expert in:

    • Java
    • Java EE
    • Editors IDEs
    • JSP
    • Programming Languages-Other

    Amitkumar Panchal

    460

    Solutions

    Expert in:

    • Java
    • Java EE
    • JSP
    • Oracle Database

    slobaray

    33

    Articles

    189

    Solutions

    Expert in:

    • Oracle Database
    • Databases-Other
    • Python

    pepr

    5

    Articles

    1,094

    Solutions

    Expert in:

    • Python
    • C++
    • Programming-Other
    • Programming Languages-Other
    • Scripting Languages

    Pasha Kravtsov

    2

    Articles

    38

    Solutions

    Dototot

    Raghu Mutalikdesai

    1

    Articles

    74

    Solutions

    RELATED TOPICS view all topics

    1. Scripting Languages
      (25,845)
    2. Programming-Other
      (51,631)
    3. Programming Languages-Other
      (19,578)
    4. Linux
      (64,255)
    5. Perl
      (25,884)
    6. MySQL Server
      (45,813)
    7. PHP
      (116,189)
    8. Shell Scripting
      (9,504)
    9. VB Script
      (35,499)
    10. Java
      (98,168)