[Collection] All Finxter Articles and Tutorials

3 Beautiful Website Templates to Impress Your Clients — for Freelance Developers [Free WordPress Themes]

The landscape of work is changing—independent work becomes more and more important on a relative and absolute basis. Upwork and Fiverr, the biggest freelancing platforms, are growing double-digit year after year. Do you want to participate in this disruptive trend and become a successful (part-time) freelance developer? This article shows you the best website templates

​Read More

19 Freelance Developer Websites That Convert Like Crazy

Do you want to work from home and earn a healthy living as a freelance developer? There has never been a better time! Freelance Developers make $51 per hour, on average, in the US. The highest hourly ratings are earned by freelancers outside freelancing platforms such as Upwork or Fiverr—by means of their own websites.

​Read More

Python Regex Sub

Do you want to replace all occurrences of a pattern in a string? You’re in the right place! The regex function re.sub(P, R, S) replaces all occurrences of the pattern P with the replacement R in string S. It returns a new string. For example, if you call re.sub(‘a’, ‘b’, ‘aabb’), the result will be

​Read More

Freelance Developer Resume Template — Free Download GDocs + PDF [No Signup]

Click on the image to create your own copy on Google Docs—opens the freelance developer resume template in a new tab in your browser: Get this Freelance Developer Resume Template in different formats: Google Docs for editing: https://docs.google.com/document/d/13PmALgq4LWu29zf67fzuqU2bVa9tSEd4gXgE-afqmXg/copy PDF for viewing: https://blog.finxter.com/wp-content/uploads/2020/10/Resume-Python-Freelance-Developer.pdf Resume PROFESSIONAL SUMMARY Are you looking for a value-oriented, experienced Python freelance developer

​Read More

Python Scoping Rules – A Simple Illustrated Guide

Table of Contents Introduction To Scope In Python❖ What is Name in Python?❖ What is Scope?❖ What is Namespace?❖ ExampleThe LEGB Rule And Variable Scopes❖ Local Scope (L)❖ Enclosing Scope (E)❖ Global Scope (G)❖ Built-In Scope (B)❖ Example Of Scoping Rules In PythonUnderstanding UnboundLocalError In PythonThe global And nonlocal Keyword In Python❖ The global Keyword❖ The nonlocal Keyword❖ Global

​Read More

Flatten A List Of Lists In Python

Summary: Flattening a list means converting a nested list into a simple single-dimensional list. To flatten a nested list we can use the for loop or the While loop or recursion or the deepflatten() Method. Other techniques include importing numerous external Python libraries and using their built-in functions. Table of Contents Overview❖ Types Of List

​Read More

Freelance Developer Job Description

The pervasive trend to freelance developing is not coming to an halt soon. Millions of coders—beginners and experts alike—flock to this new opportunity to become their own bosses, self-employed, to work on meaningful projects for clients. But what is a freelance developer anyways? This article will give you a clear job description! Table of Contents

​Read More

Freelance Developer Reddit — 30 Posts to Binge-Read

Writing this article, I must confess, was very challenging. Not because the content is difficult to write about—be assured, it isn’t—but because it involves scrolling through Reddit to find the best posts, comments, and subreddits regarding freelance developing. Have you ever found yourself endlessly scrolling through Reddit? Well—somehow I accomplished finishing this article despite the

​Read More

How To Sort A Dictionary By Value in Python?

Summary: Use one of the following methods to sort a dictionary by value: Using The sorted(dict1, key=dict1.get) Method. Using Dictionary Comprehension And Lambda With sorted() Method. Using OrderedDict (For Older Versions Of Python). Using itemgetter() with sorted() Method. Using Counter subclass. Problem: Given a dictionary; how to sort it by values? Example: The following example

​Read More

The Fastest Python Method To Compute All Primes < N

