|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Jun 2011
Posts: 1
|
SDN Members don't see this ad. (About Ads)
About Python: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective. Exceptions with C++ Concepts in Python: Boost.Python is the de facto standard for writing C++ extension modules. Boost.Python comes bundled with the Boost C++ Libraries. To install it on an Ubuntu system, you might need to run the following commands. $ sudo apt-get install libboost-python-dev $ sudo apt-get install python-dev A Hello World Example [edit] The C++ source code (hellomodule.cpp) #include <iostream> using namespace std; void say_hello(const char* name) { cout << "Hello " << name << "!\n"; } #include <boost/python/module.hpp> #include <boost/python/def.hpp> using namespace boost: ython;BOOST_PYTHON_MODULE(hello) { def("say_hello", say_hello); } [edit] setup.py #!/usr/bin/env python from distutils.core import setup from distutils.extension import Extension setup(name="PackageName", ext_modules=[ Extension("hello", ["hellomodule.cpp"], libraries = ["boost_python"]) ]) For More Details Click:Cegonsoft Python Training |
|
|
|
|
|
#2 |
|
New Member
Join Date: Sep 2011
Posts: 1
|
Python
Python is a high level programming language for code readability. Python is often used as a scripting language with functional programming and object programming. Python is mostly suited for web applications and a number of Linux applications have been developed in python. Python has been used in several video games and google application engine. Python has been used in artificial intelligence and in information security industry. Python in Cegonsoft: Highly qualified and well equipped technical team to handle the Technology Exhilarating placements immediately after training. Enthusiastic and energetic Software development team to absorb trainees based on the performance. Pleasing infrastructure and comforting ambience. Classes at your convenience. Extracurricular events on Saturdays such as Seminars, Group Discussion,Personality Development class, Interview Tips etc. Cegonsoft |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -7. The time now is 01:35 AM.



ython;





Linear Mode

