13 ms·
PyCharm Edu: Python IDE to Learn Programming Quickly and Efficiently
- mathnode 10y agoFrom the FAQ: Q: "How does PyCharm Edu differ from PyCharm Professional Edition or PyCharm Community Edition?" A: "PyCharm Edu is based on the Community Edition and comprises all of its functionality. Additionally, it installs and detects Python during installation. It has a simpler UI (adjustable in settings) and adds a new "Educational" project type. PyCharm Professional Edition additionally supports different web development technologies, has remote development capabilities and additional languages, and supports working with databases."
- xapata 10y agoUnfortunately, PyCharm does not (by default) encourage the wonderfully productive development pattern of ``python -i`` -- running the script and breaking into the interactive prompt afterwards. IDLE does this and it's excellent for teaching. Any other technique and the students are much less likely to develop the habit of testing/debugging code interactively in the REPL. Even if you do invoke the interactive mode in PyCharm, each execution creates a separate prompt, causing confusion. I'll admit I'm not the most skilled PyCharm-user. Perhaps there's a way to make it work like IDLE?
- globalgoat 10y agoI think I tend to agree here. I've taught a few terms of the Python courses through @codeclub to primary school children in the UK (aged 10-11) using IDLE and it works well. It's also worth considering that IDLE is a relatively lightweight install and on the network at the school that I teach at, everything is extremely locked down and installing anything causes an amount of pain. That said I think I'll still investigate.....
- petra 10y agoAFAIK, PyCharm doesn't have good auto-completion in the REPL, right ? Any decent alternative ?
- deleted 10y ago[deleted]
- pauleveritt 10y agoIf you install iPython into your project interpreter, it will be used.
- Foivos 10y agoOr even better ipython / Jupyter notebook
- gmu3 10y agoThis is a bit different but in PyCharm you can set a breakpoint and then in the debugger open up a window where you can evaluate arbitrary expressions with that context before continuing.
- xapata 10y agoI like to introduce debuggers/breakpoints after teaching functions and classes. That way I can explain the purpose of a debugger as bringing back the interactivity of the REPL despite hiding variables in local scopes.
- pauleveritt 10y agoThe run configurations let you check a box that drops you into the interpreter console afterwards. If you install iPython, it will be used. Is that describing what you're looking for?
- xapata 10y agoNot quite. If you re-run the script it creates a new console rather than restarting in the current. That leads to an awkward proliferation of consoles with no keyboard shortcut to close them. I encourage my students to run code very frequently. I'm hoping I simply overlooked something.
- keithoffer 10y agoYou can tell PyCharm to only run a single instance of python by going to Run -> Edit Configurations -> Tick 'Single Instance Only' in the top right.
- xapata 10y agoAh! Thanks much.
- bsg75 10y ago> the wonderfully productive development pattern of ``python -i`` -- running the script and breaking into the interactive prompt afterwards TIL
- deleted 10y ago[deleted]
- 0x8146 10y agoI love it and will religiously follow through the courses
- 0x8146 10y agoI love it. And I will religiously see through the entire course. Thanks JetBrains guys
- partycoder 10y agoWing IDE, another Python IDE, has had a similar product for a while (Wing IDE 101). It was very simple though.
- hoistbypetard 10y ago> PyCharm Educational Edition is completely Free and Open Source. Novice programmers can download and use it for educational or any other purposes for free. Instructors and course authors can use it to create, modify and share their own courses. I dug around the site a bit and found the quote above, but didn't find a link to the source. Anyone find one?
- AlphaSite 10y agoI don't know where exactly the pycharm source is, but I suspect its part of the larger IntelliJ community repository. https://github.com/JetBrains https://github.com/JetBrains
- sgift 10y agoIt's the python subfolder of IntelliJ community edition: https://github.com/JetBrains/intellij-community/tree/master/python https://github.com/JetBrains/intellij-community/tree/master/...
- hoistbypetard 10y agoNice. Thanks.
- nxc18 10y agoI like this a lot. My uni just switched to Python from IDLE a few years ago. While its nicer than IDLE, the complexity of the IDE can be a bit much for novices. Heaven help you if you accidentally select the wrong python interpreter at project startup, for instance. The other thing I'd like to see is more intelligent defaults for project location. On Windows, it defaults to the C drive, which is fine except for when students don't know where their documents folder is buried. Putting a git repo in a system folder breaks git because of permissions, but the UI will never tell you that.
- ben_jones 10y agoAlso jetbrains products are java-based and can bog down low powered machines to a point of frustration.
- woof 10y agoPyCharm works fine on my 2013 Macbook Air 11" (1,3GhZ i5 with 4GB RAM and a rather slow 128GB SSD).
- ben_jones 10y agoFair point. Most of my experience goes back to the "pre-macbook" stage of my life where I was running windows 7 on whatever hunk-of-junk laptop I could afford in college. I have a lot of respect for the iterative improvements they make on all their products (I've use nearly all of them).
- spraak 10y agoI wouldn't call that a low powered machine. I started learning to program with a Gateway Netbook (sub 1ghz single core processor with 1gb ram) just a few years ago. It was so painfully slow to load anything other than a REPL and Vim (with no plugins - I tried compiling YouCompleteMe but all 3 times the machine ran out of memory). That's what I stuck with, and I'm glad :D
- pmontra 10y ago
- NotQuantum 10y agoAs someone who's written / taught a CS intro class in Python. This is a nice addition to my tool belt. When I taught labs, we used a really crappy Python IDE that consistently froze and would delete student's code. I'm pretty partial to the VS Code and command line approach, myself. It teaches you basic command line stuff, which is good for anyone learning CS in the long run, and it teaches you how to NOT rely on an IDE for most of your syntax and semantics which is enormously helpful for those starting out (even though the learning curve is a bit steep).
- emodendroket 10y agoNot using an IDE just strikes me as an exercise in pointless masochism.
- toomuchtodo 10y agoWhen I tried to learn Python the first time, it was with vim. I would not recommend that path (VS Code user now).
- rpedroso 10y agoI write python professionally and I use vim exclusively, but I have pylint + jedi plugins and could not imagine working without them. I'm also not convinced that depriving new programmers of real-time syntax checking actually helps them learn. Wouldn't immediate feedback help them memorize the correct syntax?
- emodendroket 10y agoI learned working with Visual Studio and, yes, I think that helped. Even jsut being able to press "." and see what methods and properties were publicly available on something was helpful
- flor1s 10y agoFor me the path has mostly been BlueJ (Java) to Eclipse (Java) to Visual Studio (C#) to Eclipse (Android) to Intellij (Python/Android/JavaScript) to vim (JavaScript/Python). Some people try to turn vim into an IDE. Personally I like to use a real IDE when I feel like I need it (when I'm working in an unfamiliar codebase or when I need to debug). I love vim for writing small programs (command line utilities and client side JavaScript) and editing code (such as HTML, CSS, LaTeX). For single page web applications the best IDE for me is the browser in combination with a simple text editor.
- woof 10y agoPyCharm is awsome! And I say that as a 20 years+ (and counting) emacs user. If you program python (especially Django), you should give PyCharm a go!
- singularity2001 10y agoAll of jetbrains products are awesome. Everyone I convinced about this thanked me afterwards.
- rebootthesystem 10y agoJetBrain products user, including PyCharm. What JetBrains needs to do is create a good series of instructional videos to show how they intend these products to be used. They are excellent and very powerful but you are left to peek and poke around to figure out how they intended you to use and configure them. The various videos available, last time I looked, are seriously outdated. For example, there are a bunch of different ways to work with PyCharm and Django. The other thing they need to do is improve their customer service. The couple of times I needed an answer not found on sites like SO it took something like 3 to 5 days to get an answer from them.
- pauleveritt 10y agoFWIW, around a year ago I did the getting started videos: https://www.youtube.com/playlist?list=PLQ176FUIyIUZ1mwB-uImQE-gmkwzjNLjP https://www.youtube.com/playlist?list=PLQ176FUIyIUZ1mwB-uImQ... Can you let me know if this is the kind of thing that you're talking about?
- rebootthesystem 10y agoYes! Looks very nice. I can now point people to an easy set of videos to understand how to use PyCharm to develop Python products. I will watch them all when I have some time. Do you cover Django integration at all? Subjects such as remote development (You sit at your windows machine while developing and running code on a Linux server elsewhere or on a local VM) and deployment under various scenarios would be useful (for example, best way to deal with deployment to separate application and database servers). In general terms, a bunch of IDE's can provide a project tree on the left and code completion. In the course of easy-to-follow tutorials it would be great to highlight and teach how to use benefits PyCharm offers that add value to the product. Without this guidance people are left to poke around and sometimes fail to get it. A few years ago I had a situation where I wanted a client to switch from SublimeText (an excellent product) to PyCharm. Probably a hundred seats or more. A lot of resistance to IDE's in general. Three hour videos from PyCon are deal-breakers, nobody but the most interested are going to watch them. And JetBrains didn't have anything I could use. It looks like things might be different now. Thanks!
- theshire 10y agoIs there something similar for Javascript?
- tyteen4a03 10y agoThere is WebStorm and PHPStorm which is WS with PHP functionality - both professional editions are free if you have an edu email.
- theshire 10y agoI'm referring to the whole Education think not the Editor. thanks. Something like Webstorm EDU
- binarray2000 10y agoFor those of you working on Windows, may I suggest PyScripter: https://sourceforge.net/projects/pyscripter/ https://sourceforge.net/projects/pyscripter/ (not affiliated but I want to support it by bringing it to your awareness) It's a native IDE, it's fast, doesn't crash, there is a portable version as well. I use it for the last four or five years when developing in Python.
- JohnnyChase 10y agoAlong the same lines, there is the awesome Python Tools for Visual Studio plug-in that turns Visual Studio into full fledged Python IDE: https://microsoft.github.io/PTVS/ https://microsoft.github.io/PTVS/ It supports CPython, IronPython, IPython, IntelliSense, mixed Python/C++ debugging, remote debugging, profiling, etc. And best of all? It's also open source.
- stuaxo 10y agoI use pycharm at work every day. Tried showing a teacher friend some stuff, but got confused as half the options seemed to be missing in the Edu version.