Overview Computing primes from a given series of numbers might not be a big issue. However, computing primes in the most effective manner keeping the time complexity and other factors in mind might be a challenging issue. After all, one of the major criteria of an effective code is its efficiency. Therefore, in this article,

​Read More

5 Binge-Worthy Freelance Developing Blogs Every Coder Must Read

With increasing supply of freelancing platforms such as Upwork, Fiverr, and Toptal in the programming industry, more and more companies decide to hire expertise remotely over the Internet. The demand for freelance developers in Python, web development, machine learning, and data science surges—as can be seen by the double-digit growth rates of all of those

​Read More

Python Regex Search

When I first learned about regular expressions, I didn’t appreciate their power. But there’s a reason regular expressions have survived seven decades of technological disruption: coders who understand regular expressions have a massive advantage when working with textual data. They can write in a single line of code what takes others dozens! This article is

​Read More

9 Freelance Developer Books Every Coder Must Read

Freelancing is the new mega trend of our time. Large freelancing platforms such as Upwork and Fiverr grow double-digit—they’re out to disrupt the organization of the world’s talents. And it seems like they’re succeeding! Do you want to participate in this trend rather than only holding on to your cozy developer job as long as

​Read More

Top 11 Freelance Developer Courses for Maximum Success

Freelancing is the new mega trend. And there’s a good reason: more and more companies see the cost benefits of hiring outside expertise by the hour. Much like cloud computing revolutionized the server market, freelancing disrupts the talent market with a pay-as-you go model for businesses. The big benefits for freelance developers are convincing as

​Read More

Python Re Question Mark (?): Optional Match

Congratulations, you’re about to learn one of the most frequently used regex operators: the question mark quantifier A?. In particular, this article is all about the ? quantifier in Python’s re library. You can also watch the explainer video while you skim through the tutorial: Related article: Python Regex Superpower – The Ultimate Guide Table of

​Read More

Python Metaclasses

Summary: Metaclasses are a class of a class. In other words, a class is an instance of a metaclass. Metaclass can be created using two methods: (1) type Class which is the built-in metaclass in Python. (2) Creating custom metaclass using the metaclass keyword. Problem: What are metaclasses and why do we use them in

​Read More

Python Re Dot

You’re about to learn one of the most frequently used regex operators: the dot regex . in Python’s re library. You can also watch the walk-through video as you read through the tutorial: Related article: Python Regex Superpower – The Ultimate Guide Table of Contents What’s the Dot Regex in Python’s Re Library?Examples Dot RegexHow

​Read More

Yield Keyword in Python – A Simple Illustrated Guide

Table of Contents Introduction To yield In PythonIterables❖ Iterator❖ Creating Iterator Objects❖ StopIterationGeneratorsThe yield KeywordComparing Time And Memory Optimization For Iterator Functions Vs GeneratorsExercisereturn Keyword vs yield Keyword ConclusionWhere to Go From Here?Related posts Introduction To yield In Python While using a function, we generally use the return keyword to return a value computed by

​Read More

10 Freelance Developer Guides Every Coder Must Read

There’s a new guy in town. He’s called freelancing and he’s out for no good. Freelancing platforms such as Upwork and Fiverr are out to disrupt the organization of the world’s talents. Both platforms grow double-digits year-over-year. The proportion of freelancers in the total population is on the rise. Soon, we may find ourselves in

​Read More

How to Use Global Variables In a Python Function?

Summary: Use the global keyword to declare a global variable inside the local scope of a function so that it can be modified or used outside the function as well. To use global variables across modules create a special configuration module and import the module into our main program. The module is available as a

​Read More

How To Eliminate All The Whitespace From A String?

In this article, you’ll learn the ultimate answer to the following question: How To Eliminate All The Whitespace From A String—on Both Ends, and In-Between Words? Summary: Use the string methods join(), split(), strip(), rstrip(), lstrip() and or replace()—in specific combinations—to remove any whitespace in a given string. The simplest way to remove all whitespaces

