Mar-03-2020, 02:20 PM
Hi I'm new to Python, BeautifulSoup and PyCharm, like to know how to write code so I don't have run this every time I run a test
How do I change this editor to ltr?
Thanks for any help
import requests from bs4 import BeautifulSoup url = 'https://finance.yahoo.com/quote/BARC.L/key-statistics?p=BARC.L' r = requests.get(url) soup = BeautifulSoup(r.content, 'html.parser'):When I'm just testing/learning using 1 liners such as
print(soup.select_one('td span').get_text())(Also according to my location I'm using an rtl language, but in fact I'm writing in English (ltr
How do I change this editor to ltr?
Thanks for any help