Category Archives: Tutorial

PyCharm and pytest-bdd

Last week we published a blog post on the new pytest fixture support in PyCharm 2018.2. This feature was a big part of the 2018.2 work and proved to be a hit. But it wasn’t the only notable pytest work: … Continue reading

Posted in Tutorial | Tagged , | 5 Comments

PyCharm 2018.2 and pytest Fixtures

Python has long had a culture of testing and pytest has emerged as the clear favorite for testing frameworks. PyCharm has long had very good “visual testing” features, including good support for pytest. One place we were weak: pytest “fixtures”, … Continue reading

Posted in Tutorial | Tagged | 6 Comments

Python 3.7: Introducing Data Classes

Python 3.7 is set to be released this summer, let’s have a sneak peek at some of the new features! If you’d like to play along at home with PyCharm, make sure you get PyCharm 2018.1 (or later if you’re … Continue reading

Posted in Tutorial | Tagged , | 18 Comments

PyCharm Scientific Mode with Code Cells

You can use code cells to divide a Python script into chunks that you can individually execute, maintaining the state between them. This means you can re-run only the part of the script you’re developing right now, without having to … Continue reading

Posted in Tutorial | Tagged , | 3 Comments

Running Flask with an SSH Remote Python Interpreter

One common cause of bugs in many applications is that development and production environments differ. Although in most cases it’s not possible to provide an exact copy of the production environment for development, pursuing dev-prod parity is a worthwhile cause. … Continue reading

Posted in Tutorial | Tagged , , , , , | 6 Comments

Creating a Python Development Environment on Amazon EC2

In the last two blog posts of this series we discussed how to set up a local VM-based development environment for a cloud application, and then built a Flask-RESTful app within this environment. Today, we’ll take our app to AWS, … Continue reading

Posted in Tutorial | Tagged , , , , , , , , , | 7 Comments

Building an API using Flask-RESTful, and using the PyCharm HTTP Client

In the previous blog post in this series, I created a Vagrant VM and provisioned it with Ansible for Python development. In this part, we’ll have a look at a larger application which is configured in the same way. In … Continue reading

Posted in Tutorial | Tagged , , , , , , , | 2 Comments

PyCharm Edu 2017.3: Enhanced Stepik integration, course filtering, better UX, and more

PyCharm Edu versioning and release timetables are now aligned with our other JetBrains products, to help us focus on delivering more continuous value. So we’re switching to an aligned 2017.3 version from the previous version 4.0. Get PyCharm Edu 2017.3 … Continue reading

Posted in Education, Release Announcements, Tutorial | Tagged , | 2 Comments

Developing in a VM with Vagrant and Ansible

One of the things that could make developing cloud applications hard, would be differences between the dev environment and the production environment. This is why one of the factors of the twelve factor app is maintaining dev-prod parity. Today we’ll … Continue reading

Posted in Tutorial | Tagged , , , , , , | 8 Comments

Hacking Reddit with PyCharm

As some of you might know, until last week Reddit was open source. But we can still go to GitHub and check out a version of the source. So let’s go ahead and play around with it! Things you’ll need … Continue reading

Posted in Tutorial | Tagged , , , | 6 Comments