This wikipedia page contains the list of statistical data types(simple and aggregate data types) along with permissible statistics. This page is very informative in understanding the characteristics of data being examined and for applying statistical methods.
If you are a developer and if you are like me who compiles/interprets the program using command prompt, If you are invoking command prompt and if you are navigating all the way to the location of the folder that contains the program, then this is a cool tip for you.
Instead of ”Type cmd in run” and navigate to whatever folder the program is located in.
Navigate directly to the folder where the program is located.(Note: Dont use cmd, just navigate directly).
Click Shift button on your keyboard and then Click the right mouse button holding the shift button. Context menu will open now. In the context menu, click
“Open command window here“.
Here is the screenshot.
I hope this saves some time for you.
Do you have a cool tip to share, then post it here in the comment box.
To download pyflakes, visit pypi.python.org/pypi/pyflakes and click the link under File and download the file. Uncompress it. Then type python setup.py install in the command prompt by navigating to the setup.py file in the pyflakes folder.
Now if you run your python program using PyFlakes, it will not run. You will get an error message like this:
pyflakes is not recognized as an internal or external program, operable program or batch file.
Follow the procedure written by Abhi in the hyperlink mentioned below.
If you are practicing the code from the book Practical Django Projects with the Django version 1.4, then you will get some errors due to version change. The second edition of the Practical Django Projects is updated for Django 1.1. The latest version of Django at the time of writing this post is Django 1.4.
You can find the complete source code for Django 1.4 at github: Chapter 3
These are the following errors for Chapter 3. You can find the solutions below the error description.
Error Description 1:
No FlatPage matches the given query.
Solution: If you get this error, then the error is not with the version. You have to include a forward slash at the end of the page that you requested. If you remember, in the regular expression you defined in the URLConf(urls.py), you used $ after /
In regular expressions, $ means end of the string. If you want to request a page in this case you put a / at the end of the page path.
For example: Instead of requesting
which will raise the error,
request the page in this manner.
Error Description 2:
No module named search
If you get this error, then the problem is with the code given in the book due to the version change.
The author tells us to add the following code in the urls.py file.
Change it to
Notice that we have removed the cms. In django-1.4 version, cms is not necessary.
Error Description 3:
In the chapter 3, when you create the SearchKeyword model and as per the instructions of the book, if you add ‘cms.search’ in the INSTALLED_APPS in the settings.py file in the cms directory and run python manage.py syncdb. You will get this error:
Error: No module names search
Instead of adding
in the INSTALLED_APPS in the settings.py file, simply add
Now run python manage.py syncdb.
Error Description 4:
Import Error at /admin/
No module named search.models
The author asks us to create admin.py file with some code. He din’t mention the location of the admin.py file. Here our goal is to display the SearchKeyword in the admin interface. So create the admin.py file in the search directory.