Giter Club home page Giter Club logo

amazing-stuff-with-python's Introduction

Hey ๐Ÿ‘‹๐Ÿฝ, I'm Harshit

Glad to see you here! ๐Ÿคฉ a Data Science and Machine Learning enthusisat ๐Ÿš€ from India.

Linkedin Badge Twitter Badge Gmail Badge

amazing-stuff-with-python's People

Contributors

harshiitsingh avatar

Watchers

 avatar

amazing-stuff-with-python's Issues

Import OS Module - Github Repo

Hi Harshit.

Hope you are doing good.

I would like to know, which module I have to use to create folder in the GITHUB Repo using Python script.

I am trying to execute python script using the GH Actions. In the py script, if the folder doesn't exist, I would like to create one dynamically using the python script.

I am running the script on ubuntu.

I have added below code. But that didn't help.

Code snippet:

import os

#Path references
static_file_path='Data/Reference_Data/'
download_file_path='Data/Extracted_Data/Ministries/'

#Creating directories
os.makedirs(download_file_path) 
os.makedirs(static_file_path) 

Error in Actions after executing:

ERROR: Could not find a version that satisfies the requirement os (from versions: none)
ERROR: No matching distribution found for os
Error: Process completed with exit code 1.

Any help in this regard?

Thanks,
Jairam P.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.