0
This code does not give output
I recently came across a python code this is given below is doesn't not give any output and it is a python 2.5 command but I am using python 3.9.1 The code is : from ctypes import * msvcrt = cdll.msvcrt message_string = b"Hello world!\n" msvcrt.printf(b"Testing: %s", message_string) desired output : Testing: Hello world! THANK YOU
1 Resposta
+ 1
Python2 and Python3 are actually two different lenguages (the first is not even supported any more)
Chances are (I'm 100% sure) that the library has changed, so check out the newest documentation and update (or should I say translate) that code