# Python

**URL:** https://forum.codewithmosh.com/c/python/5.md

[Latest](https://forum.codewithmosh.com/latest.md) · [Categories](https://forum.codewithmosh.com/categories.md)

---

## [About the Python category](https://forum.codewithmosh.com/t/about-the-python-category/13)

<div class="topic-metadata">

**Author:** [@Mosh](https://forum.codewithmosh.com/u/Mosh)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 10:23pm UTC](https://forum.codewithmosh.com/t/about-the-python-category/13 "2020-10-22T22:23:32Z")

</div>

---

## [Downloading transaction.xlsx](https://forum.codewithmosh.com/t/downloading-transaction-xlsx/15778)

<div class="topic-metadata">

**Author:** [@Shirimoney](https://forum.codewithmosh.com/u/Shirimoney)\
**Replies:** 5\
**Last updated:** [November 3, 2026, 1:57am UTC](https://forum.codewithmosh.com/t/downloading-transaction-xlsx/15778 "2026-11-03T01:57:39Z")

</div>

Hey there! am a novice in python can anyone help me with downloading the transactions.xlsx file or even send me via my email jerryemil01@gmail.com?

---

## [Really Need help Learning Python](https://forum.codewithmosh.com/t/really-need-help-learning-python/72118)

<div class="topic-metadata">

**Author:** [@Kong](https://forum.codewithmosh.com/u/Kong)\
**Replies:** 4\
**Last updated:** [November 1, 2026, 7:23pm UTC](https://forum.codewithmosh.com/t/really-need-help-learning-python/72118 "2026-11-01T19:23:01Z")

</div>

I understand it when I see it on the board, but when it comes to coding it in the terminal, I freeze. Is there anyone out there who can help me and get me to a good standard fast, as I am on an AI engineering course and…

---

## [Does python course have all stuff needed for ML specialization?](https://forum.codewithmosh.com/t/does-python-course-have-all-stuff-needed-for-ml-specialization/73184)

<div class="topic-metadata">

**Author:** [@amrhesham](https://forum.codewithmosh.com/u/amrhesham)\
**Replies:** 1\
**Last updated:** [November 1, 2026, 7:21pm UTC](https://forum.codewithmosh.com/t/does-python-course-have-all-stuff-needed-for-ml-specialization/73184 "2026-11-01T19:21:16Z")

</div>

Does python course cover everything needed for ML specialization? Like Numpy, Pandas, Matplotlib & Seaborn, Scikit, Tensorflow… etc need urgent help before refund deadline pls.

---

## [Password Generator \[Exercise\]](https://forum.codewithmosh.com/t/password-generator-exercise/28690)

<div class="topic-metadata">

**Author:** [@kevinhu](https://forum.codewithmosh.com/u/kevinhu)\
**Replies:** 3\
**Last updated:** [October 27, 2026, 11:54pm UTC](https://forum.codewithmosh.com/t/password-generator-exercise/28690 "2026-10-27T23:54:08Z")

</div>

A password generator that creates random, secure passwords based on user-defined criteria such as length and inclusion of special characters. Ensuring that the generated passwords are strong and meet the specified requir…

---

## [ERROR,#python #need help](https://forum.codewithmosh.com/t/error-python-need-help/73381)

<div class="topic-metadata">

**Author:** [@Grayson](https://forum.codewithmosh.com/u/Grayson)\
**Replies:** 0\
**Last updated:** [October 17, 2026, 8:55am UTC](https://forum.codewithmosh.com/t/error-python-need-help/73381 "2026-10-17T08:55:33Z")

</div>

hey guys my pycharm is not working properly. It shows this line when I run my code

---

## [Can't have access to my paid course](https://forum.codewithmosh.com/t/cant-have-access-to-my-paid-course/73195)

<div class="topic-metadata">

**Author:** [@amrhesham](https://forum.codewithmosh.com/u/amrhesham)\
**Replies:** 1\
**Last updated:** [August 24, 2026, 4:29pm UTC](https://forum.codewithmosh.com/t/cant-have-access-to-my-paid-course/73195 "2026-08-24T16:29:05Z")

</div>

i can’t have access to my python paid course

---

## [Help please about: the Python course](https://forum.codewithmosh.com/t/help-please-about-the-python-course/73065)

<div class="topic-metadata">

**Author:** [@GLO](https://forum.codewithmosh.com/u/GLO)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 12:02pm UTC](https://forum.codewithmosh.com/t/help-please-about-the-python-course/73065 "2026-10-29T12:02:29Z")

</div>

Hi everyone, Is the Python Complete Course updated? I’m interested in buying it, but I noticed the introduction is from 2018 and mentions Python 3. Since it’s 2026 now, I was wondering if the course is still up to date. …

---

## [Should I must take the fundamentals?](https://forum.codewithmosh.com/t/should-i-must-take-the-fundamentals/73034)

<div class="topic-metadata">

**Author:** [@carlos\_bedoya](https://forum.codewithmosh.com/u/carlos_bedoya)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 11:54pm UTC](https://forum.codewithmosh.com/t/should-i-must-take-the-fundamentals/73034 "2026-10-27T23:54:49Z")

</div>

Hi team, one question. I want to learn to code. Is it necessary to do the https://codewithmosh.com/p/fundamentals, or is it ok starting directly with Python Mastery from Mosh? Thanks in advance. Carlos

---

## [Single point return or multiple return?](https://forum.codewithmosh.com/t/single-point-return-or-multiple-return/72939)

<div class="topic-metadata">

**Author:** [@wullie](https://forum.codewithmosh.com/u/wullie)\
**Replies:** 2\
**Last updated:** [June 29, 2026, 6:26pm UTC](https://forum.codewithmosh.com/t/single-point-return-or-multiple-return/72939 "2026-06-29T18:26:56Z")

</div>

What is the better choice: single point return or multiple return functions? ##---------------------------- exercise def fizz\_buzz(input): # single point return if input % 3 == 0 and input % 5 == 0: result…

---

## [Python Study Buddy](https://forum.codewithmosh.com/t/python-study-buddy/71947)

<div class="topic-metadata">

**Author:** [@Ariyan01](https://forum.codewithmosh.com/u/Ariyan01)\
**Replies:** 5\
**Last updated:** [October 23, 2026, 1:36pm UTC](https://forum.codewithmosh.com/t/python-study-buddy/71947 "2026-10-23T13:36:03Z")

</div>

I am learning Python. Is there anubody who wants to be my stdy buddy. I am very eager for a partner.

---

## [Python Adding Home Page](https://forum.codewithmosh.com/t/python-adding-home-page/72412)

<div class="topic-metadata">

**Author:** [@rjjski](https://forum.codewithmosh.com/u/rjjski)\
**Replies:** 1\
**Last updated:** [March 28, 2026, 5:56pm UTC](https://forum.codewithmosh.com/t/python-adding-home-page/72412 "2026-03-28T17:56:57Z")

</div>

I have been working on completing the Python Mastery course and I’m stuck on the adding a home page section. I’m receiving a No Reverse Match error. I have gone back and double checked the code and all seems correct. Th…

---

## [Setting up VS Code](https://forum.codewithmosh.com/t/setting-up-vs-code/72403)

<div class="topic-metadata">

**Author:** [@ismailayahaya](https://forum.codewithmosh.com/u/ismailayahaya)\
**Replies:** 0\
**Last updated:** [March 26, 2026, 4:22am UTC](https://forum.codewithmosh.com/t/setting-up-vs-code/72403 "2026-03-26T04:22:36Z")

</div>

Hello everyone, Can someone help with setting up my VS code editor, so I see only the clean output and do python directories? Thank you

---

## [VS code using Cpython MacOs User](https://forum.codewithmosh.com/t/vs-code-using-cpython-macos-user/72294)

<div class="topic-metadata">

**Author:** [@Sherwin](https://forum.codewithmosh.com/u/Sherwin)\
**Replies:** 0\
**Last updated:** [February 20, 2026, 1:26pm UTC](https://forum.codewithmosh.com/t/vs-code-using-cpython-macos-user/72294 "2026-02-20T13:26:49Z")

</div>

Hi everyone. I need a simple help. If I run my python program the output dislplays on the “terminal panel.” How can i display the program output on the “Output panel” like Mosh is doing on his tutorial. I’m using MacOS

---

## [Am a beginner in Python](https://forum.codewithmosh.com/t/am-a-beginner-in-python/72230)

<div class="topic-metadata">

**Author:** [@Logic](https://forum.codewithmosh.com/u/Logic)\
**Replies:** 2\
**Last updated:** [February 20, 2026, 11:36am UTC](https://forum.codewithmosh.com/t/am-a-beginner-in-python/72230 "2026-02-20T11:36:58Z")

</div>

Am a typical beginner in Python, who will help me please

---

## [Phyton Complete Mastery](https://forum.codewithmosh.com/t/phyton-complete-mastery/72283)

<div class="topic-metadata">

**Author:** [@Sherwin](https://forum.codewithmosh.com/u/Sherwin)\
**Replies:** 0\
**Last updated:** [February 18, 2026, 5:33pm UTC](https://forum.codewithmosh.com/t/phyton-complete-mastery/72283 "2026-02-18T17:33:47Z")

</div>

In the exercise of control flow, I’ve got the output but I have different code hahaha :slight\_smile: just sharing. count = 1 for number in range(1, 10): if number % 2 == 0: print(number) count = number // 2 print(…

---

## [Greetings everyone. I'm new in this platform](https://forum.codewithmosh.com/t/greetings-everyone-im-new-in-this-platform/72276)

<div class="topic-metadata">

**Author:** [@Amicable](https://forum.codewithmosh.com/u/Amicable)\
**Replies:** 0\
**Last updated:** [February 17, 2026, 1:07pm UTC](https://forum.codewithmosh.com/t/greetings-everyone-im-new-in-this-platform/72276 "2026-02-17T13:07:48Z")

</div>

Can someone help with directions to purchasing a GitHub course. I tried but it keeps telling me “invalid card number”

---

## [Simple Calculator](https://forum.codewithmosh.com/t/simple-calculator/72123)

<div class="topic-metadata">

**Author:** [@keith1](https://forum.codewithmosh.com/u/keith1)\
**Replies:** 2\
**Last updated:** [February 14, 2026, 12:10pm UTC](https://forum.codewithmosh.com/t/simple-calculator/72123 "2026-02-14T12:10:15Z")

</div>

Mosh gave me an exercise to create a simple calculator, Ill admit this is not all my own work ( wished I could say it was) Im trying to add a while loop so that I can ask user if they would like to do another calculation…

---

## [1. Prime Numbers](https://forum.codewithmosh.com/t/1-prime-numbers/28538)

<div class="topic-metadata">

**Author:** [@kevinhu](https://forum.codewithmosh.com/u/kevinhu)\
**Replies:** 3\
**Last updated:** [February 5, 2026, 5:04am UTC](https://forum.codewithmosh.com/t/1-prime-numbers/28538 "2026-02-05T05:04:36Z")

</div>

Function that returns a list of all prime numbers up to a given number. A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. For example, 2, 3, 5, 7, and 11 are prime n…

---

## [I'm totally New Here!](https://forum.codewithmosh.com/t/im-totally-new-here/72009)

<div class="topic-metadata">

**Author:** [@Felix](https://forum.codewithmosh.com/u/Felix)\
**Replies:** 3\
**Last updated:** [January 17, 2026, 3:31pm UTC](https://forum.codewithmosh.com/t/im-totally-new-here/72009 "2026-01-17T15:31:56Z")

</div>

Hello here! After subscription for a course, do we continue accessing it forever or there’s a gestation period for it? I’ve just subscribed for python mastery, I don’t have a laptop yet but the love for the course made…

---

## [Use of Copilot?](https://forum.codewithmosh.com/t/use-of-copilot/72117)

<div class="topic-metadata">

**Author:** [@keith1](https://forum.codewithmosh.com/u/keith1)\
**Replies:** 2\
**Last updated:** [January 17, 2026, 3:29pm UTC](https://forum.codewithmosh.com/t/use-of-copilot/72117 "2026-01-17T15:29:14Z")

</div>

Every so often I get exercises from Mosh but need extra help to complete so when i get really stuck Iv been using Copilot is this wrong of me? Im trying to write down a list of steps for each program and the write the p…

---

## [Practical Experience](https://forum.codewithmosh.com/t/practical-experience/72105)

<div class="topic-metadata">

**Author:** [@Danny24](https://forum.codewithmosh.com/u/Danny24)\
**Replies:** 2\
**Last updated:** [January 12, 2026, 9:35am UTC](https://forum.codewithmosh.com/t/practical-experience/72105 "2026-01-12T09:35:16Z")

</div>

Hi, I am new to the Python course (and new to coding in general). I have got a tech background and worked in tech support for a number of news but wanted to learn something new I am working through the Pyhon course, and…

---

## [Newbie struggling](https://forum.codewithmosh.com/t/newbie-struggling/72008)

<div class="topic-metadata">

**Author:** [@keith1](https://forum.codewithmosh.com/u/keith1)\
**Replies:** 7\
**Last updated:** [January 1, 2026, 7:54am UTC](https://forum.codewithmosh.com/t/newbie-struggling/72008 "2026-01-01T07:54:38Z")

</div>

Hi all Im new to Python and programming in general, at 57 years of age Im struggling in remembering some of the basics. Any suggestions that will help me remember basic layouts of programs, how to remember the order of…

---

## [VS Code/ Terminal and Output](https://forum.codewithmosh.com/t/vs-code-terminal-and-output/10535)

<div class="topic-metadata">

**Author:** [@uLN](https://forum.codewithmosh.com/u/uLN)\
**Replies:** 5\
**Last updated:** [December 8, 2025, 3:01am UTC](https://forum.codewithmosh.com/t/vs-code-terminal-and-output/10535 "2025-12-08T03:01:43Z")

</div>

Why am I ending up seeing the running code on TERMINAL, meanwhile Josh’s code is on OUTPUT? TERMINAL has got unnecessary things/information. I would like to have an output like Josh’s. Like you see the running code onl…

---

## [Python 2d array indexing problem](https://forum.codewithmosh.com/t/python-2d-array-indexing-problem/71882)

<div class="topic-metadata">

**Author:** [@codenewb](https://forum.codewithmosh.com/u/codenewb)\
**Replies:** 0\
**Last updated:** [November 26, 2025, 4:40am UTC](https://forum.codewithmosh.com/t/python-2d-array-indexing-problem/71882 "2025-11-26T04:40:54Z")

</div>

Hi, I am attempting to create a 2d list consisting of int values and floats, taken from an object in a list of objects. My code looks like this: while c \< (len(object\_list)-1): a\_list = \[\] b\_list = \[\] c\_l…

---

## [What did I do wrong here?](https://forum.codewithmosh.com/t/what-did-i-do-wrong-here/71836)

<div class="topic-metadata">

**Author:** [@marwan10](https://forum.codewithmosh.com/u/marwan10)\
**Replies:** 2\
**Last updated:** [November 20, 2025, 12:06pm UTC](https://forum.codewithmosh.com/t/what-did-i-do-wrong-here/71836 "2025-11-20T12:06:12Z")

</div>

Hi Folks, Really excited with my Python journey. Please check the attached photos? I did everything similar to Mosh! But giving error every time! What did I do wrong here?

---

## [PyCharm - VSCode in python mastery course](https://forum.codewithmosh.com/t/pycharm-vscode-in-python-mastery-course/71647)

<div class="topic-metadata">

**Author:** [@Logmans\_VII](https://forum.codewithmosh.com/u/Logmans_VII)\
**Replies:** 1\
**Last updated:** [November 19, 2025, 11:55am UTC](https://forum.codewithmosh.com/t/pycharm-vscode-in-python-mastery-course/71647 "2025-11-19T11:55:00Z")

</div>

Hello there, I’m a complete beginner to programming. The course ‘Complete Python Mastery ‘ gives me a free Pro subscription for PyCharm, but it uses VSCode. It is a real struggle to follow the course in PyCharm, so sho…

---

## [Learn ai machine engineering as a novice](https://forum.codewithmosh.com/t/learn-ai-machine-engineering-as-a-novice/71426)

<div class="topic-metadata">

**Author:** [@Olalekan77](https://forum.codewithmosh.com/u/Olalekan77)\
**Replies:** 1\
**Last updated:** [November 15, 2025, 10:21am UTC](https://forum.codewithmosh.com/t/learn-ai-machine-engineering-as-a-novice/71426 "2025-11-15T10:21:45Z")

</div>

I want to learn Ai machine engineering, and I am completely a novice and don’t know how to navigate to the right course here. Can anyone help?

---

## [Str object is not callable](https://forum.codewithmosh.com/t/str-object-is-not-callable/71792)

<div class="topic-metadata">

**Author:** [@Alex](https://forum.codewithmosh.com/u/Alex)\
**Replies:** 0\
**Last updated:** [November 10, 2025, 8:32pm UTC](https://forum.codewithmosh.com/t/str-object-is-not-callable/71792 "2025-11-10T20:32:22Z")

</div>

hello team, I am just starting python with no programing experience, can someone look into this error message for me please. def greet(first\_name, last\_name): print(f"Hi {first\_name} {last\_name}"). # line 65 print(“yo…

---

## [Transaction.xlsx file](https://forum.codewithmosh.com/t/transaction-xlsx-file/71727)

<div class="topic-metadata">

**Author:** [@zack](https://forum.codewithmosh.com/u/zack)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 2:14pm UTC](https://forum.codewithmosh.com/t/transaction-xlsx-file/71727 "2025-10-24T14:14:34Z")

</div>

hello. ms mosh . can u send me the files I didn’t found him on the YouTube video :waving\_hand:

[Next page](https://forum.codewithmosh.com/c/python/5.md?page=1)
