How to Debug a Jupyter Notebook in PyCharm
Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed, working out exactly what caused the issue in your code can be tricky. I usually end up pulling my code apart in new cells in the same notebook, which creates a huge mess to clean up after discovering the problem. In this blog post, we’ll go over how you can instead use PyCharm’s debugger to track down problems with your code much more efficiently and cleanly. Our example problem We’ll work wi
Flask tutorial: Create a Flask application in PyCharm
In this Flask tutorial you will learn how to create a simple Flask application in a few minutes. By providing simple Flask web app example we will demonstrate how to get started with a Flask project and run your Flask app in PyCharm.
How to use Materialized Views in Django
Repeatedly running queries that span multiple tables can be burdensome on your database. In this blog post, we’re going to talk about materialized views, how and why they help us cut down on query costs, and how to integrate them into your Django application. Read on to learn more or check out this video overview. What is a materialized view Materialized views are usually used to increase the performance of query retrieval, as they are cached, precomputed datasets derived from queries. Generally, you can benefit most from using a materialized view if the query is run frequently and the d
PyCharm AWS Tutorial: An Interview with Mukul Mantosh
We’ve been talking about PyCharm and popular cloud platforms recently. The AWS Toolkit for IntelliJ is a plugin that works with PyCharm and our other IDEs. How do you use it? How do you use AWS? Mukul Mantosh produced a 10-part video+text+code tutorial Deploying Serverless APIs using AWS Toolkit for our PyCharm Guide. It’s a wonderful resource for those getting started, covering: setup, cloud databases, REST APIs, JWT, testing, and deployment. We interviewed him about AWS, the plugin, his tutorial, and the process of writing it. Let’s jump right in: What will people learn in this tutor