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)
In questa pagina del sito puoi guardare il video online Python | Package/Library creation della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Florence Sharmila 24 marzo 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 38 volte e gli è piaciuto 1 spettatori. Buona visione!