- Podcasts
- Teaching Python
- Episode 25: The Best Editors and IDEs for Teaching Python
Episode 25: The Best Editors and IDEs for Teaching Python
Teaching Python
- July 17, 2019
- 34 min
- Episode 25
About this episodeWhat are the best editors for teaching in Python? In this episode, Kelly and Sean examine a variety of different environments for students…
What are the best editors for teaching in Python? In this episode, Kelly and Sean examine a variety of different environments for students to learn to code Python. Should it be online or local? Paid or free? Simple or full-featured? An editor or an IDE?
Here's what made our list:
Links:
- Code With Mu — Code with Mu: a simple Python editor for beginner programmers.
- Visual Studio Code - Code Editing. Redefined
- PyCharm Edu: The Python IDE to Learn Programming Quickly & Efficiently — An Easy and Professional Tool to Learn & Teach Programming with Python
- Pandas for Everyone: Python Data Analysis (Addison-Wesley Data & Analytics Series) 1, Daniel Y. Chen, eBook - Amazon.com — Today, analysts must manage data characterized by extraordinary variety, velocity, and volume. Using the open source Pandas library, you can use Python to rapidly automate and perform virtually any data analysis task, no matter how large or complex.
- Python IDEs and Code Editors (Guide) – Real Python
- Welcome To Colaboratory - Colaboratory
- Thonny, Python IDE for beginners
- Our Patreon -- support us with a few dollars a month
- Micro:bit - Python editor
- Effective PyCharm: Learn the PyCharm IDE with a Hands-on Approach (Treading on Python): 9781095212530: Computer Science Books @ Amazon.com
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
Episode 25: The Best Editors and IDEs for Teaching Python
Teaching ages 5 to 13. It is we have about 43 kids this week a lot busier than what you had the last couple of weeks but it's still the same kind of thing where we're just getting in our hands on anything that. Computer science related it's been really a lot of lot of fun this week in Austin Texas, and so we are I think we have a few interesting wins to show this week so why don't why don't you start what's your win of the week to share you know I was trying to go through all the winds we've we've had a lot of fun little things I get to see the little kids in action and to see the the excitement when they see a new robot or I have the some 4th graders taking apart a laptop so I think my when's my win this week is actually just seeing the kids faces when they when they find something new whether it's Kubo whether it's our Vector Cosmo.
Can I get you to remind yourself of where you are in the the learning process you have to take a step back and we restart the whole concept of computational thinking, and just get your hands dirty again with a whole bunch of new faces each time it's pretty exciting and challenging and fun all the same time so.
And this week I just finished the tutorials track of sci-fi so I've been meeting people and learning new things and brushing up on some new skills, but there been some really fantastic talks here and. What I've been appreciating most are kind of biggest win is realizing that there's so many ways that we can bring python into both our classroom and other classrooms, so I've met people from in a researchers and universities and academic settings to computer scientist who support.
Scientists and researchers go about the process of learning Python and applying it to their to their daily work so it's been a really exciting and Kevin vigorating conference from that perspective me pictures I don't know if it's to make me jealous or just to inspire me to learn more but I'm really excited about looking at some of these these GitHub link that you sent me, and seeing what you've learned it said I can't wait to get dig into that pandas book that you just got, yeah it's really great I spent about an hour talking about ways to apply data science or introduced data science.
Are published in our thought leaders in the space and have unique and different viewpoints from your own when it comes to pedagogy and Technology of python. I don't depend cut that out I might have to leave it in, a little bit brain dead today from the from the teacher is going to say what it will lead into that is so what kind of codeine are you doing just can you give us a little bit of a snapshot of what you're saying, besides so I've been focusing really on different tools that I think will be helpful for us in the classroom.
So I spent some time in a tutorial on matplotlib so I wanted to take more of an introductory course and really step through all the different pieces, of how matplotlib plots are created and so that was really help I feel like I have a much more solid foundation to work from now with with visualization.
And predict what types of movies are best suited for awards at the Oscars like if I wanted to create a, Fame and Glory type movie that would last forever what kinds of things would I need to incorporate in my movie is it the actors and actresses is it the screenwriter is it the, here it is in a blockbuster do I need to make it make sure that it makes a lot of money to get the visibility that it needs.
So is a really fascinating process we did a lot of web scraping to do that as well as some regression analysis in in pandas to be able to pull that off I don't answer I have a clear answer I think you know there's more data to be gathered but it seems like anything that has Tom Hanks in it tends to do pretty well, yep it's just things like that. How can I help build out some of these units we've done I also did some work with Jupiter lab which is for the next generation of jupyter notebooks.
And then there's been some really great tutorial to I haven't seen that I get to check out on online later around things like Jupiter widgets and, gpu-based machine learning or GPU based numpy, type acceleration so lots of really great projects out there that are getting good tutorials this week and now it's continuing with talks and more like shorter presentations, for the rest of the conference sounds great I'm so excited we're going to have a lot of fun bringing some of that stuff out of our classroom and into other teachers classrooms.
Absolutely absolutely so this episode you know going from that kind of this idea of what tools we use and how we use technology in the classroom, one of the things that we wanted to do this week is talk about what type of code editors we use to write python code. This was a great idea, you brought this up now that we've got enough knowledge to be dangerous when it comes to code editors, it gives us the opportunity to take a look at this from a rather unique perspective that I don't think a lot of other in a guides or blog posts are comparisons Roy Look at which are.
What are the best editors for teaching python or for learning it for that matter so from both perspectives as a student and as a teacher. Which editors are best suited for for this processing and where their voice drinks between them it's my, my editor and I'm working with another one this summer trying to.
Introduce myself to the root a little bit more of a real-world professional editor it got me thinking about. Could we bring this into that to our students would this be something that wouldn't be scary and then also our talk with Meg and we were talking about how terminal is still, still something that I I struggle with getting my head around and how can we transition and say using that, in our course so that's where I was thinking about where we're going with this.
Nice nice so what makes a good editor for teaching in your opinion Kelly what it what are the things that you're looking for when it comes to choosing an editor. For your students to use to Learn Python and this instant kind of gratification child where everything is clickable and we can move around a lot I like to keep something.
Things that bigger buttons not such smaller print and not a lot of words on it that's where we started when we first started coding this year. So that's one of my things that I look for sounds like you're talking about making starting simply right so starting with something that is the simplest possible editor and then building up from there.
Do are you looking for just one editor or do you think that there are Cent there's value in having a few different options when you're teaching a course when we were when we were coding and. You brought in a couple of different editors started getting confused as to. So there must be a fine line there's got to be a fine line before introducing a lot of editors and also giving choice to the student so some kids will may prefer to have.
Something installed others might prefer to work online but the the biggest thing that I find is being able to store and save the files and a easy location for students to confine, that's where I am with choosing a good editor for me a lot of the attributes that I'm looking for really are, how how simple or complex is it to get started right from the time that you choose to download it or go to it and get going to be able to write that first line of code you know what's at 02 first line of code.
And then there is a process about growing that as well so I'm looking for something that is very focused and simple and knows what it is and delivers on that really well, in the classroom. I don't need it to be something that you have to be able to become a professional coder in as well I feel like it's perfectly fine to switch from a beginner Editor to one that has a few more features that may be more suited for the next phase of your your Development Career, that's when I remember I remember catching myself at the end of the fourth quarter, talking to some students and I said okay if you really want to be a professional coder in Python you need to switch out of Acts and go into why because you know that just looks cooler so, there's something about giving that little bit of a push to to say you graduated you graduated the baby steps and now you can go on and go to a professional ID
I agree and then I think the other thing that has to be set as it has to be free to start because we don't want to make a big investment into a coding editor. For students especially that that we're have spent a lot of money on for tonight could be a short course especially if you're teaching a volunteer course or something where the students can opt out of it some of its optional or intellect.
In a wire why would you spend money on a tool to learn in a save that for when they student grows into it you know so I where's the next stage for them, and I caught myself doing that today or yesterday when I introduce a couple of. Short python programs to the campers and I said listen let's just open up this program right here is online you don't need to login, if you like it go home tonight and make yourself an account and then tomorrow, if you want to code some more you'll be able to save it and I had five kids come back and said and said that they they made them an account and so they must have liked the the codeine if I thought it was pretty option where I don't want to have to install things I just want them to jump in and start coding right it's so everything we've got simple.
And it doesn't need to be the end-all solution for editors I bet it's something that you should be able to outgrow and yeah but transfer what you've learned as well. To look at these out of there so, what's the what's the first editor that comes to mind when you're thinking about teaching python, Mo and and what Nicole has done with developing mu editor has to be my top favorite when we are starting to code with our kids.
Here I agree it's really a valuable tool it's the first thing that comes to my mind as well it hits a lot of the criteria, it's simple it's free it's easy to get started it is something where I have to train students who are used to using the cloud for everything, that you can download programs to this to your computer and then run them on your computer to where it's not running in a web browser it's another program that's probably the biggest hurdle to getting started.
I'm going to have to make a correction its next time sorry I was I was signing his his Twitter handle is in tolls on Twitter sorry I like it. Buttons are are big and you know you have some icons on there because you know how kids hate to read. The check function and he's constantly making some updates with the help of feedback from others it's a simple program download and for some reason the kids really like.
Python coding or microbit coating on circuit circuit playground Adafruit. Card game all that stuff not eat a fruit help me out here at the BBC micro bit, pygame zero the way that its design there's room for additional modules in the future so I think in the next version that's currently an alpha release right now there's even a a web mode there where you can create your own web apps.
Curtis Mill so there's a lot of really great features there. It would you also had on the fact that it does have all these different modes so you can use it to code the BBC micro bit bored and flash code directly to that board by clicking a button. Just fantastic if you've ever tried to 2 flash code to a micro bait using the command line it's a little bit more challenging and then.
You know you can also do circuit playground pygame zero, then there's the full standard Library as well so it comes with python built-in like so the batteries are included in the box when it comes to me you, that is a huge deal because instead of having to get python installed on your computer first to be able to use the other, editor's that you want to it's all included it's one download one installation and you're writing code pretty much immediately.
Nick Cox actually even tells you that you know this is your first step in programming with this editor, there is a article that says good luck now it's time to move on your Advanced so now try these other IDs he had that mindset that this is the first thing to go with and. I agree that's my top one before we go on it might be helpful to just Define what an ID is versus an editor.
So they're there is a difference and editor can be used to write code and edit code in it often includes things like syntax highlighting and maybe some, some combat convenience features like the code completion using the tab button things like that. But generating editor is very lightweight and it just allows you to change the text in your source code and maybe gives you a few like short cuts for you no running at or executing it.
Debugging tools that might include. Code inspection tools and more robust library or code completion tool set so if you're going from a an editor, to an ite you should be expecting a lot more features to it and I would say that new acts sort of like a beginner ID where it does have some of those more advanced features like debugging and even applauded her and things like that for, for reading serial data but it's still as lightweight as a as a typical code editor.
Thank you that's it that's a good explanation so for me though the one that I went to after I graduated from you and it's it's hard to believe it's only been a year since I started learning python but I started learning python using me like like our students to. I went on to visual studio code R vs code as they call it and, this is from Microsoft and I know that in a people of a certain Generation IV mine you know many of them look at Microsoft products and go I don't know if that's such a good idea I get doesn't doesn't feel right I can assure you vs code is.
Fully open source you can install a python extension for it in the python extension which gives you kind of all the python. Conventions in features everything like that in vs code is the most popular extension in the library I particularly like vs code because it is too kind of that next editor, where it has a lot of powerful Advanced features there many full-time developers who are using vs code on a daily basis, but what I particularly like about it is it it starts off much simpler for you I mean you can use it just as an editor.
That what you got at text code and text files and make changes into C syntax highlighting and then you can add the features that you want to it so, it's still preserves a lot of that simplistic view that the mule editor has it has a lot of the powerful features you would expect from a professional environment in there as well so it gives you kind of that nice ramp up from you into a new editor wants to be my default I do not code directly in vs code and I think that's one of the ones that I might, maybe eventually get into but that's all I have to say after going to Pecan and seeing jetbrains and seeing all the things going around with pycharm I wanted to check that out I have been working on trying to figure out how.
But I like Paris charm it was easy to install. For educators the pycharm for educators is free it is an open source and it is free install and I also have free for Learners and I like that, that aspect of it you also have the pipe term for professionals which is a paid version but just going into it.
Auctions in there and running my program within pycharm I like the way that it checks things for you which is super, super awesome when you are trying to look for that missing parentheses at highlights you can you can click on a lightbulb and it says, you know it tells you the options of what's missing it it's got that extra kick that I didn't have a new, and I think I'm starting to feel like I'm more of a coder using pycharm, although I think I've only covered about I don't know a hundredth of what the features are there's a lot in there you know it's interesting that they have a ton in there in the education Edition on and I don't know if you saw this yet cuz we haven't really used it in the classroom.
Has a number of lessons that you can take if you're as a learner their courses built in pycharm that you can take to Learn Python and learn different libraries or different different parts of the language. There's even the ability to integrate with external coding challenges websites and complete your code right there in pycharm so there's some really interesting features with pycharm EDD EDU.
They can get from their edu Edition as a learner as well so it's a pretty neat. Extra feature that they've added to pycharm specifically for educators, yeah if you just go to their website with jet frames.com the link will be in there are show notes but you can click on the pycharm at edu and you can see for yourself just getting started introduction to python even there's a course that in itself is just a great.
A great opportunity to look at what time you think these are kind of the big three there's another editor out there that just frankly we haven't used as much called funny that's also designed to be a basic code of, for beginners and then we've also had students using the built-in idle editor in python as well with the fair amount of success also.
Something that's interesting that we've been we've used quite a bit in our classroom or the code editors in your browser. Kelly tell us a little bit about you know the code editors that you've used online and and where you choose to use an online editor instead of a I want that since all on the computer the one that we use here at Camp right now because it's something that the kids can go home and and use on their computer is wrapple are Apple. It it's just an easy easy get to, you go online you can you can choose a language and how many languages does Ruppel ITC.
Copying some code and watching the turtle make some shapes this is before I started coding in Python and I was doing it on Rebel and then when I found out that I was going to wait I've done this before it's one of those things where you can just tell because jump on it here some code I can even share it and and they can click on a link and it'll take it take them straight to my code it's got some, great features I know you used it in class to grade as well so you can create a assignments using the replit education Edition.
They also have templates in rapel so. Just looking on it you can do your block bog site you can do a bootstrap 3D animations with. I don't even know P5 OJs so you can go on and learn any of any language besides python using Code any language besides python on Rebel that i t. Something that you can do in other editors.
Earlier this year they introduced multiplayer mode so for anyone who's coding in a wrapple on. Python or whatever language there's some now multiplayer mode where you can invite other people to collaborate with you in the same workspace using the same kernel. So you can be on the same code base you can see them making changes at sort of like Google docs for code with all of the live editing features so I think that that's a that's a great one and I suggested that the students when they're looking to collaborate on a project together, especially if they can't get together in the evening face-to-face to work on their project I suggest they use Rebel because a replit because they can.
Collaborate together even if they're sitting at home in their own rooms on the computer. Well not nothing new here but you know getting little still back in there but my mind that kind of gets you segwayed into, GitHub now it's going to give you the idea of making the split of the code or working together it lets them realize that this code is not something that has two lives.
Yeah I agree it's it's kind of late it's get him collaboration without having to learn get right away. So that can be really helpful for students because it if you're if you layer on Version Control on top of learning how to code, it can be a little bit overwhelming for cover whole lot of people hate it for me warning jet has not been an easy process I'm still learning.
Straight online using if you're using the microphone in which I thought was a kind of a neat adding the website is python. Microbit. Org. And right okay and not. I haven't use that for a few months but if I recall correctly what's really great about that as it gives you an environment for coding python specifically for the micro bit with all the libraries and everything.
And then I think you can download the code directly to the micro bit is that right that's correct and it it's kind of got that move feeling but even less there really only 1 2 3 4 5 6 7 buttons on on this and you code your micro bit code straight there you can save it you can load it they have the Snippets of.
Straight into it with python and in a matter of seconds we should definitely bring up here I don't know if it makes a top 5 list or top six list or or whatever but I have to give a shout out to Jupiter, as a coating environment especially with what we have for Jupiter lab upcoming Jupiter lab is becoming more of a coding environment not just a a notebook anymore.
The sharing right how do I share this notebook with my student how do I get them to start it up if I want to start up a notebook or Jupiter lab on my own computer. It's not a trivial exercise me I think I've got it down to about a 5-minute process to start up a new Jupiter lab. Or jupyter notebook by after the after I create a virtual environment install the packages and all those things one of the great things about Jupiter that's that's been really encouraging to see is how many you online versions of Jupiter available and the two that come to mind the most for for me are Google colab.
Instagram to run the same script over and over and over again and they can make a change and run just that cell that contains the most recent update that they made, yeah and I and I forgot about that I do I love the the collab feature I love using that in outside of the computer science class and when we bring the stuff into other curriculum just being able to text and it.
On on that space and still run the code is is a nice feature to have to teach python exclusively in a jupyter notebook in fact, many of the tutorial sessions that we've been going through here at Sipe I have been hot in a jupyter notebook, because it's an easy way to guarantee the environment that we're working.
As it continues to grow and develop and more into a specially now with being in with collab and Linkedin Google drive or it's just something that's so flexible and easy to you so good good call on remind, and it's been fun here at sipi to see just the absolute Wizardry that people are pulling off with Jupiter and all the different parts of the Jupiter project.
Please if we miss something let us know for those of you out there who are using them in a terminal to write code and you think that everyone should learn it that way, you know it put your case forward let's see you know what's I want to hear your best Arguments for why everyone should learn vim and the terminal.
And then and then you can come teach me an easier way because I get lost in there, it's funny it is one of those things we get we get really comfortable with the editors that we use of the IDS that we use regularly and it still blows me away to watch someone who is proficient at using them, or Emax right code it's just kind of magical to watch them cruise through stuff so I say this with love I just don't know how I'm going to teach 6th graders how to use them well I think we've covered it and I have to go prepare for the 43 summer campers that are coming in tomorrow and you have to go learn some more at sci-fi.
