From the course: Python Essential Training

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Intro to threads and processes

Intro to threads and processes - Python Tutorial

From the course: Python Essential Training

Intro to threads and processes

- I have to come clean. Earlier in the course, well, I lied to you. You know that explanation I did about how computers operate on memory? Well it's a little more complicated than that. I know you're shocked. Shocked that an introductory explanation of computational operations might have glossed over some of the details. But I swear I'll make it up to you, don't leave. I'll tell you everything. How computers really work. You see, computers have both memory and file storage. It's like short-term and long-term memory. When we save a file and load to file from the disc, that's in storage, long-term memory. When we declare a variable in our program, that's short-term memory in the processor. It looks a bit like this. So what's the big deal? Why can't we think of both storage and memory as one big blob of accessible data? Well, let's bring in a second program. The first program saves a file to the disk. The second…

Contents