elduvelle,
@elduvelle@neuromatch.social avatar

Question for #Python #Programmers:
Getting tired of my #Spyder version that relies on different versions of Python modules than the ones I need for coding…

What is your favourite #IDE for Python (and why?)?

cm_jc,
@cm_jc@sigmoid.social avatar

@elduvelle pycharm is the best for python, vscode is the best if you program in many languages.

elduvelle,
@elduvelle@neuromatch.social avatar

@cm_jc good to know, thanks! I’m also coding in #Matlab and apparently it’s now working with VS Code ?! https://blogs.mathworks.com/matlab/2023/04/26/do-you-use-visual-studio-code-matlab-is-now-there-too/

cm_jc,
@cm_jc@sigmoid.social avatar

@elduvelle oh yea, Matlab is cool but it's not a general purpose programing language, unless you work for a company that wants to pay for Matlab, you are much better of learning general purpose programing languages. Instead of Matlab you could use pytorch or tensorflow to do the same kind of matrix operations.

dozymoe,
@dozymoe@mastodon.social avatar

A combination of editor and build script running (watching for file changes) in another monitor.

I need the setup for when i am coding in the server.

@elduvelle

stOneskull,

@elduvelle

just to add to add to the suggestions..

there is Wing IDE which is similar to PyCharm. there are two free choices - a very basic 101 version and a more-featured Personal version.

and there is a lesser known one that you clone from github and run it in python, called Ninja-IDE. you can make and share plug-ins for it too.

elduvelle,
@elduvelle@neuromatch.social avatar

@stOneskull do you like them or have a preferred one? If yes which one?

stOneskull,

@elduvelle

Ninja-IDE doesn't have all the bells and whistles but it was cool. it had a zen-like quality. i haven't used it in a long time though. there was a period where qt4 wasn't working with it or something, and i found Wing IDE. i really like Wing. and i prefer it to PyCharm personally. it feels groovier or something. but i used Wing first and got used to it. i think if you got used to PyCharm, you'd probably prefer it to Wing. these days i just use VS Code

elduvelle,
@elduvelle@neuromatch.social avatar

@stOneskull I love your reasons :)

stOneskull,

@elduvelle

well, i wanted to mention two little ones that are cool on their own besides being an IDE..

there is geany - which is a great text editor on its own..

and cherrytree, which is an awesome little notetaking, text keeping, journal keeping thing..

two essential tools, that'll help you with many day-to-day tasks :)

spencer,

@elduvelle I usually go with Sublime Text and a Powershell-Window. IDEs just seem a bit alien to me with Python. VS-Code would be another option, which I prefer with rust but occasionally use with Python as well.

mw,

@elduvelle it was Atom, but of course #microsoft killed that.

alaudet,

@elduvelle Try a few different ones. I personally like #vscode for the extensions and git integration. I like exporting my settings from one system and instantly have my vscode configured the exact same way in seconds.

I have not tried #pycharm but am sure it has pretty much everything as well.

setebos,
@setebos@mastodon.online avatar

@alaudet @elduvelle yep, VSCode and PyCharm are 2 top picks for #python

elduvelle,
@elduvelle@neuromatch.social avatar

@setebos @alaudet which one do you prefer and why?

setebos,
@setebos@mastodon.online avatar

@elduvelle @alaudet i prefer PyCharm. because it was released way earlier than VSCode so there was no VSCode option when I chose one.

But I see a lot of devs who prefer VSCode.

elduvelle,
@elduvelle@neuromatch.social avatar

@setebos @alaudet thanks for the input!

pyyp,

@elduvelle I use vs code. It has a good python plug-in as well as plug-ins for other languages I use. It also supports jupyter notebooks.

bmaxv,
@bmaxv@noc.social avatar

@elduvelle geany. It's a slightly different notepad++ and I like the small footprint, the flexibility of plugins you can write in python.

It's probably not as "fully powered" as others but I wouldn't know what to do with that anyway.

nakeee,
@nakeee@mastodon.world avatar

@elduvelle emacs, because it does it all, I have the muscle memory abd works in graphics, text consoles and all OSes

orsinium,
@orsinium@fosstodon.org avatar

@elduvelle

People use mostly pycharm and vscode for #Python. Pycharm is more popular but I personally prefer vscode. Try both and make your own choice.

Some people use vim or emacs for everything but entry level here is high, and I never bothered.

I think that's it, everything else is very niche. Some people here also mentioned Jupyter but I wouldn't call it an IDE.

vineettiruvadi,

@elduvelle (sadly) vscode is incredible.

There's an opensourced version of it that lags the MS official one just a bit when it comes to features - worth it.

Vitor,

@elduvelle jupyter notebooks, notepad and terminal is all I use. Never felt the need of anything else

elduvelle,
@elduvelle@neuromatch.social avatar

@Vitor everyone seems to be using Jupyter, I should probably try it out…. But don’t you have to be online?

Vitor,

@elduvelle you don't need to be in the internet, no

elduvelle,
@elduvelle@neuromatch.social avatar

@Vitor thanks! Is it the same as Jupyter Lab? I can apparently install that with Anaconda
Edit: I can see that labs is a slightly more “advanced” version of notebooks… I’ll give it a try

Vitor,

@elduvelle I hate anaconda actually :melting_face:.
It's very easy to create a python virtual environment where you can have jupyter and python coherent. Jupyter lab is a more develop interface than the one I use (jupyter Notebook) which has more interactive tools, I don't know if well but I heard of good

elduvelle,
@elduvelle@neuromatch.social avatar

@Vitor I used to use Python x,y but that’s because the last time I did Python was about 10 years ago… there was no “virtual environments” back then (afaik).
How do you do virtual environments without anaconda? virtualenv?
I keep having problems with compatibility between versions of different modules… I just want to do a simple thing… it almost makes me regret Matlab 🫢

Vitor, (edited )

@elduvelle
Try this:

  1. Install Python 3.10: sudo apt install python3.10 (assuming Ubuntu)
    2.. Check your Python version with python3.10 --version to confirm successful installation.
  2. Make a new directory for your project with mkdir myproject.
  3. Go to the new directory cd myproject.
  4. Create a new virtual environment with Python 3.10: python3.10 -m venv venv.
  5. Activate the virtual environment with source venv/bin/activate.

If you have it activated then whatever you install would be install in that environment.
I recommend you use python -m pip to install anything you want for python.
Let me know if this is not clear

elduvelle,
@elduvelle@neuromatch.social avatar

@Vitor that’s very clear - thank you! I’ll try it out

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines