Skip to main content

Create the file for PyPi project.

Project description

Example Package

This is a simple example package. You can use Github-flavored Markdown to write your content.

#!/usr/bin/python

import os
'''
    *os* and *os.path* modules include many functions to interact with the file system.
'''
import shutil

def create():

    application = input("The name of application: ")
    cwd = os.getcwd()+'/'+application
    print(cwd)
    os.mkdir(cwd)
    os.chdir(cwd)

    os.system("touch LICENSE")
    os.system("touch README.md")
    os.system("touch pyproject.toml")
    
    cwd_1 = os.getcwd()+'/'+'src'
    print(cwd_1)
    os.mkdir(cwd_1)
    
    os.chdir(cwd_1)
    cwd_2 = os.getcwd()+'/'+application
    os.mkdir(cwd_2)
    
    os.chdir(cwd_2)
    os.system("touch __init__.py")
    os.system("touch main.py")

#create()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_pypi_files-0.0.3.tar.gz (92.5 kB view hashes)

Uploaded Source

Built Distribution

create_pypi_files-0.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page