Skip to content

How to run WPC Python driver example code in console

chunglee_people edited this page Sep 6, 2022 · 5 revisions

Three steps to run WPC Python driver example codes in console environment.

  1. Open miniconda and enter myenv310 environment.
  2. Download example codes and change directory which you want to run
  3. Run example code

1. Open miniconda and enter myenv310 environment

2. Download example codes and change directory which you want to run

  • For example, I would like to run example_find_all_devices.py.
  • Then, i change directory to specific folder path.

Statement:

 $ cd <path_to_your_folder> 

For example:

cd D:\Chunglee_WPC\WPC_Python_driver_release\Examples\Console\General\

3. Run example code

Statement:

 $ python <file.py> 

For example:

python example_find_all_devices.py

  • Then, you will see the results.