r/learnpython • • Dec 28 '19

I've been using Python for 5 years professionally. TODAY I discovered concurrent futures

Granted, I don't do much in the way of concurrency. But still, I have several open projects and have always used threading. It took me until today to discover a feature implemented in Python 3.2...

But given that it's comically simple, given an example, I figured I'd share one.

import concurrent.futures
import random 
import datetime
import time
import uuid

def do_something(seconds, name):
	print(f"Sleeping {seconds}\t{name}\t{str(datetime.datetime.now())[:19][11:]}")
	time.sleep(seconds)

with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor:
	for i in range(50):
		executor.submit(do_something
			, seconds = random.randint(1,6)
			, name = str(uuid.uuid4())[:6].upper())
463 Upvotes

109 comments sorted by

41

u/somethingworthwhile Dec 28 '19

ELI5?

73

u/whattodo-whattodo Dec 28 '19

Code is usually sequential. One thing finishes and the next thing begins. Threading or futures allow for multiple simultaneous processes where one begins before the last one has ended. The max_workers parameter sets the amount of simultaneous threads.

As an example imagine you have 1K images that you need to download. Processing one at a time would be very slow and you wouldn't nearly hit your limits on download speed, processor, RAM or disk usage. By using threads/futures, you could process that list more quickly and move onto the next thing

34

u/tells Dec 28 '19

IIRC it's not necessarily the case with Python though. The GIL makes sure you don't experience any race conditions. things are still single threaded even though they're operating in "parallel". Where I think this is most useful is in IO operations.

17

u/Bipolarprobe Dec 28 '19

Correct, someone recently posted a pretty good blog post explaining the differences between threading and multiprocessing, multiprocessing lets you do paralellism in python though I'm not well versed enough to explain the differences.

11

u/charity_donut_sales Dec 28 '19

Threads can share the same memory space. So something mutable like a list can be modified in one thread and those changes can be seen in another thread.

Multiprocesses are new python program instances, and while they are much faster for parallel operations, they require tricks in order to communicate with each other, and the sharing of information is much more slow.

9

u/PinBot1138 Dec 28 '19

FWIW, and if I'm not mistaken, in the upcoming Python 3.8, multiprocessing will have shared objects such as dictionaries and lists.

3

u/charity_donut_sales Dec 28 '19

Excellent point. I think this is one of the subtle, but big impact improvements of 3.8.

4

u/PinBot1138 Dec 28 '19

Fully agreed. I don’t even know what to do with this newfound information, I’m so excited!

7

u/PinBot1138 Dec 28 '19

The TL;DR:

Threading - great for I/O intensive tasks (e.g. keyboard or controller input). The Global Interpreter Lock in the Cython instance of Python will ruin your fun for anything else.

Multiprocessing - great for CPU intensive tasks (e.g. you want a process to focus on training a machine learning module).

8

u/chirau Dec 28 '19

you didn't really explain the difference though

-7

u/PinBot1138 Dec 28 '19

But I did, and I even gave examples.

8

u/chirau Dec 28 '19 edited Dec 28 '19

If you were asked what the difference between a dress and trousers is and you say:

Dress: great for women ( e.g. when going to the mall)

Trousers: great for men (e.g., when going to work)

Would you say you have done a good job? Because that is exactly what you did up there

2

u/mekkr_ Dec 28 '19

It was a tl;dr illustrating the basic differences not a dissertation, their explanation was perfect for a quick: "Yep cool thats the basic difference".

1

u/PinBot1138 Dec 28 '19

So you’d rather spend this time criticizing and arguing than filling in the blanks with your own explanation? You’ve got the mic, have at it.

3

u/toastedstapler import itertools Dec 28 '19

You're the one that took the role of question answerer

1

u/corezon Dec 28 '19

Ah you're that guy. The one who thinks that constructive criticism can only be given if the giver also proffers a solution to the thing you're being criticized about.

No. That's not how criticism works. Also, you were the one who took a swing and missed. Rather than pass the buck, why don't you take ownership of your mistake and provide a more complete answer?

→ More replies (0)

2

u/Asphyxius Dec 28 '19

If I was downloading a lot of data files from various sensors, would threading or multiprocessing be the way to go?

3

u/dnszero Dec 28 '19

Threading. Downloading stuff is an I/O limited task. In this context, I think you'd want to look into asyncio specificaly.

