Questions tagged [python]

Use this tag only when the language used would affect the question significantly (if your question uses Python as an example, but does not focus on the language itself, you need not use the tag).

Filter by
Sorted by
Tagged with
15 votes
9 answers
9k views

Any simple Python GUI projects for beginner/novice programming students?

I teach programming at a university, at 2 freshmen courses. My students are being introduced to programming for the first time, so we have to teach them about algorithms, variables, control flow, ...
5 votes
1 answer
147 views

Unplugged Project Idea

I teach a middle school coding course. We have done a very basic python introduction. For their first project, they wrote and coded their own MadLibs. For the upcoming project, they are going to ...
0 votes
1 answer
61 views

How do I solidify my Python skills?

I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar ...
0 votes
3 answers
245 views

Best books for solid foundation build up for python and java

Fellow programmers. I am currently learning java and python in my Master's degree (introduction) and I did those languages 2 years ago. And when I revisited for the units I feel like I have basic ...
1 vote
1 answer
298 views

Online Platform for practicing Object Oriented Programming in Python

Is there any recommendation on an online platform that teaches and allows practicing object-oriented programming (OOP) in Python? I am familiar with Hackerrank and HackerEarth, however, they do not ...
4 votes
5 answers
188 views

Suggestions to improve my algorithm coding skills

I have a PhD in computer science (A fresh graduate). My bachelor's major is similar to CS but without algorithms (It's a discipline between business and CS). I am quite good at AI research but my ...
2 votes
0 answers
54 views

Python Code Sharing Forum

I have recently switch from SmallBasic to Python for my introduction to programming course. I have managed to translate everything from one language to the other... with a single difficulty. Over the ...
52 votes
14 answers
10k views

Interesting Programming Exercises to Teach Inheritance?

I originally asked this over on Stack Overflow, but they suggested I look here instead: I'm currently teaching my students about the concept of inheritance (we're using Python 3) but am unable to ...
0 votes
1 answer
104 views

How to learn object oriented Python?

What would one suggest for a junior lever programming student to learn object oriented Python? For me, it is quite easy to understand objects in Java and non-object oriented Python but objects in ...
1 vote
1 answer
237 views

Is Deitel Intro to Python for Computer Science 2020 a resumed version of Deitel How to Program C, C++ and Java?

I am still not finding the right book for my career path. My first book related to programming on my university was Deitel How to Program C for Programming 1 subject, for Programming 2 we use C++ How ...
4 votes
1 answer
82 views

Which websites provide real-time updated Jupyter notebooks for Python teaching?

Often, I find it useful to teach some Python to students. In-person classes are easy in this regard, I can just go to colab.research.google.com and show them the concepts there. (It requires no ...
3 votes
5 answers
608 views

First programming Language : C or Python?

These days everybody is learning Python. I remember when we first started programming we were taught C Language. As a teacher which language should be taught first these days, C Language or Python?
2 votes
2 answers
118 views

Decorators in Python

How to teach decorators to Undergrad students? I mean how make the concept crystal clear? Sometimes it becomes complex as : "functions passing another functions in argument, adding new ...
2 votes
4 answers
143 views

Best online problem-bank style practice site for Python

I'm a high school student who has learned Java with the AP Computer Science A curriculum at school. My CS class used the University of Washington's Practice-it site for practicing Java. I was ...
6 votes
3 answers
436 views

Real world example application built with Python and JavaScript?

Does anyone have any suggestions on a small program or application to write that would help a Python beginner work with JavaScript? For example, when one is learning JavaScript, building a small to-do ...
5 votes
2 answers
662 views

Using autograding (Github Classroom) - pitfalls and best practices?

I'm currently as a TA developing a series of programming assignments for a bachelor course on machine learning. Since we expect the number of students taking this course to grow in the future, we're ...
17 votes
10 answers
7k views

How do I approach teaching Python to 12-year-olds as a first-time teacher?

I'm currently teaching Python, to three 12-year-olds. They have no experience at all, and my task is to introduce them to programming concepts, and to Python. I'm fairly experienced in programming, ...
24 votes
9 answers
7k views

IDE vs Editor and terminal for CS1

I am involved in the teaching of CS1 and CS2 at the University of Oslo. We have recently transitioned from Java to Python as our introductory language. We have a strong tradition of teaching students ...
2 votes
1 answer
264 views

Pedagogical issues with Stack Implementation

I am new to teaching the particular syllabus I have been asked to teach and I am confused by the approach given for several of the algorithms. For example the stack implementation based on the course ...
5 votes
7 answers
583 views

Python IDE for beginners

With a bunch of colleagues we will start learning Python together. I'm a programmer, but I'm new to python. Most of my colleagues know some VBA, but are generally new to programming. What IDE do you ...
2 votes
1 answer
114 views

How to give students practice with streaming computation?

I'm teaching a theory-focused randomized algorithms course at the undergraduate level, and have included a section on streaming algorithms. It would be great to get students to implement these ...
3 votes
2 answers
257 views

What is the best way to learn an object oriented programming language with framework, data structure and alogrithms?

At first I will say, I known some basics Python and Haskell. For now I decided to follow my programming road with Python. I have chosen a few issues and their learning path, hence I would like to know ...
5 votes
8 answers
671 views

Explaining why arrays are important for statisticians

I am a computer engineer, and I’m teaching computer sciences one hour per week to a student who failed her second-year university degree. She needed some help to have a better understanding of ...
8 votes
3 answers
360 views

Will I Regret Using Python As A Teaching Language When I Later Need to Teach Static Typing?

Given the prevalence of Python as a first language at many universities I think using Python as a language to teach new software developers is a good approach. But there's one thing that concerns me. ...
7 votes
4 answers
458 views

Python function has access to global variables, and doesn't need passed arguments

When teaching functions in Python I get a little annoyed that the code below actually prints out the greeting. I know the preferred way would be to pass in the name, but, for students, if it works ...
3 votes
2 answers
95 views

Software to produce an interactive presentation?

I'm tasked with leading a couple information sessions (totaling 4 hours) to teach non-programmers how to get started in Python. The audience is software testers employed in a technology department. I ...
5 votes
9 answers
406 views

Starting open source

How can I best get students started with an open source project that they would be interested in and welcomed to? I'd prefer that the project is focused on building a piece of software, perhaps a ...
6 votes
4 answers
338 views

Teaching zip and range in Python 3

I do mathematical biology curriculum development and design and sometimes teach the associated computer labs. The students are very much beginners. Recently, I have had to start working with a Python ...
4 votes
3 answers
411 views

How to explain the int() function to a beginner

It was suggested I cross post this question from the main Stack Overflow site as it may be of interest here too I am tutoring a neighbour's child and we were exploring the int() function before ...
13 votes
3 answers
494 views

Do Python and Java lead students to construct different mental models of memory?

How are novices' mental models of variable storage affected by programming language choices? Most Intro to CS teachers (I think) do not delve with breadth and depth into details of how variable names ...
10 votes
1 answer
272 views

What to consider when choosing version of Python?

I will be giving a small course on the Python programming language to a group of interns this summer. As I am sure you know, there are many different versions of the Python language. I am wondering ...