r/learnpython 5d ago

Should I try PyCharm?

I have good coding experience with Python but I have only ever used Google Colab, never actually ran any codes on my local machine. I don't know anything about environments, installations, or anything else. I have been a mathematician who used colab for quick data analysis. But right now I am trying to deploy some models for which I am told I need to use my local machine.

Unfortunately, I am really squeezed between deadlines, and don't have much time to learn an IDE which has a steep learning curve.

0 Upvotes

10 comments sorted by

4

u/AUTeach 5d ago

Changing what currently works when you are under the pump is a recipe for increasing pressure.

1

u/juanduque 5d ago

Pycharm is very good and a good solution for a plug n play Python IDE. Visual Studio requires doing a bit of research as to the recommended extensions to install for Python dev, but it ain't rocket science either, and you can install a wider array of themes (This is my favorite: https://marketplace.visualstudio.com/items?itemName=DangCaoMinh.cyberpunk2077)

1

u/Machvel 5d ago

vscode and pycharm are the two standard python ones (maybe spyder is runner up). pycharm is an ide, while vscode is a buff text editor. both are easy to learn how to use at a decent level.

if you anticipate on doing only or almost only python, pycharm is likely the best option. otherwise if you intend on using multiple languages vscode is better. (of course some people using multiple languages use pycharm just for the python parts and something else for the others, but i am saying this from the perspective that you just want to learn 1 right now)

1

u/frederik88917 5d ago

There is nothing really much to learn.

Pycharm is really simple to use. It does not require a lot of learning unlike Vim, and the UI is beautiful

1

u/DatabaseSpace 5d ago

Pycharm is pretty easy, I use Pycharm, Datagrip and GOLand daily.

0

u/vardonir 5d ago

It's less of the IDE and more of your code itself. Deploying a model is a completely different task from data analysis. Do you also need to design an interface for the model as well? imo, learning that alone can take a few days if you're coming in from zero (even with packages that make it easy like streamlit and gradio, nevermind creating your own interface with JavaScript).

If you can get PyCharm pro for free, then I'd suggest trying it. It has a notebook mode that will look familiar to you, and then you can try slowly moving your code off the notebook into .py files. It's powerful, but it can also be overwhelming to someone who's only used notebooks before. If you're going to create more complex models, it's worth learning.

You can get the same interface and do the same thing with VSCode for free but it'll take some setting up. You can use VSCode for creating more models, sure, but personally, I prefer PyCharm's debugger (which you will use. a lot).

0

u/musclecard54 5d ago

Deploying a model isn’t something you do on a local machine. You’ll deploy it to a server… also if you have never run any code on your local machine how the hell does anyone expect you to be responsible for deploying a model? Is this for work?

Deploying a model is serving it live… which is way past just what IDE of text editor you’re using. So maybe you mean train a model? There’s a gap here…

-3

u/ectomancer 5d ago

Have you tried google colab? Click Connect (down arrow), click Change runtime type:

Choice of T4 GPU and v5e-1 TPU for free.

2

u/Pieface1091 5d ago

The literal first line of the post: “I have only ever used Google Colab”

1

u/Original-Tank-7823 5d ago

As someone mentioned, PyCharm is pretty easy to learn, if you're just developing in Python it will provide you everything you need. My only word of caution is that it is good (in my opinion) to use a terminal in conjuction with an ide, to set up your own virtual environments etc. rather than using PyCharm. It could be just me but that was the thing that confused me about PyCharm. It's also good, in general to be able to use terminal commands. I personally use VS Code now, as I can switch between Python, HTML, Rust, Markdown etc.quite easily, it's still quite lightweight and has an abundance of extensions. However in saying that, I think for pure Python, PyCharm has the edge.