Popular Posts

Tuesday, January 31, 2023

Anaconda - Python distribution package installation guide

 Hello, Python developer!

I would like to introduce "Anaconda" - a Python develop distribution package.

Anaconda distribution package is powerful tools for Python development. It includes several useful toolds and modules for Python programming. It helps you to save time and focus on your Python codes development without searching and installing required Python modules and packages.

Let's install Anaconda package on your PC with following steps.

1. Run the web-browser(i.e. Chrome, Edge, Firefox, Safari and etc.) and connect to Anaconda website with following link.

- Anaconda download link: https://www.anaconda.com/products/distribution

2. Download Anaconda Distribution package by click the "Download" button.

3. Run the downloaded Anaconda Distribution package installation file with "Administrator permission".

4. Click "Next" button for Anaconda set up.

5. Click "I agree" button to agree about "License Agreement of Anaconda".

6. Select "All Users" for Installation Type and click "Next" button.

7. Click "Next" button about "Choose Installation Location". If you want to install Anaconda with specificified path and folder, please click "Browse" button and select available path and folder for Anaconda installation.

8. Click "Install" button for installation of Anaconda and"Register Anaconda3 as the system Python 3.9"

9. Anaconda installation is in progress. It may take few minutes.

10. Installation is completed. Click "Next" button.

11. Click "Next" button.

12. Click "Finish" button for finish Anaconda installation.

This Anaconda installation guide is based on the Anaconda version on January 2023. The installation of Anaconda could be updated at later versions.

Have you installed Anaconda package on your PC without issue?

We hope your successful Python development journey. Good luck!

Monday, January 30, 2023

Python Beginner: Python Interpreter

 Hello, Developer! Long time no see and I am really pleased to meet you again!

Last 2-years, I had worked differnt field and I was not able to make chance for Python coding... I only had some chances for searching and studying for Python language.

I am really sorry for leaving Python post for a long time. But it's time to coding again!


Today, we will learn the "Python Interpreter".

You can use a Python interpreter as a direct text interactive environment through execution of python interpreter in your operating system(Windows, Mac, Linux, etc.) command prompt mode.

This function helps you can write and test Python codes in interative mode with command lines.

I hope you use this mode for short Python code tests.

Let's test Python codes with interpreter mode.

Monday, September 14, 2020

Python Beginner: Class inheritance

 Hello, Developer! 😄

Today, we will learn the "Inheritance". The "Inheritance" function allows you to use other class functions without codes copy. If you inherit other classes' properties, you can improve programming productivity through this function.

Class Inheritance Form

class Sample_class_name(Inheritance parent class): 

    def additional_property # You can add additional properties on parents' all properties

    def override_property # If you want to override parent properties, you can redefine property with the same property name

I showed all exercise codes and execution result as following.


class Chef:

def make_chicken(self):
print("The chef makdes a chicken.")

def make_salad(self):
print("The chef makes a salad.")

def make_special_dish(self):
print("The chef makes bbq ribs.")


class ChineseChef: # ChineseChef can do everything which Chef can do

def make_chicken(self):
print("The chef makdes a chicken.")

def make_salad(self):
print("The chef makes a salad.")

def make_special_dish(self):
print("The chef makes soup noodle.")

def make_fried_rice(self):
print("The chef makes fried rice.")


from Chef import Chef

class IchineseChef(Chef):

def make_special_dish(self):
print("The Chef makes a orange chicken.")

def make_fried_rice(self):
print("The Chef makes a fried rice.")


from Chef import Chef
from ChineseChef import ChineseChef
from InheritanceChineseChef import IchineseChef

myChef = Chef()

myChineseChef = ChineseChef()

ImyChineseChef = IchineseChef()

Execution Result

Can you see the same result on your PC? Congratulations! Now you can utilize class inheritance function in the Python.

Alright, let's see in the next post, Python developer! 😊

Python Beginner: Object Functions

 Hello, Developer! 😄

Today, we will learn "Object Functions". Object Functions enable you to call the functions in the object and modify the values in the function in the object.

I showed full exercise codes and executed result as follow.


class Student2:
def __init__(self, name, major, gpa):
self.name = name
self.major = major
self.gpa = gpa

def on_honor_roll(self):
if self.gpa >= 3.5:
return True
return False

Object Functions

from Student2 import Student2

student1 = Student2("Oscar", "Accounting", 3.1)
student2 = Student2("Phyllis", "Business", 3.8)


Execution Result

Can you see the same result on your PC? Congratulations! Now you can handle the function in the object.

Thank you for reading! See you again at the next post! 😊

Python - Web crawling exercises

Hello Python developer! How are you? Hope you've been good and had wonderful time with Python. There are 10 Python requests module exerc...