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
  Practice problem using lambda inside the class jagasrik 3 540 Sep-12-2020, 03:18 PM
Last Post: deanhystad
  Python Class Problem JPCrosby 2 784 Apr-28-2020, 06:18 PM
Last Post: buran
  Class problem duckduck23 2 726 Feb-10-2020, 08:52 PM
Last Post: jefsummers
  Class code problem from CS Dojo YouTube Dixon 3 783 Feb-04-2020, 10:23 PM
Last Post: snippsat
  Class Problem scratchmyhead 3 875 Nov-19-2019, 08:28 AM
Last Post: Larz60+
  split by character class Skaperen 3 788 Jul-15-2019, 02:29 AM
Last Post: Skaperen
  re.split multiple delimiters problem gw1500se 2 1,711 Jun-24-2019, 02:43 PM
Last Post: gw1500se
  problem with class method AmirAB 3 1,417 Feb-13-2019, 01:51 AM
Last Post: AmirAB
  [split] python class JPan 6 1,656 Aug-19-2018, 04:58 PM
Last Post: JPan
  Encode string split problem sripylearn 3 1,640 Aug-14-2018, 02:42 PM
Last Post: buran

Forum Jump:

User Panel Messages

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