Python Forum
[split] Python Class Problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Python Class Problem
#11
(Apr-29-2020, 08:01 AM)astral_travel Wrote: but programs are mechanical aren't they ?
Really don't understand what you mean by that

it's a bunch of instruction to be executed by the CPU. It may be written in high-level language like python or low-level like assembler, but generally at the end all it ends as bunch of 1s and 0s (machince code)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#12
well i think eventually i got to the solution myself, that programs are part abstract & part mechanical...and it's the combination of both that creates the functionality needed...

i mean, if i approach the coding of a program as being a machine like - it simplifies the approach...

i mean - it might have sounded stupid - but it makes a whole lot more sense eventually to think of it this way...that the program itself - is a machine...
Reply
#13
(Apr-29-2020, 08:20 AM)astral_travel Wrote: think of it this way...that the program itself - is a machine...

The program is a set of instructions followed by a machine(your computer).
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Class test : good way to split methods into several files paul18fr 4 402 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  [split] Class takes no arguments bily071 2 597 Oct-23-2023, 03:59 PM
Last Post: deanhystad
  Practice problem using lambda inside the class jagasrik 3 2,106 Sep-12-2020, 03:18 PM
Last Post: deanhystad
  Python Class Problem JPCrosby 2 2,230 Apr-28-2020, 06:18 PM
Last Post: buran
  Class problem duckduck23 2 1,973 Feb-10-2020, 08:52 PM
Last Post: jefsummers
  Class code problem from CS Dojo YouTube Dixon 3 2,216 Feb-04-2020, 10:23 PM
Last Post: snippsat
  Class Problem scratchmyhead 3 2,258 Nov-19-2019, 08:28 AM
Last Post: Larz60+
  split by character class Skaperen 3 2,290 Jul-15-2019, 02:29 AM
Last Post: Skaperen
  re.split multiple delimiters problem gw1500se 2 3,563 Jun-24-2019, 02:43 PM
Last Post: gw1500se
  problem with class method AmirAB 3 3,329 Feb-13-2019, 01:51 AM
Last Post: AmirAB

Forum Jump:

User Panel Messages

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