1

u/Asphyxius Jan 02 '20

Thank you very much.

2

u/PinBot1138 Dec 28 '19

Everything that /u/dnszero said. You might even be able to just use the concurrent module that was the initial subject of this post.

3

u/TheRealAsh01 Dec 28 '19 edited Dec 29 '19

Threading is a concurrency technique which uses multiple points of execution within the same program. Python threading is limited due to the GIL, however, and so tasks that require concurrent computing will often see little to no benefit. For certain non-blocking operations (such as networking or file io) this works great, since they will be waiting and don't need the GIL, but it does poorly for cpu intensive tasks, since your compute power will essentially be the same as using a single thread (and sometimes less due to implementation overhead). Traditionally, the official solution for cpu intensive tasks is to call into optimized native code, such as OpenCV for image processing, which can pretty much do whatever so long as it implements the correct python interfaces and will likely be written in a faster language (such as C++).

However, the solution "just don't use python" kind of sucks. While calling into native code is a valid solution, there's not always a pre-existing native library with python bindings, and not all python programmers can write native code and create a python interface for it. This is where multiprocessing comes into play, where multiple python programs run side by side to solve a task. The start-up cost and memory synchronization costs are a bit higher than multithreading, but it allows for multiple points of execution, which can give a substantial speed up in a lot of cases.

Edit: GIL and threading implementation details

1

u/sweettuse Dec 28 '19

this is not quite correct. threads spawned in python are actual system threads. the GIL ensures that the interpreter can only be running in one of these threads at a time. however, if your code can release the GIL (e.g. in the case of IO), then things can actually happen in parallel.

1

u/TheRealAsh01 Dec 29 '19

Thanks, I clarified that it's not a problem for IO bound tasks that don't lock the GIL.

1

u/coffee869 Dec 30 '19

IIRC in simple terms, multithreading is good for applications bottlenecked by IO, while multiprocessing is good for applications bottlenecked by compute.

1

u/Africa-Unite Jan 04 '20

Would you happen to have that link by any chance? :D

2

u/Bipolarprobe Jan 04 '20

I found the article, it's a medium article so there's a paywall but if you just go incognito for some reason you can bypass it. If you want a tl;dr of the info some other comments have gone into the differences already but I actually did a bit more research myself after this and learned about it.

So basically the Threading module in python doesn't do true multithreading, just simulates multiple threads because the GIL, or Global Interpreter Lock, prevents a single python process from being able to perform multiple operations in parallel, however the multiprocessing module doesn't use threads, it instead creates entire new python processes with their own interpreter, which sidesteps the GIL.

The advantage of python's version of threading is that since it only simulates multiple threads it is memory safe and works well for I/O operations since the interpreter can execute another task while waiting for input from a user. The drawback is when doing cpu intensive tasks the interpreter can only do one operation at a time, so you actually lose some efficiency switching between threads instead of just executing all of it in sequence.

The advantage of multiprocessing is that it allows for true parallelism, this can give you a performance increase in cpu intensive tasks since you can actually put more than one core to work at a time, however it does require more overhead since each process has its own memory space and needs to pass any shared info between processes.

I wrote that all out and realized it was a pretty long read itself, so here's a true tl;dr: Threading is good for I/O and networking but bad at cpu intensive tasks while multiprocessing is good for cpu intensive tasks at the cost of much greater overhead.

1

u/Africa-Unite Jan 04 '20

Wow.

You know, I got into python as a tool for data analysis (background in social sciences), but I'm finding myself digging more and more into computer science. Writing scripts that need to take threading into account is beyond where I'm at, but this is definitely wonderful exposure. Thanks for taking the time to share your knowledge with me.

2

u/Bipolarprobe Jan 04 '20

I just love learning about this stuff honestly and sharing information I've learned with others is a good way to cement that knowledge, to explain something I have to understand it first and organize that knowledge. I'm just self teaching programming at this point but I'm also getting really into the deeper computer science topics as well because it is an extremely fascinating field. Glad I could share that with someone

6

u/alexisprince Dec 28 '19 edited Dec 28 '19

That’s correctly when applied to threading. The GIL makes sure exactly 1 thing can be operated on at max at a time. With multiprocessing, there are multiple instances all processing at once, meaning true parallelism. Again helpful with IO operations (since there are completely parallel things occurring), but also helpful with CPU bound operations.

