This post uses this title

Extract specific pages of PDF and save it with Python

This post uses this title

Finding the index of an item given a list containing it in Python

Both of the examples above are "using the Python programming language".

So, when expressing "by using the Python programming language", should I use "with", "in" or something else?

1 Answer 1


There is a difference in meaning between the two given examples.

In the first case one is using python to process external data. You are processing the pdf with python.

The second is about the internal handling of data. You are writing the program in python.

There is some flexibility here, and this should not be treated as a hard "rule".

You must log in to answer this question.