Hi pywikibot experts
I am using the following command string (Python 3.12, Windows 11):
python pwb.py upload <full source file path on local drive> -ignorewarn -noverify -prefix:WA00 -descfile:full description file path on local drive>
upload.py asks me to confirm the target file name. I would prefer a completely silent upload without the need for confirmation.
Is there a "-silent" flag that I can use?
Also, I noticed I can only execute commands like "python pwb.py ....." if I am in the folder C:\Users<myusername>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages
This folder is in my "path" (see below).
How can I make pwb.py accessible from other folders?
Thanks
James Trevelyan
Path= C:\Program Files (x86)\Common Files\Oracle\Java\javapath; C:\Program Files (x86)\Common Files\Intel\SharedLibraries\redist\intel64\compiler; C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\WINDOWS\System32\WindowsPowerShell\v1.0; C:\WINDOWS\System32\OpenSSH; C:\Program Files\dotnet; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR; C:\Users<myusername>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages; C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; C:\Program Files\Intel\Intel(R) Management Engine Components\DAL; C:\Users<myusername>\AppData\Local\Microsoft\WindowsApps;
M: +61 402 481 167 (WhatsApp) E: James.Trevelyan@uwa.edu.au
33 Brockman Ave, Dalkeith WA 6009 0402 48 1167