Select Page

Running pycharm Community Edition python on a chronological schedule is a useful capability for every python guru, noob, and engineer.

When writing python in pycharm, you’re often creating python files. We built canopys to help anyone automatically run those python files on a schedule. Keeping your scripts in the pycharm virtual environment and editing within this product opens the door for immediate production/deployment of your solutions from your desktop computer.

It takes about 1 minute of signup, authentication (using auth0), building a new task, test automating the python, and your schedule is now in a nice gui calendar that we think looks a bit like google calendars. Opening the door to unlimited task orchestration across any operating system.

screenshot of canopys using pycharm community edition python scripts

Creating a new task in canopys is quick and easy. Click New Task.

a screenshot of canopys ‘new task’ screen

The code for running pycharm python automatically

The code for running the python in the pycharm virtual environment is two important parts. You can copy and paste the full code into your canopys task.

A screenshot of canopys task scheduler new task.

Full code;

setx PATH "%PATH%;C;Program FilesJetBrainsPycharmbin"&&C:UsersitylePycharmProjectspythonProjectvenvScriptspython.exe C:/Users/ityle/PycharmProjects/pythonProject/main2.py

Step 1

setx PATH “%PATH%;C;Program FilesJetBrainsPycharmbin”

In this step you’re setting the environment variables. If you want to go down the rabbit hole that is environment variables, please feel free and best of luck. We like this code because it’s a temporary environment variable change. It lasts during this run. It’s a temporary environment variable change.

Step 1.1

&&… What is the && and what does it mean!?

How can I put this lightly, without making you dig through a large document.

&&, means “also run the next command” after this finishes…

&& will help you run python jobs back to back!

Step 2

C:UsersitylePycharmProjectspythonProjectvenvScriptspython.exe C:/Users/ityle/PycharmProjects/pythonProject/main2.py

In this step, you’re using the python.exe in the python virtual install.

You can get step 2 whenever you run PYCHARM, it’s always the first line in the terminal.

The last line in step 2 runs the python script.

If you make changes in PYCHARM, Canopys Task Scheduler will be able to run these new changes without requiring further steps.

How run your pycharm python scripts using canopys.io

Here’s the set of steps required to running your python script on canopys.io.

  1. open canopys.
  2. login.
  3. click tasks in left side menu.
  4. click new task.
  5. paste full code into “Command”.
  6. click save.

If you found this tutorial helpful, let us know.

Thanks for using canopys! We think canopys is a good alternative to other task scheduling software for quick adhoc desktop script scheduling or large scale task orchestration & scheduling.

Alternatives to canopys are windows task scheduler, airflow, and other various applications.

We built canopys to be less complicated, less screens and less to study before deploying a solution.

We feel canopys removes the burden on engineers to manage script deployment in a complex work environment and enables both pro and new users to be more capable to deploy a solution to a problem. We love pycharm because it’s a free way to deploy an easy to repeat solution.

From a high level, what does pycharm offer your team?

What is pycharm ide and why is it important to your team?

Pycharm ide is a software on a computer that developers and analysts use to create solutions, applications, and products. The software is widely available and widely accepted as a place for developers to generate python solutions.

To keep it simple, pycharm is a great place to write python. There’s a play button, and that play button can be automatically pushed with canopys via simple code.

Why is pycharm important when automating SQL?

Using the virtual environment in PYCHARM allows you to contain your python installations inside a virtual directory and doesn’t impact your local machine as much as installing python local on your computer.

Installing python local on your computer might be a negative because in some cases you already have python on your computer and installing more python on your computer may cause a problem.

Why is pycharm’s virtual environment important?

Using a local python environment installed on your local computer can be a difficult situation for most, and even more challenging as a beginner.

A simple contained solution is beneficial, which is why an IDE like PYCHARM is helpful.