Skip to content

All python code developed from learning and studies

Notifications You must be signed in to change notification settings

jbcodeforce/python-code

Repository files navigation

Read in book format

Samples in this repo

  • See up to date list here.

Python shell tricks

  • Placing cursor to previous line and enter will copy the line to a new line.

Dockerfile

For better environment isolation we should use docker instead of virtual environment, it will be more portable and shareable. Different dockerfiles are defined in the different folder for the different studies.

  • DockerfileForEnv -> jbcodeforce/python with pandas, numpy, flask. Server as base image

    docker build -f DockerfileForEnv -t jbcodeforce/python .

    Start the container with startPythonDocker.sh, it mounts current folder into /app within the container and open a bash session.

  • Dockerfile for Flask app: Flask/Dockerfile

About

All python code developed from learning and studies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published