else :
print ( f "Error {response.status_code}: {response.text}" )
First, in the BASE_URL variable, we write the address of the resource from which we will receive data. Next, we define the params parameters. In them, we write the latitude and longitude of the city for which we will determine the weather. We also write in the parameters what kind of weather data we need to receive. In our case, this is the minimum and maximum temperature, as well as the expected amount of precipitation. We also need to specify the city's time zone (timezone).
Now we feed the BASE_URL variable and the params parameter list to the get method input and thus create a response. Next, using the if conditional operator, we find out whether there is a response from the server, and if there is, we create a data object. And now, using data, we can get all the data we are interested in from the server and write it to the corresponding variables. All that remains is to output it to the console using the print function.
Let's save the above source code in a file named weather.py and run the program using the command:
python3weather.py
We will get approximately the following answer:
alex@alex-pc:~$ python3 weather.py
Weather forecast in Irkutsk for tomorrow:
Minimum temperature: 6.7 °C
Maximum temperature: 17.3 °C
Expected precipitation: 0.0 mm
alex@alex-pc:~$
The data from the resource has been received. The program worked perfectly! As you can see, there is nothing particularly complicated in using the Requests library. The code is quite easy to read and concise.
Who is a Scrum Master, what does he do and how to master the profession
And how is it different from a project?
Profession overview
January 28, 2025
Share
Who is a Scrum Master, what does he do and how to master the profession
Content
1.
What is Scrum
2.
What does a Scrum Master do?
3.
What skills does a Scrum Master need?
4.
Which companies need a Scrum Master?
5.
How much do specialists earn?
6.
How to Become a Scrum Manager
7.
The Scrum Master Profession - The Main Thing
Maxim Oganov
Maxim Oganov
Marketer, business consultant, founder of the advertising agency Oganov.Digital
A Scrum Master is a specialist who helps teams work according to the Scrum methodology within the Agile approach. Their task is not only to coordinate processes, but also to create conditions for productive work. The profession is especially in demand in IT, where flexibility and quick adaptation to changes in projects are needed.
Together with Maxim Oganov, founder of the advertising agency Oganov.Digital, we tell you what a Scrum Master does, what skills he needs and how to get into this profession.
What is Scrum
Scrum is a popular method in Agile that divides a project into sprints — short stages in which the team solves some of the tasks and makes adjustments. For example, if the client changes the requirements, you can quickly adapt the plan for the next sprint.
24 months
Master the sought-after profession of a product manager in IT with benin telegram data an online master's degree from RANEPA, the leader in management and business education in Russia
from 300 ₽/month
Read more
kjlkho_0003_Background-copy-6 2
IT product: creation and management
The name Scrum comes from rugby and translates as “fight” – the team is compared to athletes preparing for an important match.
Sprints usually last from two to four weeks, after which specialists hold a retrospective: discuss the results and come up with what can be improved. The whole process is coordinated by the Scrum Master.
Processes according to Scrum methodology
Processes according to Scrum methodology
What does a Scrum Master do?
A Scrum Master or Scrum Manager helps to follow the methodology and implements it into work processes. He does not manage people directly, like a classic manager, but acts more as a coach and facilitator.
IT product: creation and management
-
- Posts: 669
- Joined: Fri Dec 27, 2024 12:23 pm