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
4 votes
5 answers
122 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 ...
user avatar
  • 141
2 votes
0 answers
41 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 ...
user avatar
  • 469
0 votes
0 answers
64 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 ...
user avatar
0 votes
1 answer
94 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 ...
user avatar
1 vote
1 answer
153 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 ...
user avatar
4 votes
1 answer
71 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 ...
user avatar
  • 141
2 votes
2 answers
110 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 ...
user avatar
0 votes
1 answer
169 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 ...
user avatar
3 votes
5 answers
390 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?
user avatar
2 votes
4 answers
111 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 ...
user avatar
  • 23
5 votes
2 answers
250 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 ...
user avatar
5 votes
7 answers
509 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 ...
user avatar
  • 1,388
2 votes
1 answer
251 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 ...
user avatar
15 votes
8 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, ...
user avatar
  • 373
3 votes
2 answers
239 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 ...
user avatar
5 votes
8 answers
616 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 ...
user avatar
  • 153
3 votes
2 answers
89 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 ...
user avatar
7 votes
4 answers
220 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 ...
user avatar
  • 171
8 votes
3 answers
342 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. ...
user avatar
2 votes
1 answer
112 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 ...
user avatar
53 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 ...
user avatar
  • 641
6 votes
4 answers
323 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 ...
user avatar
  • 159
4 votes
3 answers
400 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 ...
user avatar
6 votes
3 answers
429 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 ...
user avatar
  • 169
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 ...
user avatar
17 votes
10 answers
6k 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, ...
user avatar
  • 173
13 votes
3 answers
480 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 ...
user avatar
5 votes
9 answers
402 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 ...
user avatar
  • 4,684
10 votes
1 answer
257 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 ...
user avatar
  • 203