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

Python Scripting Language Question

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

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

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.

201504-LO-Qu-050

Experts Exchange members save,
on average, 2.5 hours per week.

- 2014 EE Annual Survey

EXPERT WHO ANSWERED

Petr Prikryl

Petr Prikryl has answered 1,066 questions on Experts Exchange and is an expert in Python, C++ and Misc Programming.

Contact Expert

People who viewed this question also found these questions helpful:

Related Articles

Related Videos

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