虚拟环境(Conda)设置# Creating the virtual environment with conda conda create --prefix=venv python # Activating environment conda activate ./venv source activate /Users/..../venv # Deactivating environment conda deactivate 三元运算符 val = first_val if ternary_condition else second_val 用lambdas切换语句 {