Monthly Archives: June 2015
most of hte time I forget this thing and consumes my time.
if I have a list:
a = [‘435 456 123 334 769’]
will give output same as – > [‘435 456 123 334 769’]
but if i run print a it will return Index Out of range. Obvious thing….
So what I do to solve this
for numbers in a.split():
Which gives me exact thing I need. Actually split() function splits all the elements of list in the given index.
Basically if you are on ubuntu or Debian you need to make www-data owner for database and Django directory.
http://fredericiana.com/2014/11/29/sqlite-error-open-database-file/ you can also use -R option.
One thing I am sure about now is there are toys around me whose I need to learn to play.. ❤
REST Python API
WSGI-> well what I know is it is medium between Webserver and your Application.
Application <WSGI> Python-application