photoshop-python-api
photoshop-python-api copied to clipboard
module 'photoshop' has no attribute 'Application'
When I run the example code it prints out AttributeError: module 'photoshop' has no attribute 'Application'
Traceback (most recent call last):
File "c:\Users\lidor\Documents\אישי\CryptoC\עדכון מחירים\start.py", line 22, in <module>
hello_world()
File "c:\Users\lidor\Documents\אישי\CryptoC\עדכון מחירים\start.py", line 5, in hello_world
app = ps.Application()
^^^^^^^^^^^^^^
AttributeError: module 'photoshop' has no attribute 'Application'

- OS: Windows 10
- Photoshop Version: Photoshop-2023
- Python Version: python-3.11.2
Line 1 should be "import photoshop.api as ps"
You are missing the ".api" after photoshop