Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 votes
1 answer

How long would it take an average theoretical computer scientist to learn Python to prepare for learning machine learning?

Take a computer scientist with some skills of imperative, functional, and declarative programming languages excluding Python and knowing almost nothing about machine learning (e.g., he/she did 0 to 1 ...
AlMa1r's user avatar
  • 109
3 votes
2 answers

Are there people who just can't learn to program? [duplicate]

Just as the title says. If you're wondering why I'm asking, here's why: I've recently started teaching Python programming at a community college. My class is geared towards non-CS majors. There are ...
Joe's user avatar
  • 31
0 votes
1 answer

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 ...
artinasd's user avatar
5 votes
1 answer

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 ...
Beetle Bec's user avatar
4 votes
5 answers

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 ...
Minions's user avatar
  • 141
2 votes
0 answers

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 ...
codingCat's user avatar
  • 499
0 votes
3 answers

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 ...
Syed Istiak Raihan's user avatar
0 votes
1 answer

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 ...
studying's user avatar
1 vote
1 answer

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 ...
rubengavidia0x's user avatar
4 votes
1 answer

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 and show them the concepts there. (It requires no ...
zabop's user avatar
  • 141
2 votes
2 answers

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 ...
Talha Tayyab's user avatar
1 vote
1 answer

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 ...
Cute Panda's user avatar
3 votes
6 answers

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?
Talha Tayyab's user avatar
2 votes
4 answers

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 ...
user9487's user avatar
5 votes
2 answers

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 ...
ObscureOwl's user avatar
5 votes
7 answers

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 ...
vacip's user avatar
  • 1,398
2 votes
1 answer

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 ...
Robin Andrews's user avatar
15 votes
9 answers

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, ...
Floella's user avatar
  • 373
3 votes
2 answers

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 ...
Michael Ogorkovyi's user avatar
5 votes
8 answers

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 ...
Med's user avatar
  • 153
3 votes
2 answers

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 ...
mowwwalker's user avatar
7 votes
4 answers

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 ...
tazboy's user avatar
  • 171
8 votes
3 answers

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. ...
Onorio Catenacci's user avatar
2 votes
1 answer

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 ...
David White's user avatar
52 votes
14 answers

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 ...
Patch's user avatar
  • 631
6 votes
4 answers

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 ...
jaia's user avatar
  • 159
4 votes
3 answers

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 ...
Peter Smith's user avatar
6 votes
3 answers

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 ...
redshift's user avatar
  • 169
24 votes
9 answers

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 ...
Henrik Hillestad Løvold's user avatar
17 votes
10 answers

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, ...
kosciCZ's user avatar
  • 173
13 votes
3 answers

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 ...
Bennett Brown's user avatar
5 votes
9 answers

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 ...
auden's user avatar
  • 4,724
10 votes
1 answer

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 ...
Tom's user avatar
  • 203