IndexError: list index out of range – How to Resolve it in Python

Hi friends, in this post, we will be discussing about, how you can easily resolve the “IndexError: list index out of range” error when coding in Python. This is a common runtime error message you might get under certain circumstances, when coding in Python.   Reproducing the “IndexError” Python Error In order to better understand … Read more…

Python Data Access Fundamentals

Hi friends, in an older article, we have talked about how you can connect to SQL Server databases from a Python program. In this article, we will be discussing about the Python Data Access fundamentals, that is how you can connect to different databases from within your Python code. In general, Python provides the capability … Read more…

What is Abstraction in Object Oriented Programming?

Hi friends. In this article, we will be discussing about what is Abstraction in Object Oriented Programming. Also, we will see a relevant video lecture.   What is Abstraction? Abstraction, is a well-known technique in Object Oriented Programming and generally in Computer Science. It is a way, of handling a complex problem, by removing the … Read more…

The type or namespace name ‘Office’ does not exist in the namespace ‘Microsoft’ – How to Resolve

Hi friends, in this article, we will be discussing about, how you can resolve the following error you might get in your Visual Studio project: CS0234 The type or namespace name ‘Office’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)   Why I Received this Error Message? The reason you … Read more…

Missing parentheses in call to ‘print’. did you mean print(…) – How to Resolve in Python

Hi friends, in this short tip, we will be discussing how you can easily resolve the error message: missing parentheses in call to ‘print’. did you mean print(…). This is a common syntax error message you might get, when coding in Python.   Reproducing the “Missing Parentheses” Python Error In order to better understand the … Read more…

IndentationError: expected an indented block in Python – How to Resolve it

Hi friends! In this post, we will be discussing about the “IndentationError: expected an indented block” in Python and how to easily resolve it, as well as, how to resolve the “IndentationError: unexpected indent” error.   What is Indentation in Python? Generally, in programming, indentation is when you leave empty spaces in the beginning of … Read more…

How to Build a Simple Image Viewer with .NET WinForms and C# in Visual Studio

Hi friends! In this post, which is actually a 30-min video guide, we will see together, step-by-step, how you can easily build a simple image viewer with .NET WinForms and C# in Visual Studio. Our Simple Image Viewer App’s Functionality The functionality of the simple image viewer app we will be developing in Visual Studio, … Read more…

Tip of the Week No.16 – Available Visual Studio Editions

Check our Tip of the Week, which this week discusses about the available Visual Studio editions and discuss about their main differences. Tip of the Week #16 There are 3 Visual Studio editions. There are: Community Edition (free) In comparison with the other editions, the Community Edition of Visual Studio lacks some features, mainly about: … Read more…

Tip of the Week No.15 – Main Data Structures in C#

Check our Tip of the Week, which this week discusses about the main data structures in C#. Tip of the Week #15 Data Structures, are data organization and storage formats, that are used in different programming languages for storing data, define attributes between data, and apply different operations on this data. The main data structures … Read more…

How to Resolve: [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)

This article, provides useful troubleshooting tips, for the following error which you might get, under certain circumstances, when trying to connect to SQL Server from Python, using pyodbc: [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect). Prior to sharing our tips for troubleshooting the issue, let’s discuss … Read more…

Useful Python Programming Tips

In this post, I will be regularly posting useful Python programming tips. These tips will be organized in different categories, in order to make it easier to read it.   Hello World in Python The below command, prints a “Hello World” message from within a Python script: print(“Hello World from Python”)   Code Indentation in … Read more…

Working with Python on Windows and SQL Server Databases (Course Preview)

In this post, we are announcing the general availability of our online course: “Working with Python on Windows and SQL Server Databases“. Note that the course is currently available on Udemy.   What is this course all About? Python is a very popular programming language. Due to its simplified syntax, Programmers can develop a wide … Read more…