What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-25 04:47:16
gitignore for django project
# Django # *.log *.pot *.pyc __pycache__ db.sqlite3 media # Backup files # *.bak # If you are using PyCharm # .idea/**/workspace.xml .idea/**/tasks.xml .idea/dictionaries .idea/**/dataSources/ .idea/**/dataSources.ids .idea/**/dataSources.xml .... Add solution -
Other 2021-10-23 01:46:09
open jupyter notebook d drive
jupyter notebook --notebook-dir=D:/ Add solution -
C 2021-10-21 20:22:11
use of matplotlib inline
If you want to add plots to your Jupyter notebook, then %matplotlib inline is a standard solution. And there are other magic commands will use matplotlib interactively within Jupyter. %matplotlib: any plt plot command will now cause a figure window to op... Add solution -
Other 2021-10-20 11:56:07
what is jupyter
# to install jupyter notebook or jupyter lab, you can use pip or conda # jupyter notebook pip pip install notebook # jupyter notebook conda conda install -c conda-forge notebook # jupyter lab pip pip install jupyterlab # jupyter lab conda conda install -c... Add solution -
Other 2021-10-19 16:24:11
.gitignore for django
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *... Add solution -
Python 2021-10-13 04:41:08
connect to mysql database jupyter
# In the python cmd, install packages: pip3 install pymysql pip3 install ipython-sql pip3 install mysqlclient # in the jupyter notebook: import pymysql import pandas as pd conn=pymysql.connect(host='localhost',port=int(3306),user='root',passwd='YOUR_PAS... Add solution -
Other 2021-10-06 03:22:03
github python gitignore
#official python gitignore # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/p... Add solution