Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command input problem #53

Open
sisyphose opened this issue Nov 21, 2018 · 1 comment
Open

Command input problem #53

sisyphose opened this issue Nov 21, 2018 · 1 comment

Comments

@sisyphose
Copy link

I am a newcomer in programming.I want to ask where the command is entered. When I type in cmd and python, there is no dptrp1 command group.
for example:'dptrp1' is not an internal or external command, nor a runnable program or batch file.

Can U answer me ? thank U very much

@sfc-gh-rayu
Copy link

sfc-gh-rayu commented Oct 12, 2024

you can use a naive way to execute it

rayu@K2CD9WCYN4 dpt_rp1_py-0.1.16-py3.11.egg % pwd                         
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/dpt_rp1_py-0.1.16-py3.11.egg



rayu@K2CD9WCYN4 dpt_rp1_py-0.1.16-py3.11.egg % python3 -m dptrp1.cli.dptrp1
usage: dptrp1.py [-h] [--client-id CLIENT_ID] [--key KEY] [--addr ADDR] [--serial SERIAL] [--yes] [--quiet]
                 {copy-document,delete,delete-folder,delete-template,display-document,document-info,download,get-configuration,help,list-documents,list-folders,list-templates,move-document,new-folder,register,screenshot,set-configuration,sync,update-firmware,upload,upload-template,wifi,wifi-add,wifi-del,wifi-disable,wifi-enable,wifi-list,wifi-scan}
                 [command_args ...]
dptrp1.py: error: the following arguments are required: command, command_args

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants