Python - Steps for Creating and Installing a Package
Before Start: Decide about the basic structure of your package.
Step-1: Create a new folder named 'ComputerSubjects'
Step-2: Inside 'ComputerSubjects', create a subfolder with the name 'ComputerScience' and 'InformaticPractices'
Step-3: Create an empty __init__.py file in the ComputerSubjects' folder.
Using a IDLE editor like, create modules Details.py with following code:
def detail( ):
print("Compter Science")
print ("InformaticPractices")
Step4: Repeat the above step3 for subfolder.
Step-5: Associate it with Python installations (follow the video)
Sur cette page du site, vous pouvez voir la vidéo en ligne Python | Package/Library creation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Florence Sharmila 24 mars 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 38 fois et il a aimé 1 téléspectateurs. Bon visionnage!