[每天读一点英文:那些给我勇气的句子] A-B-C method of managing attitudes

本文通过一个机场行李搬运工的故事,展示了如何有效地管理个人的态度。提出了A-B-C态度管理方法:面对激活事件(A),调整信念(B),从而改变事件的结果(C)。这不仅有助于保持积极心态,还能改善人际关系。


As an airport skycap (机场行李搬运工) checked through a customer at curbside (靠近路缘的人行道部分), he accidentally knocked over the man's luggage. He quickly collected the fallen bags and apologized for the mishap(不幸之事, 恶运, 灾祸). Unappeased(没有息怒的), the traveler burst into an angry tirade( 长篇大论, 激烈的演说, 长篇的演说), raging and swearing(骂脏话) at the skycap for his clumsiness(  笨拙; 粗陋, 不好看). Throughout the traveler's rant, the baggage handler simply apologized and smiled. The angry man continued to berate(严厉指责; 申斥) the skycap, until he finally headed off to catch his plane. Even then the baggage handler remained calm and passively smiled.

The next customer in line witnessed the incident and marveled at the skycap's professionalism and control. "I have never seen such restraint and humility," he said. "How do you keep your cool when somebody is attacking you so viciously?"

"It's easy," the skycap answered. "He's going to Denver, but his bags are going to Detroit."

That is certainly ONE way of managing attitudes, but here is a more constructive approach.

Have you heard of the A-B-C method of managing your attitude? It's simple and effective.

"A" stands for the "Activating Event." Let's say you get stuck in traffic. The traffic jam is the activating event.

"B" stands for your "Belief System." You believe that traffic is only getting worse and you'll have more and more days like this ahead.

"C" stands for the "Consequence of the Event." You become angry. You want to honk your horn. Your stomach is tied in knots and you bang the dashboard with your fist.

The problem is...most people jump directly from "A" to "C." They get stuck in traffic and become angry. They think the traffic jam made them upset. They don't realize that they didn't HAVE to get angry. They skipped an important step!

Let's try it again:

"A" - you get stuck in traffic.

"B" - you believe that you were given some unexpected and extra time to spend in solitude, to listen to a great tape or to plan your day.

"C" - the consequence is that you feel gratitude for the gift of time.

I have a friend who is fond of saying, "A traffic jam has no power to make us angry. It just stops our car." He is aware that between the activating event and the consequence is something that we control: our beliefs about what is happening.

The next time you have a problem -- at home or at work, big or small -- decide to manage your attitude toward it. Practice the A-B-C method. You probably can't change "A," the activating event. But try hanging "B," your beliefs about the problem. When you change your beliefs, you also change "C," the consequences of the situation.

It's as simple as A-B-C. Manage your beliefs, and you'll manage to be a lot happier!

### 解决 `msedgedriver` 错误问题 在使用 Python 脚本自动化 Microsoft Edge 浏览器时,如果出现 `msedgedriver` 错误,提示无法从 `https://msedgedriver.azureedge.net` 获取最新驱动,通常是由于网络连接问题、驱动版本不匹配或浏览器与驱动不兼容所致。 #### 1. 手动下载并配置 `msedgedriver` 用户可以通过访问 [Microsoft Edge WebDriver 官方下载页面](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/) 手动查找与当前安装的 Edge 浏览器版本匹配的 WebDriver。下载后,将解压后的 `msedgedriver.exe` 路径添加到系统环境变量中,或在脚本中通过 `executable_path` 参数指定其路径: ```python from selenium import webdriver driver = webdriver.Edge(executable_path='C:/path/to/msedgedriver.exe') driver.get("https://example.com") print(driver.page_source) driver.quit() ``` 此方法避免了从远程服务器自动下载驱动时可能出现的网络限制问题。 #### 2. 使用 `webdriver-manager` 自动管理驱动版本 通过安装 `webdriver-manager` 库,可以自动检测浏览器版本并下载匹配的驱动程序,从而避免版本不一致的问题: ```python from selenium import webdriver from webdriver_manager.microsoft import EdgeChromiumDriverManager driver = webdriver.Edge(executable_path=EdgeChromiumDriverManager().install()) driver.get("https://example.com") print(driver.page_source) driver.quit() ``` 该方式确保每次运行脚本时使用的是与当前 Edge 浏览器兼容的驱动版本,有效避免因版本不匹配导致的错误[^1]。 #### 3. 检查网络连接和代理设置 如果脚本尝试自动下载驱动时失败,可能是由于网络连接问题或代理设置导致无法访问 `https://msedgedriver.azureedge.net`。可以尝试在命令行中手动访问该 URL 以确认网络连通性。若处于代理环境中,需在脚本中设置代理参数或配置系统代理。 #### 4. 使用无头模式和禁用自动化标志 在某些网站中,会检测 WebDriver 的自动化特征并阻止连接。可以通过添加以下选项来减少被检测的可能性: ```python from selenium import webdriver options = webdriver.EdgeOptions() options.add_argument('--headless') # 无头模式 options.add_argument('--disable-blink-features=AutomationControlled') driver = webdriver.Edge(options=options) driver.get("https://example.com") print(driver.page_source) driver.quit() ``` 该配置有助于在无界面环境下运行脚本,并绕过部分网站的自动化检测机制。 ###
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值