Use Python Node to Call .pyc Python Script

Updated May 6, 2026

Reported In

Software

  • LabVIEW

Programming Language

  • Python

Issue Details

I can use Python Node to call Python script with .py file extension. I want to convert the Python script from .py to .pyc file extension. Can Python Node call Python script with .pyc file extension?

Solution

Yes, Python Node can call a Python script with a .pyc file extension. The calling method of a Python script with a .pyc file extension is the same as how to call a Python script with .py file extension, as shown in the image below:
python-pyc

Additional Information