Python command line tool which finds topographical addresses based on spreadsheet data and adds postal codes automatically
Version Date: 2021-07-01
pace: approximately 1 second/row
149321073-ea311b45-3d7a-4d35-bcc9-80df0c651c82.mp4
-
if necessary, install Python on the PC if you have not already done so
-
(If necessary, prepare an Excel sheet according to the general conditions - if not already done)
-
.xlsx-Format
-
Table columns:
Name
Straße (english: street; format: street name house number)
PLZ (english: zip code (empty column))
Stadt (english: city)
-
Note: While the program is working best do not open any of the tables
-
Open "Command Prompt" (CMD).
- Press Windows key + R > type "cmd" > press Enter
-
Navigate in CMD to path where crawler files ("plzCrawler_en.py" & "plzMaker.py") and the requirements.txt are located
- Enter text according to the following pattern:
cd C:\Users\Username\Documents\plzcrawler
- Enter text according to the following pattern:
- Type the following text in CMD & press Enter (to create a virtual environment named "venv"):
py -m venv venv
- Type the following text in CMD & press Enter:
venv\Scripts\activate.bat
- Type the following text in CMD & press Enter:
pip install -r requirements.txt
- Type the following text in CMD & press Enter:
py plzMaker.py
The finished spreadsheet is in the folder of the original spreadsheet. It can be recognized by the '+PLZ' ending. The new document looks very similar to the original document and now includes the postcodes found. It may also contain information as to why individual postcodes could not be found. This project will help you to find the zipcode.