تکجوی

مرجعی برای آخرین مطالب طراحی سایت فول استک پایتون/جنگو

تکجوی

مرجعی برای آخرین مطالب طراحی سایت فول استک پایتون/جنگو

همیشا وقتی یه مطلبی رو نیاز دارم، اول مسلما سرچ می کنم. اما گاهی اوقات یه مطلب مفیدی برای طراحی سایت رو می خونم، یا جزئیاتش رو فراموش می کنم، یا آدرس سایتش رو گم می کنم و بعدا حتی شده دو، سه روز دنبالش می گردم تا مجددا پیداش کنم. این وبلاگ کمک می کنه دیگه دنبال مطالب تکراری نگردم و تو کارم صرفه جویی زیادی بشه. ممکنه این مطالب دسته بندی شده، به درد شما هم بخوره.

طبقه بندی موضوعی
بایگانی
  • ۰
  • ۰

https://www.tutorialspoint.com/python/python_database_access.htm


The Python standard for database interfaces is the Python DB-API. Most Python database interfaces adhere to this standard.

You can choose the right database for your application. Python Database API supports a wide range of database servers such as

  • محمد خسروی زاده
  • ۰
  • ۰

http://www.wikipython.com/other-concepts/anatomy-of-a-class/


It seems obvious, but note that you must define a class before you use it.


When you create a class, it establishes its own namespace and all its own local variables (except global definitions) exist only inside that namespace. They do not interact with other variables of the same name outside it. This leads us to one very important “feature” of classes that you need to know. If you use the same word to designate some specific value both inside and outside the class blueprint, the instance value will take precedence when you try to use that value.

  • محمد خسروی زاده
  • ۰
  • ۰

Mixing static, class and abstract methods

When building classes and inheritances, the time will come where you will have to mix all these methods decorators. So here's some tips about it.

Keep in mind that declaring a method as being abstract, doesn't freeze the prototype of that method. That means that it must be implemented, but it can be implemented with any argument list.

  • محمد خسروی زاده
  • ۰
  • ۰

redux-saga

https://redux-saga.js.org/


redux-saga is a library that aims to make application side effects (i.e. asynchronous things like data fetching and impure things like accessing the browser cache) easier to manage, more efficient to execute, simple to test, and better at handling failures.

  • محمد خسروی زاده
  • ۰
  • ۰

https://stackoverflow.com/questions/3224268/python-unicode-encode-error

I'm reading and parsing an Amazon XML file and while the XML file shows a ' , when I try to print it I get the following error:


'ascii' codec can't encode character u'\u2019' in position 16: ordinal not in range(128) 
  • محمد خسروی زاده
  • ۰
  • ۰

http://devarea.com/8-python-modules-for-files-handling/#.Wlu2RyehU8o

Python has input/output features which are very easy to use. Files are accessed through file objects and you can open, read, write and close files using a very simple and easy to use functions from the standard library. To manage files and deal with special file formats (xml, json..) python provides special packages that make the developer life ever easier.

  • محمد خسروی زاده
  • ۰
  • ۰
https://www.kaggle.com/

Kaggle is a platform for data science competitions.We help you solve difficult problems, recruit strong teams, and amplify the power of your data science talent.
  • محمد خسروی زاده
  • ۰
  • ۰
https://github.com/BBB/dropzone-redux-form-example

An example for integrating react dropzone and redux-form within a simple react app.
  • محمد خسروی زاده
  • ۰
  • ۰

Python Fire

https://pypi.python.org/pypi/fire

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

Python Fire is a simple way to create a CLI in Python.
Python Fire is a helpful tool for developing and debugging Python code.
Python Fire helps with exploring existing code or turning other people's code into a CLI.
Python Fire makes transitioning between Bash and Python easier.
Python Fire makes using a Python REPL easier by setting up the REPL with the modules and variables you'll need already imported and created.

  • محمد خسروی زاده
  • ۰
  • ۰

http://pyflux.readthedocs.io/en/latest/getting_started.html

PyFlux is an open source library in Python built specifically for working with time series. The study of time series is a subfield of statistics and econometrics, and the goals can be describing how time series behave (in terms of latent components or features of interest), and also predicting how

  • محمد خسروی زاده