No, we will not use host matching! Instead, we'll use our own architecture. The title makes the content of this article obvious, so let's jump right into it. This method might be a little tedious for high-traffic websites, but if you have a handful of low-traffic websites and want to host them under a single … Continue reading Hosting Multiple Domains on Python Flask
If you are a Python developer on a Mac, here is a nasty surprise: The latest PyQt5 release (5.15) doesn't work on Big Sur (yet). When you start your Python application, all you see is a blank slate and your CPU running at 100%. The workaround is simple: Downgrade your PyQt5 to 5.13. pip install … Continue reading PyQt5 Problem on MacOS Big Sur SOLVED
Bir takipçimin sorusuna verdiğim cevabı paylaşıyorum. Veri analistliği şu anda taze ve güncel bir konu. Ancak, bu konuda kendi çabanızla gelebileceğiniz nokta, muhtemelen kurumsal ortamda değer görecek kadar ileri bir nokta olmayacaktır. Zira; Pandas, PySci, TensorFlow gibi kütüphanelerle Internet'ten bulduğunuz örnekleri yaparak bazı sonuçlar alsanız bile, gerçek hayattan çıkmış bir problemle karşılaştığınızda, bilhassa Hyperparameter'ları doğru … Continue reading Veri Analisti Olmak
Problem The build-in time / timer libraries in Python fluctuate. If you try to build a metronome at 60 BPM and imagine using the timer with a sleep time of 60 milliseconds, you will quickly find out that it will be triggered somewhere between 59.50 - 60.50 milliseconds. Such a fluctuating metronome is not usable … Continue reading Accurate metronome with Python
PythonABAPListStandard tableTupleN/ADictWork areaSetHashed tableFrozensetN/AN/A (*1)Field SymbolN/A (*1)ReferenceN/AInterfaceabc.ABCAbstract Class (*1) Any Python variable / function name can be used / passed as a reference. Therefore, although Python doesn't officially have a pointer concept, you can achieve pointer functionality with any variable.
Well, the title speaks for itself. In this article, I will demonstrate how to reuse a Python library in various projects over GitHub. I prefer this method over reusing local files due to benefits of GitHub. Library Project In this article, I will use a sample library called "Databus". The project structure should look like … Continue reading Reusing Python Packages over GitHub
This article guides you through the steps to deploy a fresh Python Flask app to Heroku. I am a Mac user and my IDE of choice is PyCharm, but you can adapt this tutorial to your own environment easily. Source code of this sample project is available on GitHub. Initial setup First, register a new … Continue reading Deploying a Python Flask App to Heroku