Skip to content
banner chemistry programming
Chemistry Programming
  • Home
  • About
Search
  • About
  • Privacy Policy
  • SymPy Tutorials
banner chemistry programming
Chemistry Programming
  • About
  • Privacy Policy
  • SymPy Tutorials
banner chemistry programming
Chemistry Programming
  • Home
  • About
Search
  • About
  • Privacy Policy
  • SymPy Tutorials
banner chemistry programming
Chemistry Programming
  • About
  • Privacy Policy
  • SymPy Tutorials
chemistry programming yield from generators python featured image

What is yield from? Python generators

Python

Have you ever seen the term `yield from` in some Python code and wondered what it was? In this article we will delve even deeper into generators and understand, with examples, what `yield from` means and how we can use it to make our code even more efficient.

What is yield from? Python generators Read More »

infinite sequences python fibonacci featured image

Infinite sequences in Python – Impressive Fibonacci

Python

Did you know that you can create an infinite sequence without having memory problems and still consume this sequence in any way you want? Today we will see a specific function of the `itertools` standard library module, the `islice`, and see how can it be used to create the Fibonacci infinite sequence in Python.

Infinite sequences in Python – Impressive Fibonacci Read More »

NASA’s most expensive mistakes – Metric vs Imperial Units vs $328M+

Science

In this article, we will see how NASA has lost million-dollar projects due to simple unit conversion errors. We will also look at which unit system took man to the Moon in the Apollo Program by analyzing the source code of the onboard computer.

NASA’s most expensive mistakes – Metric vs Imperial Units vs $328M+ Read More »

python regex regular expressions featured image

Python Regular Expressions – Mastering RegEx

Python

Regular expressions (or, shortly, regex) are a language that detects patterns. You express a pattern that will be applied to strings. It is an efficient way to find patterns and extract information from texts. Within this pattern, each symbol represents a type of information. In this article, we will see the main symbols and their meanings with the help of several examples.

Python Regular Expressions – Mastering RegEx Read More »

python string formatting featured image chemistry programming

A Guide to Python String Format Techniques

Python

A significant part of our time is spent dealing with strings, so it is important to know how to present them in the desired way. This is what we will see in this article with several examples.

A Guide to Python String Format Techniques Read More »

Featured image SymPy Polynomials Python

Polynomial Manipulation with SymPy

Sympy Tutorials

Certainly, one of the most abstract subjects in math classes: polynomials. After all, who has never been confused in a polynomial division, it is *x* everywhere. In this article, we will see how the SymPy library, for the Python language, helps us to deal with operations involving polynomials.

Polynomial Manipulation with SymPy Read More »

Plots with SymPy and Matplotlib

Sympy Tutorials

In this article, we will see how to make graphs with SymPy and Matplotlib. Usually when we talk about SymPy we focus on the part related to solving mathematical calculations. But many forget that the library has some basic resources for building graphs, which we will see in this article.

Plots with SymPy and Matplotlib Read More »

sympy python featured image rational exponential logarithm

Rational, logarithm and exponential expressions with SymPy – Math with Python

Sympy Tutorials

In this article, we will see how to work with rational, exponential and logarithmic expressions with the SymPy library in Python.

Rational, logarithm and exponential expressions with SymPy – Math with Python Read More »

python generators featured image code efficient

Generators in Python – Your code 1000+ times more efficient

Python

Do you know the difference between a “normal” function and a generator function in Python? What is the difference between the `return` of a usual function and the `yield` of a generator? In this article we will answer these questions and also delve into some aspects of the language.

Generators in Python – Your code 1000+ times more efficient Read More »

sympy solve equations python math

Solving equations with SymPy – Math with Python

Sympy Tutorials

Much of the study of mathematics at more fundamental levels is dedicated to solving equations and systems of equations. In this article we will see how to use SymPy for these tasks quickly and intuitively.

Solving equations with SymPy – Math with Python Read More »

Post pagination
1 2 Next →

Categories

  • News
  • Python
  • Science
  • Spreadsheets

anticancer arrhenius calculator chemistry chempy drops generator gsheets ideal gas math matplotlib metric molar mass molmass nasa news notebook numpy python python package regex regular expressions si spreadsheet string sympy SymPy Tutorial units yield

Recent Posts

  • What is yield from? Python generators
  • Infinite sequences in Python – Impressive Fibonacci
  • NASA’s most expensive mistakes – Metric vs Imperial Units vs $328M+
  • Python Regular Expressions – Mastering RegEx
  • A Guide to Python String Format Techniques
  • Privacy Policy

Copyright © 2025 Chemistry Programming

Scroll to Top