Opslag
pip whl install python
- Hent link
- X
- Andre apps
Go to C:\Python34\Scripts (this is the folder where pip.exe is locateD) run below in cmd: python - m pip install requests above will install lib: requests pip install some - package . whl Note: if pip.exe is not recognized, you may find it in the "Scripts" directory from where python has been installed. If pip is not installed, this page can help: How do I install pip on Windows? Note: for clarification If you copy the *.whl file to your local drive (ex. C:\some-dir\some-file.whl ) use the following command line parameters -- pip install C :/ some - dir / some - file . whl
Xpath cheat sheet
- Hent link
- X
- Andre apps
This is Cheatsheets — a collection of cheatsheets I've written. Xpath All the tools your team needs in one place. Slack: Where work happens. ads via Carbon Descendant selectors h1 //h1 ? div p //div//p ? ul > li //ul/li ? ul > li > a //ul/li/a div > * //div/* :root / ? :root > body /body Attribute selectors #id //[@id="id"] ? .class //[@class="class"] … kinda input[type="submit"] //input[@type="submit"] a#abc[for="xyz"] //a[@id="abc"][@for="xyz"] ? a[rel] //a[@rel] a[href^='/'] //a[starts-with(@href, '/')] ? a[href$='pdf'] //a[ends-with(@href, '.pdf')] a[href~='://'] //a[contains(@href, '://')] … kinda Order selectors ul > li:first-child //ul/li[1] ? ul > li:nth-child(2) //ul/li[2] ul > li:last-child //ul/li[last()] li#id:first-child //li[@id="id"][1] ...