C++ For python Developers

SolarWinds

Super Moderate
Nov 16, 2006
51,312
25
48
Hanoi
www.hanoiyeu.com
C++ For python Developers



1607334182566.png

In this tutorial You will Learn Usage of C++ for Python. How Powerful c++ is for Python developer. You need to already familiar with the Python Before starting This Course.This is complete course for Python Developer who want to Learn Python with c++ and Use with the help of this course you will be able to learn Why we want to learn call C++ from Python ,How to pass data between C++ and Python and What tools and methods we have required to create Python bindings.

C++Python
General Purpose LanguageGeneral Purpose Language
Multi ParadigmMulti Paradigm
Statically TypedDynamic Typed
CompiledInterceptor
Provides low level memory ManipulationAutomatic Memory management
code readabilitycode readability
Python Biding

we need to take advantage of Python and will use to manage large and stable libraries which is written in c++. As we know c++ have faster execution time as compare to other languages.

its not only Execute fast we dont have any Limitation of GIL so with the help of these Features we can speed up Python code or specific function by coveting

#include <iostream>

int main()

{

std::cout << “Hello Techprofreeworld 2020”;

return 0;

}

Python

if __name__ == “__main__”:

print(“Hello Techprofreeworld 2020”)

C++ and Python For

using namespace std;

namespace v = ranges::view;

for (auto i : v::ints(0, 5)) cout << i << endl;

for i in range(0, 5):

print(i)

C++ And Python palindrome

def is_palindrome(word):

#return word == word[::-1]

return word == “”.join(reversed(word))

1607334206362.png


Download