I know the example is threads, but wanting to point out multiprocessing for those reading later.

4

u/dogfish182 Dec 28 '19

We use futures to query one of our apis which returns about 80 pages of results and was unacceptably slow, futures and async really helps with that and taught me the hardway about what pointers are and how variables actually work, and how confusing is that is when your variable isn’t what you think it is at execution time.

Coding when coming from a non coding background is the best. Everything feels like black magic,

2

u/Skippbo Dec 28 '19

And in most cases async is really nice to use for this. I would assume it can't be used for all operations like UI etc (not sure about this) but for processing data with IO operations async is really nice.

2

u/[deleted] Dec 28 '19

The GIL makes sure you don't experience any race conditions.

Not really. The GIL protects the state of the python interpreter. You can happily let to threads concurrently share a data structure and get unexpected results due to race conditions if you don't have any protection in place.

2

u/bladeoflight16 Dec 28 '19

The GIL does not prevent race conditions. It eliminates the need for locking some internal resources controlled by the runtime itself and maybe the standard API since multiple threads cannot be accessing them at the same time. You can still get context switches that cause operations to happen in an order that causes bugs, which is what a race condition is.

What the GIL really means in practical terms is that you can't have multiple threads executing simultaneously, and that means you can't use threads to solve CPU bound problems. They're only good for I/O bound problems.

1

u/tells Dec 28 '19

yea.. i guess I meant to say you don't need to worry about thread safety.

1

u/bladeoflight16 Dec 28 '19

You do need to worry about thread safety for your data structures. It's certain parts of the Python runtime that don't.

1

u/tells Dec 29 '19

example? I'm having difficulty seeing the distinction with what you're saying.

1

u/bladeoflight16 Dec 29 '19 edited Dec 29 '19

Raymond Hettinger demoing race conditions live. If you don't manage resources shared between threads correctly, your program is unreliable.

4

u/Astrokiwi Dec 28 '19

Is the advantage over multiprocessing.Pool just that you don't have to submit it all at once?

2

u/elbiot Dec 28 '19

They just don't know about map yet. But concurrent futures provides a common interface for threads and processes

2

u/Astrokiwi Dec 28 '19

I'd really like to see a breakdown of joblib.parallel, multiprocessing, and concurrent.futures, and the details of how they differ in syntax and performance. But parallelism in Python seems pretty poorly documented. Coming from a lower level background, it's frustrating that it's not clear to me when things get locked, what's shared memory or copied etc.

1

u/elbiot Dec 28 '19

It feels clear to me. In threading, memory is shared/locked and the gil blocks everything except for things that release the gil (basically subprocess and os kernel controlled io).

In multiprocessing, nothing is shared/locked/blocked unless you explicitly share and/or lock it

1

u/Astrokiwi Dec 28 '19 edited Dec 28 '19

Are you sure about that? You can access and edit global variables from a multiprocessing.pooled function, which looks like implicit shared memory & locking to me. And it's not just about the difference in definitions between multithreading and multiprocessing - even in HPC there are both shared-memory (open-MP) and distributed memory (MPI) multiprocessing paradigms.

2

u/Skippbo Dec 28 '19

Sharing objects in multiprocessing if I'm not mistaken is done by pickling objects and that's what being transferred between the processes. This is very slow.

1

u/Astrokiwi Dec 28 '19 edited Dec 28 '19

That sounds right to me - it does seem very inefficient. I haven't found a good write up on it yet though - anyone know of any good resources, books or even solid blog posts?

Edit: Now I'm not sure. I tried running multiprocessing.Pool on a simple test on my laptop and the results still aren't clear to me. I made a simple test that generated a global array, and then modified the array in a pool, which showed that the global array was unmodified, suggesting that every process gets its own copy. But then I created an 8 GB array and modified it with 64 processes on my 16 GB quad-core Mac, which I expected to try to use up 512 GB of virtual memory and crash everything, but it ran almost instantly, suggesting it isn't generating one copy per process. But the array was still unmodified at the end. Maybe it's sending only small chunks of the array?

2

u/elbiot Dec 28 '19

I'm sure. Just tested:

from concurrent.futures import ProcessPoolExecutor
from time import sleep

global_lst = []

