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

Python Question


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?


Default Text

Verified Answer?

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

by:Posted 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  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

This content is available to Experts Exchange members

See the answer now
with your Free 30 Day Trial

Get unlimited access to solutions & experts

  • 4,169,477 solved questions
  • 3,805 articles & videos
  • 15,413 tech experts

Get Access Now

Need a customized answer?
Ask your question for one-on-one assistance. We will email you when an expert has commented on your question.

We will never share this with anyone. Privacy Policy Terms of Use

Select topics

You may select up to five topics.


Related Articles

Related Questions

Experts Exchange powers the growth and success
of technology professionals worldwide.

  • Solve

    Experts Exchange is the tech professional’s trusted, on-demand resource for solving difficult problems, making informed decisions, and delivering excellent solutions.

  • Learn

    With unparalleled access to technical experts, verified real-world solutions, and diverse educational content, Experts Exchange enables personalized development of technology skills.

  • Network

    Experts Exchange gives you the professional exposure and valued relationships key to building the career you want.

Join the Network Today

See Plans and Pricing