Real Python: Python Scope & the LEGB Rule: Resolving Names in Your Code

The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within the code. The scope of a name or variable depends on the place in your code where you create that variable. The Python scope concept is generally presented using a rule known as the LEGB rule. The letters in the acronym LEGB stand for Local, Enclosing, Global, and Built-in scopes. This summarizes not only the Python scope levels but also the sequence of steps that Python follows…

Read More

Finding the Perfect Python Code Editor

Find your perfect Python development setup with this review of Python IDEs and code editors. Writing Python using IDLE or the Python REPL is great for simple things, but not ideal for larger programming projects. With this course you’ll get an overview of the most common Python coding environments to help you make an informed decision. By the end of this course, you’ll know how to: Choose the Python editing environment that’s right for you Perform common tasks like creating, running, and debugging code Dig deeper into optimizing your favorite…

Read More
Programming 

Freelance Developer – How to Code From Home and Earn Six Figures [Industry Report]

What keeps you going day after day? No matter what, you already know that your motivation is the most important building block of your success. In the following, I’d like to give you some fact-based motivation why creating your coding business online can easily be the most rewarding decision in your life.  Yet, motivation is not everything. If you want to make your business work, you must show some persistency. You need to keep working on it for many months, even years. There’s no quick and easy way to create…

Read More
Programming 

Samuel Sutch: Coding for Kids: Python: Learn to Code with 50 Awesome Games and Activities

Price: $13.53(as of Oct 25,2019 21:52:25 UTC – Details) “Python is a really powerful programming language with very simple and human-like syntax. Thanks to these advantages and the interactive exercises and games in Coding for Kids: Python, everyone—regardless of age—will be able to understand the power of the language and start using it immediately. I really can’t wait to use some of these examples in our school!”—Marcin Zajkowski, Co-owner of WOW School

Read More

How to Create a QR Code

QR codes aren’t everyone’s cup of tea but I quite like them. If I see something I want to remember or check out later, especially when on the road, it’s super easy to take a quick picture — it’s much easier than trying to remember a URL and much faster than typing it in on a tiny keyboard. If you need to generate QR codes, for a client or yourself, there’s a really nice JavaScript project: node-qrcode. Let’s look at the different wys and output formats you can use to…

Read More
java 

Visual Studio Code updates Java support

The September 2019 update to the Visual Studio Code editor, known as version 1.39, includes a number of new capabilities and improvements for Java developers. In addition, support for Java 13, the latest version of standard Java, has been added via the Language Support for Java extension from Red Hat. New Java features in Visual Studio Code 1.39 include easier navigation of class implementations and overriding methods, inline refactoring, and new code actions and code snippets. The Language Support for Java extension provides Java linting, IntelliSense, refactoring, and Maven and Gradle support.  To…

Read More
java 

Udemy vs Pluralsight Review – Which is better to Learn to Code and Programming?

Hello guys, how are you doing? I am again back with answering one of the familiar doubts among online learners, Pluralsight, or Udemy? Which are the better websites for learning code and leveling up your programming skills? As a Java blogger and editor of a Medium publication, I often receive questions like this from my readers. Earlier I have answered questions like Pluralsight vs. CodeCademy and Udemy vs. CodeCademy but never explained about Pluralsight vs. Udemy, which many of my readers have been asking from a long time. Since Pluralsight…

Read More

Python sleep(): How to Add Time Delays to Your Code

Have you ever needed to make your Python program wait for something? Most of the time, you’d want your code to execute as quickly as possible. But there are times when letting your code sleep for a while is actually in your best interest. For example, you might use a Python sleep() call to simulate a delay in your program. Perhaps you need to wait for a file to upload or download, or for a graphic to load or be drawn to the screen. You might even need to pause…

Read More
Programming 

Julien Danjou: Sending Emails in Python — Tutorial with Code Examples

What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. I assume you’ve already had a web app built with this language and now you need to extend its functionality with notifications or other emails sending. This tutorial will guide you through the most essential steps of sending emails via an SMTP server: Configuring a server for testing (do you know why it’s important?) Local SMTP server Mailtrap test SMTP server Different types of emails: HTML, with images,…

Read More