​Read More

Python Double Asterisk (**)

Summary: The double asterisk operator has the following uses: a**b – Exponentiation. def f(**kwargs) – Unpacking: Defining an arbitrary number of keyword arguments. f(**d) – Dictionary Unpacking. f(**d1,**d2) – Merging Dictionaries. While using a function in your program, you might be uncertain about the number of named arguments that have to be passed into the

​Read More

Top 8 Freelance Developer Udemy Courses [No-BS Comparison]

Freelancing is the new mega trend. And there’s a good reason: more and more companies see the cost benefits of hiring outside expertise by the hour. Much like cloud computing revolutionized the server market, freelancing disrupts the talent market with a pay-as-you go model for businesses. The big benefits for freelance developers are convincing as

​Read More

Top 8 Freelance Developer Forums and Communities

Freelance developing is snowballing—more and more coders decide to “work for themselves” and smash their well-compensated coding jobs in order to earn even higher rates as freelance developers. What are the reasons for the double-digit growth rates of freelancing platforms? Many freelance developers name higher hourly rates, no commute time, no bosses, greater flexibility, more

​Read More

Freelance Developer Hourly Rate By Regions and Professions

What’s the hourly rate of a freelance developer? If you’re like me, you want to peek into the potential of a given profession before you commit years of your life to any profession like freelance developing. The average freelance developer worldwide earns $56 per hour with conservative estimates ranging as low as $31 and aggressive

​Read More

The Mutable Default Argument In Python

Summary: Passing mutable objects as default arguments leads to unexpected outputs because Python initializes the default mutable object only once, not (as you may have expected) each time the function is called. To fix this, initialize the mutable default argument with the None keyword in the argument list and then initialize it within the function.

​Read More

Best Programming Languages to Start Freelancing in 2020

The demand for programming talent has steadily increased in the preceding decades. In fact, there never has been a better time to start learning to code. Why? Because you (yes, YOU!) can sell your skills for top dollars—the average freelancer earns much more than $100,000 per year (source). Nobody denies two transformative trends: Programming is

​Read More

Python Self — An Interactive Guide with Video

Many beginners who just start out with object-oriented programming in Python are confused about the purpose of the keyword “self”. Let’s resolve this confusion once and for all! The name self is, by convention, the name of the first argument of a Python class method. The variable self points to the concrete instance on which

​Read More

[Experience] How to Create a Django-Based Web App

According to Python’s founder Guido van Rossum, Python provides “Computer Programming for Everybody”. Coders love Python for several reasons. Its smooth learning curve, readability, comprehensibility of the Python Standard Library, and fantastic 3rd party frameworks. Data science (manipulation and visualization), (Web) Scraping, Machine Learning, Artificial Intelligence, Game Development, Web Development are some of the wide

​Read More

Slice Notation – A Simple Illustrated Guide

Summary: Slicing is a Python concept to extract a subsequence from a string or list—that lies within a start and stop index range. There are two syntactical ways to define a slice. (1) The extended slice notation makes use of a colon : in string_name[start:stop:step]. (2) The slice() constructor defines the index range in string_name[slice(start:stop:step)].

​Read More

How To Pass a Variable By Reference In Python?

Summary: Variables are passed by object reference in Python. Therefore, mutable objects are passed by reference while immutable objects are passed by value in Python. To pass immutable objects by reference you can return and reassign the value to the variable, or pass it inside a dictionary/list, or create a class and use the self

​Read More

How To Check If a List Is Empty In Python?

Summary: One of the following methods can be used to check if a list is empty :- Boolean operator not Explicit check using len() Simple Work Around With [] Using .size() with NumPy Using Exception Handling with iter() method Problem: Given a list; how to check if it is empty? Example: Consider the given list

​Read More

Freelance Developer Without Experience

