You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Uche Ogbuji
uogbuji
Data architecture & distributed systems expert; tech pioneer (web, markup, Python, AI, Knowledge Graphs, web services…) Founder: @OoriData
My Python dev setup for Linux (Debian, Ubuntu, Mint & ChromeOS/Crostini)
Python dev environment on Linux
User local install as much as possible, leaving system-wide kit (e.g. python & python-pip .debs) alone. Tested on Debian, Ubuntu, Mint & ChromeOS/Crostini.
Environment
Set up the dev environment (this is the only system-wide part):
General caution: Chrome OS is a secure OS by design, but this has at least one key consequence. If you change your Google account password, you will still be required to enter the old password the next time you access each Chrome OS device. Devices are encrypted with that password, so the OS needs to decrypt using the old password then re-encrypt using the new one. If you forget your old password you will lose access to your Chrome OS device data. As always, make sure you keep backups up to date.
Fast User Switching
If you have multiple Chrome OS accounts (Say, work and play), you can quickly sitch between them without logging out:
MicroXPath is based on XPath 1, except for sequences, borrowed from XPath 2. MicroXPath adopts this approach. The results of all MicroXPath expressions are sequences.
Sequences
MicroXPath provides a syntax for creating sequences, borrowing from XPath 2.0/3.0. The following are the examples of expressions that construct sequences, taken from 3.4.1 of the XPath 3 spec. They have the same semantics as in MicroXPath.
(10, 1, 2, 3, 4) results in a sequence of five integers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters