• Profile
  • Resume
  • Portfolio
  • Blog
Avatar

Nelson Silva

A human. Being. Coffee lover.

Blog

I Write My Thoughts Here

October 26, 2021 Python

Inheritance in Python

In this post, you will learn how to work with inheritance so that you can use that same knowledge and thus evolve. inheritance is a mechanism by which a class (subclass) can extend another class (superclass) to take advantage of its possible variables (attributes) and...

October 25, 2021 Python

init in Python

In this post, you will learn how to work with init so that you can use that same knowledge and thus evolve. init is basically a constructor and its function is to initialize everything that is necessary when creating a certain object. class Person: def...

October 22, 2021 Python

Classes and Objects in Python

In this post, you will learn how to work with classes and objects so that you can use that same knowledge and thus evolve. a class represents a set of objects, and defines their behavior through methods and which states it is able to maintain...

October 21, 2021 Python

Exceptions in Python

In this post, you will learn how to work with exceptions so that you can use that same knowledge and thus evolve. an exception is an event that occurs during the execution of a piece of code that interrupts its normal flow of instructions; in...

October 20, 2021 Python

Files (Write and Read) in Python

In this post, you will learn how to work with files (write and read) so that you can use that same knowledge and thus evolve. open(file, mode) Open the file write(text) Write on file read() Read the file content close(file) Close the file 'w' Write...

October 19, 2021 Python

Date and Time in Python

In this post, you will learn how to work with the date and time so that you can use that same knowledge and thus evolve. calendar(year) Returns a calendar of a certain year in read-only format month(year, month) Returns the chosen month of a certain...

← Page 23 of 28 →

Categories

  • Announcements
  • Python
  • C#
  • Java
  • Go

Latest Posts

  • for Loop in Go
    May 5, 2022
  • Switch in Go
    May 4, 2022
  • Comparison Operators in Go
    May 3, 2022
+351913416022
contact@nelsonsilvadev.com
Porto, Portugal
Nelson Silva © 2022 All Rights Reserved