Let's code a DIGITAL CLOCK in Python! 🕒
#python #pythontutorial #pythoncourseforbeginners 00:00:00 pip install PyQt5 00:00:41 imports 00:01:57 class DigitalClock(QWidget) 00:02:59 if __name__ == "__main__" 00:04:48 setting up __init__() 00:05:29 initUI() 00:10:03 update_time() 00:12:47 custom font ## Python PyQt5 Digital Clock import sys from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QVBoxLayout from PyQt5.QtCore import QTimer, QTime, Qt from PyQt5.QtGui import QFont, QFontDatabase class DigitalClock(QWidget): def __init__(self): super().__init__() self.time_label = QLabel(self) self.timer = QTimer(self) self.initUI() def initUI(self): self.setWindowTitle("Digital Clock") self.setGeometry(600, 400, 300, 100) vbox = QVBoxLayout() vbox.addWidget(self.time_label) self.setLayout(vbox) self.time_label.setAlignment(Qt.AlignCenter) self.time_label.setStyleSheet("font-size: 150px;" "color: hsl(111, 100%, 50%);") self.setStyleSheet("background-color: black;") ## Use a custom font ## font_id = QFontDatabase.addApplicationFont("DS-DIGIT.TTF") ## font_family = QFontDatabase.applicationFontFamilies(font_id)[0] ## my_font = QFont(font_family, 300) ## self.time_label.setFont(my_font) self.timer.timeout.connect(self.update_time) self.timer.start(1000) self.update_time() def update_time(self): current_time = QTime.currentTime().toString("hh:mm:ss AP") self.time_label.setText(current_time) if __name__ == "__main__": app = QApplication(sys.argv) clock = DigitalClock() clock.show() sys.exit(app.exec_())
2024-08-04T13:01:24Z
3 Mindset Mistakes to Avoid When Investing in Real Estate
Real Estate is a long game you might get a little bit of cashflow but that isn't the main source that housing is going to make you in the long run. But that isn't the only thing that the average person misunderstands. I'll show you what you need to think when you are contemplating investing in single family homes. Mentor With Kris - Lease Option System--FREE Game Plan Consultation http://www.limitlessmentor.com/TV ============================================================ ✅ SUBSCRIBE SUBSCRIBE SUBSCRIBE ✅ https://www.youtube.com/user/REInvestorTV?sub_confirmation=1 ============================================================ Partner with Kris Krohn 🤝 Got Money or Retirement Savings? Partner with Kris on Deals: https://www.kriskrohn.com/partnering Invest In the Things I Invest In. Join My Investor's Club! https://www.kriskrohn.com/investing-yt-a Free Books 💰 Get Kris’ FREE REAL ESTATE BOOK on Back-Yard Investing 'Strait Path'💰 https://www.kriskrohn.com/straitpathfree-yt-b Get Kris’ Book "HAVE IT ALL" https://www.kriskrohn.com/freehaveitall-yt Reach Every Goal–Get Kris’ FREE Limitless Book https://www.kriskrohn.com/limitlessfreebook Upcoming Events Join us at Real Estate Wholesaling Event in Provo, UT https://www.kriskrohn.com/rei-wholesale-workshop?el=Channel&hcategory=proferty&htrafficsource=youtube-organic&utm_campaign=proferty&utm_content=Channel&utm_medium=organic_social&utm_source=Youtube Other 🤝Get a FREE custom Real Estate Game Plan from Kris’ Team https://www.kriskrohn.com/invest-now Learn How to Make Millions Wholesaling Real Estate https://www.kriskrohn.com/startwholesale-yt 🎤 Attend one of Kris’ life-changing events https://www.kriskrohn.com/kris-events-b Learn Kris’ Lease Option System--FREE Game Plan Consultation http://www.limitlessmentor.com/TV PS: Save Kris’ phone and text him anytime you have questions: +1 (385) 217-3477 📹 BE ON A KRIS KROHN YOUTUBE EPISODE ================ Record your questions on video, and join me in a future episode: http://bit.ly/2yO78c7 📞 QUESTIONS ABOUT PRODUCTS, CONTACT SUPPORT [email protected] 📲 CONNECT WITH KRIS: ================= Podcast https://www.kriskrohnshow.com Instagram https://www.instagram.com/kriskrohn/ Facebook https://www.facebook.com/MentorwithKris Twitter https://twitter.com/kriskrohnmentor LinkedIn https://www.linkedin.com/in/mentorwithkris Youtube Channel https://www.youtube.com/user/REInvestorTV TikTok https://vm.tiktok.com/HQYU1v/ Blog http://blog.kriskrohn.com Audible http://rdrurl.com/kriskrohnaudible Kris Krohn is not in the business of providing personal, financial or investment advice and specifically disclaims any liability, loss or risk, which is incurred as a consequence, either directly or indirectly, by the use of any of the information contained in this document. If legal advice or other expert assistance is required, the services of competent, licensed and certified professionals should be sought. In addition, Kris Krohn does not endorse ANY specific investments, investment strategies, advisors, or financial service firms. See full disclosures here: https://www.kriskrohn.com/epicdisclosure NO INVESTMENT, FINANCIAL, LEGAL OR TAX ADVICE The contents of this video are for informational and educational purposes only. They should not be considered investment, financial, legal or tax advice. Kris Krohn is not licensed in the insurance or securities industries and is not in the business of selling, soliciting or negotiating the sale of any insurance contract, security or other investment vehicle. DISCLOSURE OF FINANCIAL RELATIONSHIP Mr. Krohn has a financial interest in EPIC Insurance Services, LLC (EPIC), a licensed insurance brokerage agency incorporated in New Jersey, and is compensated by EPIC. See full disclosures here: https://www.kriskrohn.com/epicdisclosure #KrisKrohn #RealEstateInvesting #MoneyMindset
2024-07-05T21:20:53Z
7 Income Strategies to Build Your $1M Net Worth
In this video, I go over 7 EFFECTIVE income strategies to build a $1+ million net worth. Over the years through my own financial journey, I've come to realize that the specific actions and strategies we use are super important. So hopefully you find this video helpful if you want to make more money, keep more money, and just overall get more financially rich. ► Get up to 12 Free Stocks on WeBull when you deposit $100 (valued up to $30,600): https://bit.ly/webull12stocks ^This is a limited time offer! ► Start a High Yield Savings Account (HYSA) with SoFi: https://bit.ly/sofisavings ► Check out Monarch Money to budget your finances: https://monarchmoney.sjv.io/0ZKbEL ► Create up to 100 websites with Hostinger for just $3/month: https://www.hostinger.com/charliechang ^Use code: CHARLIECHANG for an even greater discount! ► Check out my favorite personal credit cards for everyone: https://go.milevalue.com/best-credit-cards-suw?aff=suw ► Hire an overseas team to expand and automate your business with Paired: https://paired.so/charlie ► Daily advice and BTS on my Instagram: https://instagram.com/charlie__chang/ Free stuff 💰: ► My FREE webinar on how to invest in stocks: https://www.charliechang.com/investing-webinar-registration ► Get access to my FREE side hustle courses: https://www.sidehustlemastery.com If you use my link, you'll be helping to support the channel at no cost to you, so I want to say thank you so much in advance! Whether you're aiming for your first thousand or your first million, these income strategies are your roadmap to building wealth. Don't let your money sit idle — invest it wisely! Grow your skills for higher pay, build side hustles, or create passive income streams. Invest in assets that reduce your taxes and build long-term value. Keep your spending in check and focus on owning the businesses that make the profits. If you want to learn more about investing, check out my other videos! Stocks + Investing Playlist: https://www.youtube.com/playlist?list=PLWLAw-4quGM4A2uAFFNzXFOcJRGVvBZsL 7 SMART Places to Put Your Money (After You Get Paid): https://youtu.be/a7xH7csS-M8 I hope you guys found this video helpful, and if you did, please SHARE it with a friend or family member who you think could benefit and also LIKE and subscribe for more videos like this in the future! Thank you so much for watching, and happy website building! - Charlie #Millionaire #Money #Finance Timeline: 0:00 - Intro 0:21 - Stagnant Money 1:53 - Increasing Your Active Income 3:52 - Generating Passive Income 6:14 - Getting Assets That Reduce Your Taxes 8:08 - Building Equity In A Business 9:59 - Reducing Your Spending 10:52 - Leveraging New Tech 11:59 - Conclusion Disclaimer: Some of the links above may be affiliate links, which means that if you click on them I may receive a small commission. The commission is paid by the retailers at no cost to you, and this helps to support our channel and keep our videos free. Thank you! In addition, I am not a financial advisor. Charlie Chang does not provide tax, legal, or accounting advice. The ideas presented in this video are for entertainment purposes only. Please do your own due diligence before making any financial decisions. ► My Instagram: https://instagram.com/charlie__chang/
2024-03-23T16:20:05Z
The Subtle Difference Between Old Money And Quiet Luxury
🔴 https://www.realmenrealstyle.com/rmrscyt - JOIN the best style community here to get access to awesome perks. See you there! The video covers the differences between old money and quiet luxury clothing styles, analyzing their key characteristics and providing examples of brands that fit into each category. If you want to master sending subtle signals about your status, be sure to watch the video. ➡️ https://youtu.be/l4oCtg6sK5s?list=PLbAUemeg-KyfFVPVCmGq9RGp_5XHCq6Or - Click here to watch 11 Old Money Manners That Elevate Your Style. ➡️ https://youtu.be/cRNbCeFeYPU?list=PLbAUemeg-Kyc4nJ2iFUTUyTFMhQxh3YR5 - Click here to watch The ONLY Style Rules A Man Needs To Know (2024 Edition) 📝(QUIZ) How do people perceive your style & image?: https://stylescorequiz.com/youtube 👞My favorite products and accessories: https://amazon.com/shop/realmenrealstyle 👉JOIN THE COMMUNITY ✔ Join the best style community here to get access to awesome perks - https://www.realmenrealstyle.com/rmrscyt ✔ Get access to RMRS stickers and emojis on this channel: https://youtube.com/realmenrealstyle/join ✔ Learn how to dress for success & be confident: https://thestylesystem.com/youtube 🔴FREE MEN’S STYLE GUIDELINES: https://realmenrealstyle.com/rmrs-ebooks 📙7 Deadly Style Sins 📘How To Dress For Your Body Type 📗The Ultimate Guide To Casual Style 👉 FOLLOW ME ✔ Instagram: https://instagram.com/rmrstyle ✔ Pinterest: https://pinterest.com/rmrstyle ✔ Facebook: https://fb.com/RealMenRealStyle 📺 MORE YOUTUBE CHANNELS ✔ Scenteno Channel: https://youtube.com/@Scenteno ✔ Spanish YouTube: https://www.youtube.com/@RealMenRealStyleSpanish ✔ Russian YouTube: https://youtube.com/@RealMenRealStyleRussian 📨 CONTACT ✔ To Work With Me: [email protected] ✔ Talk to Me Directly: https://realmenrealstyle.com/contact 📫 SHIPPING ADDRESS Antonio Centeno A Tailored Suit PO Box 415 Wittenberg, WI 54499 USA CHAPTERS 0:00 - Old Money Vs Quiet Luxury - Is There A Difference? 0:18 - Old Money vs Quiet luxury 1:05 - What is Quiet Luxury? 1:38 - 5 Key characteristics of Quiet Luxury 1:45 - Modern & minimalistic 2:51 - Enclothed cognition 3:25 - Discrete branding 4:00 - Versatile & functional 4:21 - Sustainiability 4:50 - 5 Key Characteristics of Old Money 5:20 - Conservative choices 5:52 - Subdued elegance 6:43 - Check out my new FREE men's style community 7:30 - Quality over trend 8:05 - Understated elegance 9:02 - Which brands are old money vs quiet luxury? #menstyle #mensfashion #menswear 👔 Real Men Real Style helps YOU become the man you know yourself to be. Gentlemen, welcome. I'm Antonio Centeno, founder of Real Men Real Style. Join me as I empower you to wield style as your secret weapon for success. https://realmenrealstyle.com/ From men's shoes, men’s fashion, cologne, accessories, to men's hair – I've got your style essentials covered. Navigate beyond fleeting trends and embrace the essence of timeless men's fashion 👞 It’s not just about dressing well; it's about embodying the actions that lead to being a true gentleman. Get ready for job interview tips, life skills, and communication training that'll amp up your public speaking game. Achieve your dreams, earn more money, and exude confidence. 💼 New videos drop Tuesday, Thursday, and Saturday. Don't miss out – hit that subscribe button and level up your style game with Real Men Real Style 🎩
2024-02-20T13:00:29Z
How to make your money grow | Banking | Financial Literacy | Khan Academy
Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now! https://www.khanacademy.org/college-careers-more/financial-literacy/xa6995ea67a8e9fdd:banking/xa6995ea67a8e9fdd:interest-from-savings-to-investing/v/how-to-make-your-money-grow Compound interest helps your money grow by earning interest on both your original amount and any accumulated interest over time. This snowball effect can significantly increase your savings or investment value in the long run. Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of languages, and 15 million people around the globe learn on Khan Academy every month. As a 501(c)(3) nonprofit organization, we would love your help! Donate or volunteer today! Donate here: https://www.khanacademy.org/donate?utm_source=youtube&utm_medium=desc Volunteer here: https://www.khanacademy.org/contribute?utm_source=youtube&utm_medium=desc
2024-08-01T19:50:02Z