Can you become a highly successful freelance developer working from the comfort of your home—without having any experience? Most freelance developers don’t have any experience when they get started on freelancing platforms such as Upwork or Fiverr. You can succeed by following the three simple steps: (1) get your first gig, (2) learn what’s needed,

​Read More

Freelance Developer Net Worth

What is the net worth of a freelance developer? In this article, you’ll learn the expected net worth of a freelance developer as a rough estimate. Definition net worth: Net worth is the value the assets a person or corporation owns, minus the liabilities they owe. It is an important metric to gauge a company’s

​Read More

How to Get the Last Element of a Python List?

Problem: Given a list. How to access the last element of this list? Example: You have the list [‘Alice’, ‘Bob’, ‘Liz’] and you want to get the last element ‘Liz’. Quick solution: Use negative indexing -1. To access the last element of a Python list, use the indexing notation list[-1] with negative index -1 which

​Read More

List Changes After Assignment — How to Clone or Copy It?

Problem: If you assign a list object to a new variable using new_list = old_list, any modification to new_list changes old_list. What’s the reason for this and how can you clone or copy the list to prevent this problem? Example: Let’s consider the following example. Appending an element to the new_list also modifies the original

​Read More

Freelance Developer Skills

This article is an excerpt of my detailed tutorial “The Complete Guide to Freelance Developing” on this FINXTER blog. We’ll answer the following question: What skills do you need to succeed as a freelance developer? Teaching many freelancing students, I have come to learn that most don’t believe they have all the skills they need

​Read More

Freelance Developing Niche

This short article is based on the ultimate guide to freelance developing on the Finxter blog. You’ll first learn about the definition of freelancing. Then, I’ll show you how you can evaluate whether the freelance developing niche is attractive for you and whether you can expect it to grow over time. So, let’s get started,

​Read More

The Complete Guide to Freelance Developing

Do you want to work from home and earn a healthy living as a freelance developer? There never has been a better time! Freelance Developers make $51 per hour, on average, in the US. This complete guide to freelance development is a running document in which I share all my experiences from working as a

​Read More

56 Python One-Liners to Impress Your Friends

This is a running document in which I’ll answer all questions regarding the single line of Python code. It’s based on my interactive collection here but without the slow videos and embedded code shells. Let’s get started! Table of Contents Python One Line If ElsePython One Line ElifPython One Line If Without ElsePython One Line

​Read More

Accessing The Index Of Iterables In Python

Summary: To access the index of iterables like lists in Python, use one of the following methods: Use enumerate() function. Use a counter variable with For Loop/While Loop. Use a list comprehension. Use the NumPy library. Use the itertools module. Introduction An index can be considered as the position of an element in an ordered

​Read More

Python One Line Dictionary

Python’s dictionary data structure is one of the most powerful, most underutilized data structures in Python. Why? Because checking membership is more efficient for dictionaries than for lists, while accessing elements is easier for dictionaries than for sets. In this tutorial, you’ll learn how to perform four common dictionary operations in one line of Python

​Read More

Python Import Error (ModuleNotFoundError)

Python’s ImportError (ModuleNotFoundError) indicates that you tried to import a module that Python doesn’t find. It can usually be eliminated by adding a file named __init__.py to the directory and then adding this directory to $PYTHONPATH. If this file (__init__.py) is in the folder, change the position of the import in the file that is

​Read More

Python One Line For Loop Append

Problem: How to append elements to a list using a single line for loop? Example: You hope to accomplish something like this where you create an initial list (this one is empty) and you append multiple elements to it: However, this statement doesn’t work! Is there a one-line for loop to append elements to a

​Read More

Python Unicode Encode Error

Summary: The UnicodeEncodeError generally occurs while encoding a Unicode string into a certain coding. Only a limited number of Unicode characters are mapped to strings. Thus, any character that is not-represented / mapped will cause the encoding to fail and raise UnicodeEncodeError. To avoid this error use the encode(utf-8) and decode(utf-8) functions accordingly in your

​Read More