Question
For this activity, you'll research potential libraries or modules to use that are compatible with PythonAnywhere to help you script using the data required. Step
For this activity, you'll research potential libraries or modules to use that are compatible with PythonAnywhere to help you script using the data required.
Step 1: Find Compatible Libraries
A client has requested a script that makes use of geographical location data such as a location's latitude and longitude. The client also needs to be able to reference data such as street names and ZIP Codes.
In PythonAnywhere, pre-included and importable libraries are referred to as modules. Using the following "Batteries Included" page from the PythonAnywhere documentation, navigate through the list of available modules for some that you believe would help access the necessary data.
Note: You can click on a module name to learn more about it. You may want to search for terms such as "geo" to find modules related to geolocation.
Step 2: Choose Your Libraries
Choose a library you think would work best along with two more libraries that you would consider using for added features or as an alternative to the first choice. It's always good to have a backup plan in case one technology doesn't work out the way you had hoped!
Create a new document. Then, for each library, describe the relevant functions it enables. Next, explain why you think each of them would be a useful library to include. Be descriptive in your explanations.
Step 3: Test Your Module!
Time to test it out! Create a new script in PythonAnywhere named librarytest.py.
Navigate to the library's documentation and perform a function. It doesn't need to be related to the first prompt directly but, rather, should show that the library was imported and is functioning properly. You may need to research within the library's documentation a little bit to find sample code to use.
Step by Step Solution
3.36 Rating (162 Votes )
There are 3 Steps involved in it
Step: 1
While I cant access realtime resources such as the PythonAnywhere Batteries Included page I can provide you with guidance and potential libraries modules you might find there or elsewhere which are ge...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started