Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Scratch pad for writing forum threads / posts with markdown/markup
Post: Scratch pad for writing forum threads / posts with...

What do you people use for drafting long forum threads / posts / Stack Overflow questions? For years I’ve been using Google Docs which I realize is not best practice. Punctuation like quotes wreck my...
Drone4four Bar 2 437 Feb-25-2024, 07:32 PM
    Thread: Parsing and summing time deltas (duration) onto bar + pie charts using pandas - - DRY
Post: RE: Parsing and summing time deltas (duration) ont...

Hi! Thank you for your reply, @deanhystad. Your snippet works well. Based on your feedback, plus based on a subsequent back and forth conversation I had with ChatGPT, here is the final product I settl...
Drone4four Data Science 2 594 Feb-10-2024, 06:04 PM
    Thread: Parsing and summing time deltas (duration) onto bar + pie charts using pandas - - DRY
Post: Parsing and summing time deltas (duration) onto ba...

Greetings Pythonistas! I am taking Colt Steele’s Udemy course on data analysis where he teaches his students how to parse .CSV files using pandas, plotly, matplotlib, and seaborn. I’ve watched over...
Drone4four Data Science 2 594 Feb-04-2024, 11:41 AM
    Thread: Basic binary search algorithm - using a while loop
Post: Basic binary search algorithm - using a while loop

I’m learning algorithms using Python. My latest challenge laid out by the instructor in my highly sophisticated non-accredited Udemy course content I am watching is to write a basic binary search algo...
Drone4four General Coding Help 1 361 Jan-22-2024, 12:50 PM
    Thread: Writing a Linear Search algorithm - malformed string representation
Post: RE: Writing a Linear Search algorithm - malformed ...

(Jan-08-2024, 04:39 PM)deanhystad Wrote: Try list_obj = [0, 1, 2, 3, 4] and item = 0 It seems to run for me as expected: Quote:$ python Python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC ...
Drone4four General Coding Help 10 946 Jan-08-2024, 05:09 PM
    Thread: Writing a Linear Search algorithm - malformed string representation
Post: RE: Writing a Linear Search algorithm - malformed ...

Eureka! I got it working. Using enumerate is the technique I need. This filled the gap. Here is my latest script: class LinearSearch: # This class accepts a list as input def __init__(self, ...
Drone4four General Coding Help 10 946 Jan-08-2024, 04:31 PM
    Thread: Writing a Linear Search algorithm - malformed string representation
Post: RE: Writing a Linear Search algorithm - malformed ...

Hi @deanhystad, Thank you for your feedback. (Jan-08-2024, 03:28 PM)deanhystad Wrote: What is the purpose of this class? Use in to find out if an object is in an iterable, or list.index() to find...
Drone4four General Coding Help 10 946 Jan-08-2024, 04:10 PM
    Thread: Writing a Linear Search algorithm - malformed string representation
Post: RE: Writing a Linear Search algorithm - malformed ...

Hi @EdwardMatthew. Thank you for your reply! You said: (Jan-08-2024, 01:55 PM)EdwardMatthew Wrote: If you are still facing the issue you should review your linear search algorithm's logic. I identi...
Drone4four General Coding Help 10 946 Jan-08-2024, 03:11 PM
    Thread: Writing a Linear Search algorithm - malformed string representation
Post: Writing a Linear Search algorithm - malformed stri...

I am writing a linear search algorithm. I've got the main logic under my belt but it's the string representation that I haven't got right. Below is my script and output in my REPL. When I try to searc...
Drone4four General Coding Help 10 946 Jan-08-2024, 01:28 PM
    Thread: Building a DoublyLinkedList in Python - - append method
Post: RE: Building a DoublyLinkedList in Python - - appe...

Hi @deanystad. Thank you for your reply. You are right that I wasn't calling my custom append() method properly in my shell. Not sure how I let that slip through my fingers.
Drone4four General Coding Help 2 423 Jan-08-2024, 01:27 PM
    Thread: Building a DoublyLinkedList in Python - - append method
Post: Building a DoublyLinkedList in Python - - append m...

Greetings Pythonistas! I am learning how to write basic algorithms in Python but am taking an unusual approach. I am taking a Udemy course which teaches algorithms in JavaScript. What I do is watch t...
Drone4four General Coding Help 2 423 Jan-08-2024, 10:42 AM
    Thread: "DiceGame" OOP project
Post: RE: "DiceGame" OOP project

Hi @snippsat. Thanks for your reply. I am humbled that the amount of research and effort I put into my forum thread that an experienced Python verteran like yourself found my line of questioning worth...
Drone4four Homework 6 957 Nov-15-2023, 09:24 PM
    Thread: "DiceGame" OOP project
Post: "DiceGame" OOP project

I’m learning OOP by taking Estefania Cassingena Navone's Udemy course titled: "Python OOP - Object Oriented Programming for Beginners". The first major project exercise is a rudimentary dice rolling g...
Drone4four Homework 6 957 Nov-12-2023, 01:45 PM
    Thread: Best all-Python workflow to learning basic math (eventually Data Science)
Post: Best all-Python workflow to learning basic math (e...

I’m learning basic math skills with the intention of eventually studying data science. I’m enrolled in a few courses on Udemy that I got at a discount during flash sales this past holiday season. Whil...
Drone4four News and Discussions 0 1,063 Jan-08-2023, 10:55 PM
    Thread: Setting up and integrating Jupyter Notebook development environment with VSC
Post: RE: Setting up and integrating Jupyter Notebook de...

After much wrangling with official and third party VSC extenions on the marketplace, I discovered an answer that required some very straight forward 'out of the box' problem solving: I installed the V...
Drone4four Data Science 3 1,885 Sep-12-2022, 09:18 AM
    Thread: Setting up and integrating Jupyter Notebook development environment with VSC
Post: RE: Setting up and integrating Jupyter Notebook de...

I was looking in other places online like Stack Overflow where users who had ms-python extension installed (which includes Jupyter functionality) and then had additionall stand-alone Jupyter Notebook ...
Drone4four Data Science 3 1,885 Aug-18-2022, 02:24 AM
    Thread: Setting up and integrating Jupyter Notebook development environment with VSC
Post: Setting up and integrating Jupyter Notebook develo...

Hello Pythonistas! I am trying to set up the Jupyter Notebook extension for VSCode but I can’t get my code snippets to run. If you check out this YouTube clip at exactly 1 minute and 46 seconds (he...
Drone4four Data Science 3 1,885 Aug-17-2022, 02:02 AM
    Thread: Querying Django model db - from Jose Portilla’s Udemy course
Post: Querying Django model db - from Jose Portilla’s Ud...

I’m taking a Udemy course by Jose Portilla and I am learning how to query data in my Django shell. To make things simple and straightforward, the instructor declared an age attribute for each person...
Drone4four Web Scraping & Web Development 2 1,705 Aug-01-2022, 02:12 PM
    Thread: ATM machine demo with Python and Django
Post: RE: ATM machine demo with Python and Django

Hello, Friends! I reviewed the Django docs on forms. In particular I leveraged the sections on views and on field data. Following along with these docs closely and based on what I learned, I rebuilt ...
Drone4four Web Scraping & Web Development 1 2,316 May-20-2022, 06:34 PM
    Thread: ATM machine demo with Python and Django
Post: ATM machine demo with Python and Django

This is a long post. The most important information is at the top and gradually progresses to less and less relevant information. So you don’t have to read all of it. Just start reading at the top and...
Drone4four Web Scraping & Web Development 1 2,316 May-13-2022, 07:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020