分类
coding

How to use Python ccxt library Binance API

Here's how to use the API to automatically trade on the world-famous Bitcoin Binance exchange. Apply for API Launch the Binance app and enter your API in Search. Select the API Management item in the Functions category. Choose Create API. Enter the appropriate key label and select the Next button. Fit the puzzle for security. Then proceed with phone text verification and email verification. When done, the API Key and Secret […]

分类
coding

Python conditional statements (using if, dictionary)

Let's take a quick look at Python conditional statements. The result of the if statement is: An if statement with only one condition. Since 10 is less than 5, the condition is true and the phrase ‘It’s True.’ is printed. Here is the result: The above case is an if/elif statement with two conditions. If there are two or more conditions, you can add them with an elif statement. Here, 15 is not less than 10, so the first condition is not satisfied. […]

分类
coding

Python def and lambda syntax and differences comparison

Let's take a look at two keywords that have similar functions. Wouldn't you have made two uselessly? def Description First, let's take an example. Here is the result: Functions are written with the def keyword. add is the name of the function, and the arguments to be passed are defined as x and y. It has a function that returns the result of adding two values. When I passed 3 and 5 as arguments to the add function created in this way, the result was 8. […]

分类
coding

Different ways to parse Python BeautifulSoup

While studying Python, I tried to organize various ways to get specific tags from html documents. HTML Example Code Let's take a look at how to parse specific tags using the BeautifulSoup module assuming that there is an HTML document as follows. The goal is the tag below. Utilization of find() method The following is the output result. Utilization of find_all() method The following is the output result. Utilization of select_one() method The following is the output result. select() method […]

分类
coding

Is it possible to automatically check Instagram F4F (follow) status?

Hello. I'm also trying out various things while studying crawling for the first time. This time, I would like to apply it to Instagram, one of the most popular SNS recently. To make it interesting, I'm trying to do the following using a little bit of human psychology. how about it? don't you want to try 🙂 Sometimes people stop following me. TT Now, let's do it step by step. Import the required modules The webdriver module in the selenium package launches a web browser and […]

This posting is part of Coupang Partners' activities, and a certain amount of commission is provided accordingly.
en_USEnglish