git add --interactive?
1,010 karma · joined June 5, 2012
When starting a new project:
virtualenv venv -p *path-to-python-version-you-want*
./venv/bin/pip install *name-of-package*
When running that project: ./venv/bin/python *name-of-python-file*
Many people don't realize that the venv/bin/ contains all the relevant binaries with the right library path's out of the box.Unless – of course – you simply want something working quickly that does not need to be maintained or kept alive for a long time.
Oops, never mind: "It is not possible to create truly immutable Python objects. However, by passing frozen=True to the dataclass() decorator you can emulate immutability. In that case, dataclasses will add __setattr__() and __delattr__() methods to the class. These methods will raise a FrozenInstanceError when invoked."
> Worst Score for your Gender 2147483647
Sigh, computers.
Made me laugh.
https://webcache.googleusercontent.com/search?q=cache:ght2vB...