Skip to content

lisatwyw/sharepoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topics

Conda
  • To include Spyder IDE:
conda create -p c:\Users\py3.9 spyder=5.0.3 python=3.9
  • To search which VE has matplotlib:
conda search matplotlib
  • To shorten the long prefix:
conda config --set env_pormt '({name})'
  • To export environment with exact version of one OS:
conda list --explicit > pkgs.txt
Python Infrastructure

This page will be documenting ideas and examples related to storage, systems and network management in Python workflows. Please visit the Python Overview for an introduction on working in Python at BCCDC.

Reproducible workflows

Python users are encouraged to create a new virtual environment for each new Python project. Please review instructions that have been tested on PAWS on April 10, 2024.

Integrated development environments

  • Codespace (online via GitHub/ GitLab)
  • PyCharm
  • Visual Studio Code

Path specifications in Linux and Windows

  • To change into a shared network directory using the Path package (O drive):
from pathlib import Path
os.chdir(Path('//srvnetapp02.phsabc.ehcnet.ca/bccdc/Depts/Analytics/'))
  • To change into the personal directory (U drive):
os.chdir(Path('//PHSAhome2.phsabc.ehcnet.ca/jane.doe/'))
  • Using functions in package os:
os.path.join('C:\\Users\\jane.doe', filename)

Please review other examples.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published