I mostly use Python Flask when I need to develop a Web App or API.
Why? Because it is:
- Very Flexible
- Micro-Service Friendly
- Fast Development
These are one of the main reasons I choose Flask. But mostly I love to code with Flask. There are so many ways to run flask applications. I will write some of them here with code examples.
Continue reading How to run Python Flask Application?
So, I have a log file that is not single line log. It is kind of java stack trace. What I needed to do is read those log files and create some actions depending on them. I could use already built tools. But I thought why not just do this as simply as printing strings.
This is an example of the log format I wanted to play with. It seems too simple to pile up the Filebeats or elastic stack.
Continue reading Multi line Log Parser in Python
I enjoy coding and solving problems. But as I go forward, I find myself in a sea of unknowns. Thus I decided to learn as much as possible to be confident. So, I am learning even the simplest it seems.
Continue reading Some coding practice with Json, Itertools and Lambda in Python
The built-in function “eval()” of python is useful in many cases. But I am gonna talk about it’s negative one.
Let, you have a function that take arguments from user. If you do eval() on that input, it might create a havoc.
Continue reading Other side of Python eval() function
I have always loved the fact that The Python interpreter has a number of functions and types built into it. I am going to explore “eval()” in this article.
Continue reading What does eval() do in Python?