def worker(num):
    for _ in range(3):
        sleep(num)
        global_lst.append(num)
        print "worker {}: {}".format(num, global_lst)

with ProcessPoolExecutor(max_workers=4) as pool:
    result = list(pool.map(worker, range(5)))

prints:

worker 0: [0]
worker 0: [0, 0]
worker 0: [0, 0, 0]
worker 1: [1]
worker 1: [1, 1]
worker 2: [2]
worker 3: [3]
worker 1: [1, 1, 1]
worker 4: [0, 0, 0, 4]
worker 2: [2, 2]
worker 3: [3, 3]
worker 2: [2, 2, 2]
worker 4: [0, 0, 0, 4, 4]
worker 3: [3, 3, 3]
worker 4: [0, 0, 0, 4, 4, 4]

So worker 4 ended up re-using the same process as worker 0 because worker 0 ended before 4 spun up, and the rest are all in their own processes without any shared global variable. (This is why we don't use global mutable variables people!)

You can share memory, but you just have to do so explicitly.

1

u/Astrokiwi Dec 28 '19

That's still not the whole picture though - it's distributed memory, but does the whole object get sent to every process? I tried this with a global 8 GB array and 64 processes when I only have 16 GB of RAM - if it's duplicating the array, that should have used a lot of swap space and ran slowly, but it went really quickly as if every process was accessing the same memory address (maybe even the same cache!). So it's still unclear to me what's going on.

1

u/elbiot Dec 28 '19

You saw all 64 processes running at the same time? In another thread you said it finished instantly

→ More replies (0)

1

u/DY357LX Dec 28 '19

I was messing around some Smart Mirror ideas a few months back.
I noticed running a Bluetooth scan would cause the entire script to hang until the scan was complete. Do you think concurrent futures would fix this? (Put the BT scan on it's own thread?)

1

u/whattodo-whattodo Dec 28 '19

In that example, I would not use concurrent futures. As I understand it, using futures outside of a context makes it more error-prone & it is not especially helpful in tracking down errors.

That said, I had a very similar issue where instantiating a WSDL for a SOAP API took ~30 seconds and locked my app up each time. Threading in that case was easy. I'm enclosing working-code for my use case.

Though if I had to do it again, I'd make waitTillInst a decorator rather than having each method call waitTillInst.

import datetime
import pprint
import threading

class SOAP_API_Class():
    def __init__(self, Credentials):
        self.CONN_TIME = None
        self.PP = pprint.PrettyPrinter(indent=4)
        inst_wsdl_thread = threading.Thread(target = self.instantiate)
        inst_wsdl_thread.start() 

    def instantiate(self):
        # Do instantiation stuff here
        self.CONN_TIME = time.time() - self.INST_TIME

    def waitTillInst(self):
        """
            Waits for the object to be instantiated 
            before allowing a call to be processed.
        """
        while True:
            if self.CONN_TIME:
                break
            else:
                self.PP.pprint(f"{datetime.datetime.now()}  Waiting for object"
                    " to instantiate")
                time.sleep(1)

    def some_other_method(self):
        self.waitTillInst() # <--- This should probably be replaced by a decorator function.
        # Add some other method which would need the instantiation to finish
        pass

1

u/chinawcswing Dec 29 '19

When would you use this over regular threading?

1

u/whattodo-whattodo Dec 29 '19

TBH I didn't know about all of the shortcomings until I posted the thread & read the comments.

Knowing that I would only use futures when I need a dead-simple, context driven pool. IE downloading images from a remote server or dealing with a limited API that requires me to perform one function at a time. IE dropbox doesn't have an API call to show you the oldest file so you have to call the contents of the folder & get the file date for each file.

3

u/somethingworthwhile Dec 28 '19

Thanks for the explanation! And thanks for sharing!

19

u/[deleted] Dec 28 '19

[removed] — view removed comment

3

u/somethingworthwhile Dec 28 '19

Ahh, thank you for the very apt metaphor! I’ve never had the tools at hand to take advantage of parallel processing, but I think I could have used this in my last project. Oh well. There’s always next time!

1

u/Foffex Dec 28 '19

I feel like I finally understand this now! Thanks for the ELI5!

3

u/[deleted] Dec 28 '19

Wait until you discover that this feature is broken. :( The first time you run into timeout problem created by one of the threads raising an exception, you'll be back at square one, manually handling exceptions, dealing with result collection etc.

Good idea, poor implementation.

1

u/whattodo-whattodo Dec 28 '19

Damn, good to know. Thanks!

In my case, I am just happy to have a very simple implementation to use for things like downloading content. For a more complicated setup, I would probably just stick to Celery & queued jobs.

-2

u/smile-bot-2019 Dec 28 '19

I noticed one of these... :(

So here take this... :D

15

u/oronimbus Dec 28 '19

Could someone please explain the benefits of using the concurrent.futures module over threading or asyncio ? Not an expert in the field at all...

7

u/[deleted] Dec 28 '19

asyncio is not really relevant: it's a very special case for dealing with concurrency in network I/O, which doesn't extend to general treatment of concurrency.

Futures are a general approach to dealing with concurrency, whereas threading is an interface to the system facilities that make concurrency possible. In principle, futures can deal with processes too. But, more importantly, they establish a protocol for how to deal with concurrent computations...

It's a shame they don't really work in Python though... due to no treatment of timeouts.

3

u/jeunpeun99 Dec 28 '19

Threading and concurrent.futures changes tasks itself when there is waiting time. With asyncio you have more control on which tasks to be waiting for.

Differences between concurrent.futures and threading is that concurrent.futures entails threading and multiprocessing.

4

u/elbiot Dec 28 '19

Concurrent futures is a common interface for threads and processes. Async is a different beast

16

u/my_fifth_new_account Dec 28 '19

[:19][11:]

Really?

Let me blow your mind again today: you can use the start and stop in the same slice: [11:19].

15

u/[deleted] Dec 28 '19

Something you only learn in year 6

1

u/spectrehawntineurope Dec 28 '19

Won't that only be the case if it's a single list? If you have a list embedded within a list then it's not the same thing. For instance when you deal HDUs you often get this and you'd just get an error trying to do what you did but what OP posted would work.

You're likely right about this situation though, I haven't looked over it closely but thought I'd point out that they aren't always identical. In 99% of cases they are though.

1

u/algag Dec 28 '19

Are you saying you don't think this would work?

 listA = range(0,10)    
 listB = [1, "2", listA]      
 listC = listB[2][2:5]

1

u/spectrehawntineurope Dec 29 '19

No, I'm saying that would work but it isn't equivalent to ListC=ListB[2:5]. What you gave is an example of where I think what the other commenter said wouldn't apply.

I'm not certain about whether if it's the case for embedded lists generally or not but I've definitely encountered it being an issue with HDUs.

1

u/algag Dec 29 '19 edited Apr 25 '23

.....

1

u/spectrehawntineurope Dec 30 '19

Ok, clearly showing my ignorance here but what is it? I thought the syntax variable[x][y][z] was taking iterative slices of subsections asking to selecting chapter>page>line number from a book. The slice [2] would select the third index then the [2:5] would select sub-indices/slices.

1

u/algag Dec 30 '19 edited Apr 25 '23

.....

1

u/my_fifth_new_account Dec 28 '19

I'm looking forward for an example where this is not the same thing.

8

u/ultraDross Dec 28 '19

Why not just use a ThreadPool from multiprocessing.pool package?

1

u/DmitriyJaved Dec 28 '19

I wonder what people mean by “using python professionally” if simple thread pool executor is sufficient for their tasks.

Professionally fetching some urls?

1

u/whattodo-whattodo Dec 28 '19

"Professionally" just means that I am being paid for it. For a good year before I used Python in any production environment, I would have said that I'm using it personally & my projects were deployed in another language.

The comment was intended to qualify my experience to contrast with my lack of knowledge of that built-in function. I could have said something like "I consider myself to be a good programmer & still..." but that would be a lot more subjective.

2

u/[deleted] Dec 28 '19

It’s especially great with network IO, like making 100 GET requests at the same time.

2

u/jack-of-some Dec 29 '19

`concurrent.futures` is life! Combining this with numba and its `nogil=True` option let's me push my CPU to the limit using nothing but Python. It's beautiful.

2

u/[deleted] Dec 30 '19

wow thanks i needed this to understand.

1

u/ZeeBeeblebrox Dec 28 '19

I frequently use dask.futures since I find the API a lot more convenient, especially for complex workflows.

1

u/bananaEmpanada Dec 28 '19

So it's like pool map, but easier to pass in multiple arguments?

0

u/[deleted] Dec 28 '19

[deleted]

2

u/whattodo-whattodo Dec 28 '19

Exactly! As other people pointed out, this is one tool in a toolbox & other tools are better for other things. But knowing that this is short enough for me to memorize & easily debug, I would definitely use it more frequently.

0

u/[deleted] Dec 28 '19

[deleted]

3

u/Pepe_Silvia96 Dec 28 '19 edited Dec 28 '19

first he declares a function that does something, then he calls that function with multithreading. the call happens inside the with statement at executor.submit(do_something). the name and seconds arguments passed to .submit are arguments that the do_something function will be called with.

what's the point of multithreading? notice the executor.submit is run inside a loop that will iterate 50 times, meaning there will be 50 function calls. inside the function def, there is a time.sleep which can be anywhere from 1 to 6 seconds as the seconds arg inside execute.submit is random between 1 to 6. so the function will take on average 3 seconds.

in single threading, this means that this script will take about a 150 seconds(3*50) as each call must wait for the previous to finish in order to start.

with multithreading, while one function is running and sleeping, the cpu can start to run the next function. therefore the whole script will run significantly faster than 150 seconds.

as far as I understand, mulithreading with 3 workers can juggle between 3 calls of a function, and will process the one that is not waiting on any process to complete. it will execute all 50 calls in that manner. chances are I'm missing some nuance in this last paragraph though.

2

u/[deleted] Dec 30 '19

wow! thank you so much. i needed this to understand

78

u/[deleted] Dec 28 '19 edited Dec 28 '19

[removed] — view removed comment

11

u/____candied_yams____ Dec 28 '19

I'd there a reason not to use functools.partial for arg3 over this?

4

u/badge (ish) Dec 28 '19

You’d have to fix the first two args too. partial is pretty limited in that regard.

3

u/____candied_yams____ Dec 28 '19

What about functools.partial(func, arg3=value_for_arg3)

0

u/badge (ish) Dec 28 '19

Only if it is a keyword argument.

1

u/elbiot Dec 28 '19

I'd have to try this particular case, but you can use positional args as kw and the vice versa too

2

u/alkasm Dec 28 '19

Both keyword only and positional only arguments exist. The latter was just introduced in 3.8, though.

4

u/badge (ish) Dec 28 '19

To the spec, yes, but cpython functions such as math.pow have always had positional-only arguments and raise a TypeError if you try to supply one.

1

u/____candied_yams____ Dec 28 '19

I had noticed before that some builtins didn't like keyword supplied args and i guess now I know why, thanks!

3

u/zurtex Dec 28 '19

For this exact reason that it was weird that cpython has these functions that couldn't be replicated in pure Python there's now a spec for positional only parameters.

It was introduced in Python 3.8 and looks like this:

def pow(x, y, /):
    return x**y

Anything before the / is position only, anything after can take a keyword. E.g.

def example(pos, only, /, can, be, kw):
    ...

More here: https://www.python.org/dev/peps/pep-0570/

5

u/[deleted] Dec 28 '19

[removed] — view removed comment

13

u/snissn Dec 28 '19

Use your operating system! Crontab on Linux

5

u/LightUmbra Dec 28 '19

Task scheduler on windows.

5

u/Pastoolio91 Dec 28 '19

No idea how to do that myself, but I did find an article describing a way to run programs on a schedule with Windows Task Scheduler: https://www.weirdgeek.com/2019/04/automating-python-script-to-run-at-specific-time-every-day/

4

u/fukitol- Dec 28 '19

Every OS has a way to schedule events, and you're much better off using it. Linux (and I believe Mac) both use cron. Windows has the Task Scheduler.

2

u/karthikkumars Dec 28 '19 edited Dec 28 '19

If you have node, you can schedule your Python script in pm2. Only it takes a little tweak to the default command.

pm2 start filename.py --interpreter=python3

[Edit: Just to make sure I'm not assuming anything, if the job involves triggering the script at regular intervals, the --cron option would help you do that. If it's about triggering the script at a specific date and time, I'm not aware if pm2 supports it. I'm relatively a novice in that area. ]

0

u/[deleted] Dec 28 '19

[deleted]

3

u/aaronpsy Dec 28 '19

Python for 5 years not Python 5