3

I'm just wondering how can i create a .pyd file using python3.5 on win10.By the way I just want to know how to create it using command line like how you create .pyc file.

G.M
  • 31
  • 1
  • 1
    Possible duplicate of [How to create a .pyd file?](https://stackoverflow.com/questions/36921961/how-to-create-a-pyd-file) – Matt S May 07 '18 at 13:30

1 Answers1

-2

Something like

f = open("NAMEOFFILE.pyd", "r")
f.close()

should do the trick. this should work with other arbitrary file types. .txt, .json, .py, .whateverfileextensionyouwant

  • 3
    This doesn't actually answer the question. – C. Fennell Nov 05 '20 at 17:12
  • While `pyd` could technically be any type of content, you don't answer in any relevant way. Besides, the question was to **create** a pyd. Your answer only opens the file. So wrong in two ways. – MyICQ Aug 16 '23 at 11:16