Jarred Sumner
Jarred Sumner

Reputation: 1863

win32api vs Python

What are the Pro's and Con's of using win32api for I/O and other things instead of simply Python, if both have a specific function for it

I mean, using PyWin32 vs Win32Api

Upvotes: 1

Views: 515

Answers (2)

µBio
µBio

Reputation: 10758

con

  • (lack of) portability
  • harder/more error prone

pro

  • performance (potentially, it must be measured, as will depend on more than just the api calls)

Upvotes: 5

x0n
x0n

Reputation: 52450

The most obvious thing seems to be losing cross-platform compatibilty. Python runs on a number of different platforms, none of which has a win32 API except MS Windows.

Upvotes: 4

Related Questions