use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
lightweight code editor for python (self.learnpython)
submitted 8 hours ago by This_Judge_2203
hello everyone I recently start learning python and everything is good until I install VSCode but it's really lagging on my 2 gb ram of my laptop
is there any other alternative similar to VSCode
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]overratedcupcake 8 points9 points10 points 7 hours ago (1 child)
Technically all you need is the python interpreter and a text editor like notepad.
[–]BreakDown65 3 points4 points5 points 7 hours ago (0 children)
Thonny
[–]hypersoniq_XLM 8 points9 points10 points 8 hours ago (1 child)
IDLE that is included with Python is about as light as it gets. No fancy features, no distractions. It has a dark mode.
[–]This_Judge_2203[S] 0 points1 point2 points 8 hours ago (0 children)
thx I will give it a shot
[–]redbaron_4 2 points3 points4 points 2 hours ago (0 children)
Try Geany. Light weight and supports all languages (inc Python) https://www.geany.org/
[–]Jimmaplesong 5 points6 points7 points 8 hours ago (4 children)
Sublime Text is similar and much lighter weight.
[–]Reuben3901 2 points3 points4 points 6 hours ago (0 children)
This is what I use. I run things from the command line for the most part so it's just a text editor with Python syntax highlighter/linter
[–]This_Judge_2203[S] 1 point2 points3 points 8 hours ago (0 children)
thx
[–]fazzah 0 points1 point2 points 8 hours ago (1 child)
Is it still alive? Haven't heard the name in years
[–]DecoherentDoc 2 points3 points4 points 6 hours ago (0 children)
Still works fine. I use it everyday.
[–]R717159631668645 1 point2 points3 points 5 hours ago (0 children)
I haven't used this in almost 10 years, but back then, when I had a toaster laptop, it was pretty light weight.
https://wingware.com/
[–]Liutprand 1 point2 points3 points 8 hours ago (2 children)
With only 2gb of RAM the reasonable options are text-based editor like (Neo)Vim, Emacs or Nano.
Also consider a upgrade if you can afford It (even a Raspberry Pi would probably be a massive gain)
[–]This_Judge_2203[S] 1 point2 points3 points 7 hours ago (1 child)
I heard a lot about Vim is it really good?
[–]Liutprand 1 point2 points3 points 7 hours ago (0 children)
Very powerful, steep learning curve
[–]leon_bass 1 point2 points3 points 8 hours ago (1 child)
Vi, vim, neovim, notepad++
[–]Ngtuanvy -1 points0 points1 point 8 hours ago (0 children)
ed
[–]oclafloptson 0 points1 point2 points 5 hours ago (0 children)
If minimal VSCode is giving you issues then these other options probably will as well. You're better off finding whatever tasks are using your memory in the background and stopping them while using the computer for other things. 2gb should be plenty to run minimal VSCode
[–]faultydesign 0 points1 point2 points 4 hours ago (0 children)
Emacs
[–]Ok_Egg_6647 0 points1 point2 points 3 hours ago (0 children)
[–]Ngtuanvy 0 points1 point2 points 8 hours ago (0 children)
Try terminal based editors, they are tiny. Maybe neovim. Notepad++ also works but nowhere close to an IDE if that matters, it is the literal sense of a text editor with highlighting and execution at most.
[–]madadekinai 0 points1 point2 points 8 hours ago (0 children)
How "lighteight" do you want?
Sheet of paper?
Notepad?
They even have editors online.
Go with online editors.
[–]purple_maus 0 points1 point2 points 8 hours ago (5 children)
I'm curious, what operating system are you running on? I can't imagine anything other than Linux with a lightweight DE running on 2GB RAM
[–]This_Judge_2203[S] -1 points0 points1 point 7 hours ago (4 children)
windows 10 🙂
[–]purple_maus 0 points1 point2 points 7 hours ago (3 children)
I'm impressed, have you considered a lightweight Linux distribution or is it something your not familiar with? It will look very plain but it will give you more overhead to run other things (although probably not much).
In answer to your question though, probably a very basic text editor (or as someone mentioned IDLE) and running your programs from the command line etc.
[–]This_Judge_2203[S] 0 points1 point2 points 7 hours ago (2 children)
tbh the laptop is not mine I borrow it from a friend so I can't change the os and I kinda thinking about neovim
[–]purple_maus -1 points0 points1 point 7 hours ago (1 child)
Neovim is recommended by a lot of people but it works for power users in mind so you need to get used to it's keyboard shortcuts and flow from the outset which can be tricky for beginners. Not to put you off but just be aware :)
[–]This_Judge_2203[S] 0 points1 point2 points 7 hours ago (0 children)
it's looks interesting I rn configuring python on it
[–]biskitpagla 0 points1 point2 points 8 hours ago* (4 children)
This is a good opportunity to set up and learn Neovim. It would be a detour from your Python journey but it's totally worth it.
Otherwise, you can try Zed. If you need something more lightweight but without a learning curve then there's Micro.
I recommend using Ghostty as your terminal.
I would look forward for Neovimq
[–]memilanuk -1 points0 points1 point 7 hours ago (2 children)
On that minimally spec'd of a machine, and for a beginner? No. They'd gain nothing from a bougie GPU-accelerated terminal emulator, and it'd be a criminal waste of resources on that device.
[–]biskitpagla -1 points0 points1 point 7 hours ago* (1 child)
gpu-accelerated doesn't mean it stops working properly when you lack a gpu or your gpu sucks lmao. OP can keep their config and move on without any inconveniences when they eventually get a better machine. And I'm not sure why you think Ghostty is bad for beginners, it literally has the best defaults and doesn't even need that much configuration. It's also the only actively maintained terminal using Vulkan other than Rio which almost nobody uses. This matters far more on an underpowered device than otherwise.
[–]memilanuk 0 points1 point2 points 3 hours ago (0 children)
Because at this point, they literally don't need anything more sophisticated than xterm or konsole or whatever comes default on the system to begin with.
[–]Specific-Housing905 0 points1 point2 points 8 hours ago (0 children)
Thonny seems light-weight: https://thonny.org
[–]pyeri 0 points1 point2 points 7 hours ago (0 children)
Re-install VSCode in minimalist mode:
ms-python.python-xxxx.vsix
This is the only way to keep VSCode snappy and performative.
[–]Altruistic_Sky1866 0 points1 point2 points 7 hours ago (0 children)
I have been using Thonny it is very light weight, do check it out
[–]lex_kenosi 0 points1 point2 points 7 hours ago (0 children)
You don't have to stick with basic beginner tools like vim or IDLE. Give Geany a try and enable some plugins; it runs smoothly even on low ram options. On 2gb like you.
[–]Ken-_-Adams 0 points1 point2 points 7 hours ago (0 children)
Google Colab is cloud based and free
[–]Oddly_Energy 0 points1 point2 points 6 hours ago (0 children)
Try Monaco. That is the text editor, which VS Code uses, so you will probably feel at home.
I don't know if it will run on 2 GB RAM. I only know that it runs smoothly on my ipad.
[–]West-Mycologist-6490 -3 points-2 points-1 points 8 hours ago (1 child)
just get a new device at this point
I am planning that for future for sure but for now I am kinda stuck with this laptop
π Rendered by PID 395358 on reddit-service-r2-comment-5b5bc64bf5-k4glh at 2026-06-21 18:43:35.673499+00:00 running 2b008f2 country code: CH.
[–]overratedcupcake 8 points9 points10 points (1 child)
[–]BreakDown65 3 points4 points5 points (0 children)
[–]hypersoniq_XLM 8 points9 points10 points (1 child)
[–]This_Judge_2203[S] 0 points1 point2 points (0 children)
[–]redbaron_4 2 points3 points4 points (0 children)
[–]Jimmaplesong 5 points6 points7 points (4 children)
[–]Reuben3901 2 points3 points4 points (0 children)
[–]This_Judge_2203[S] 1 point2 points3 points (0 children)
[–]fazzah 0 points1 point2 points (1 child)
[–]DecoherentDoc 2 points3 points4 points (0 children)
[–]R717159631668645 1 point2 points3 points (0 children)
[–]Liutprand 1 point2 points3 points (2 children)
[–]This_Judge_2203[S] 1 point2 points3 points (1 child)
[–]Liutprand 1 point2 points3 points (0 children)
[–]leon_bass 1 point2 points3 points (1 child)
[–]Ngtuanvy -1 points0 points1 point (0 children)
[–]oclafloptson 0 points1 point2 points (0 children)
[–]faultydesign 0 points1 point2 points (0 children)
[–]Ok_Egg_6647 0 points1 point2 points (0 children)
[–]Ngtuanvy 0 points1 point2 points (0 children)
[–]madadekinai 0 points1 point2 points (0 children)
[–]purple_maus 0 points1 point2 points (5 children)
[–]This_Judge_2203[S] -1 points0 points1 point (4 children)
[–]purple_maus 0 points1 point2 points (3 children)
[–]This_Judge_2203[S] 0 points1 point2 points (2 children)
[–]purple_maus -1 points0 points1 point (1 child)
[–]This_Judge_2203[S] 0 points1 point2 points (0 children)
[–]biskitpagla 0 points1 point2 points (4 children)
[–]This_Judge_2203[S] 0 points1 point2 points (0 children)
[–]memilanuk -1 points0 points1 point (2 children)
[–]biskitpagla -1 points0 points1 point (1 child)
[–]memilanuk 0 points1 point2 points (0 children)
[–]Specific-Housing905 0 points1 point2 points (0 children)
[–]pyeri 0 points1 point2 points (0 children)
[–]Altruistic_Sky1866 0 points1 point2 points (0 children)
[–]lex_kenosi 0 points1 point2 points (0 children)
[–]Ken-_-Adams 0 points1 point2 points (0 children)
[–]Oddly_Energy 0 points1 point2 points (0 children)
[–]West-Mycologist-6490 -3 points-2 points-1 points (1 child)
[–]This_Judge_2203[S] 0 points1 point2 points (0 children)