Zend Anwar

Full stack web developer

Category: Python

Python

How to check Django installed version?

Type the following command in Python shell >>> import django >>> django.get_version()

Read More

How can I get python help from cli

Just run bellow command in your terminal > python manage.py help

Read More

django.db.utils.OperationalError: no such table: auth_user

just run below command from root directory.>>>python manage.py migrate

Read More

scrapy version check with CLI mode

It’s very simple, just run below command.>>> scrapy version

Read More

how to open Jupyter notebook in chrome on windows

Just make chrome as a default browser and launch the jupyter . It will work

Read More

Expectation find out with pyhton

The expected value of a random variable X is given by: E ( X ) =∑xi pi E(X) = 1( 1/6 ) + 2( 1/6 ) + 3( 1/6 ) + 4( 1/6 ) + 5( 1/6 ) + 6( 1/6 ) = 3.5 In python >>> import numpy as np integer = [1, 2, […]

Read More

anaconda mysqldb install

Just run following command conda install -c anaconda mysql-python

Read More

How do I create a superuser account in Django

Just run following command $ python manage.py migrate $ python manage.py createsuperuser

Read More

django install with anaconda

Just open anaconda cmd & run following command conda install -c anaconda django

Read More

Libraries for data science in Python

Fundamental Libraries for Scientific Computing IPython Notebook NumPy pandas SciPy Math and Statistics SymPy Statsmodels Machine Learning Scikit-learn Shogun PyBrain PyLearn2 PyMC Plotting and Visualization Bokeh d3py ggplot matplotlib plotly prettyplotlib seaborn Data formatting and storage csvkit PyTables sqlite3

Read More