Tag Archives: CPython

Book: Introduction to Python: For Scientists and Engineers


Introduction to Python: For Scientists and Engineers

Python is an all-in-one solution for scientific needs. Its popularity can be judged from the fact that it is now world’s most preferred language for coding purposes. The book introduces basic python for the purpose of scientific computation. The book is useful for students, researchers and students who are looking for a open source software for numerical computation.

Video: What is new in KNIME 2.11 – Python Integration


New Python Integration in KNIME Analytics Platform 2.11, based on CPython rather than JPython.

This Pytrhon integration requires some Python modules: – PANDAS for data representation – Protobuf for the communication between CPython and KNIME – optionally Jedi for the auto-completion feature in the Python editor in the nodes configuration window

This video is part of the recording of the “What is new in KNIME 2.11” webinar held on Dec 11 2014 and available on Youtube at:http://youtu.be/9RkRHI32Dy8

For more infos about updates in KNIME 2.11 check http://tech.knime.org/whats-new-in-kn…

Part 5: Get started with Python: Debugging in PTVS


Part 5: Get started with Python: Debugging in PTVS

In Part 5, after having covered basic programming constructs in Python, let us look into a couple of new features of PTVS: Mixed Mode Debugging and Remote Debugging.

In most cases Python debuggers support only Python code and this was true even till PTVS 2.0. However, Python is often used in conjunction with C/C++ code which calls for the use of an integrated debugging experience. This also enables higher performance and the ability to call platform APIs. So let us see how to enable this debugging mode.

Step 1: First let us check for the dependencies:

  • You need to download Python Tools for Visual Studio 2.0 or above
  • You also need any Visual Studio version of 2012 or 2013.
  • Lastly not all versions of Python are supported – only CPython 2.7 and 3.3+ are supported

Step 2: Enable Native Code Debugging:

To use mixed mode debugging instead of pure Python, you need to right click your project and select your Project Properties. Once the project properties tab opens up, you need to click on “Debug” tab and click the check box “Enable native code debugging”.