Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to remove file ending from file name #2

Open
fhightower opened this issue Jan 25, 2021 · 0 comments
Open

Add function to remove file ending from file name #2

fhightower opened this issue Jan 25, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed time est: 0.1 hour We estimate this issue will take 0.1 hour (6 minutes) to complete

Comments

@fhightower
Copy link
Contributor

fhightower commented Jan 25, 2021

HELP WANTED 👋 : If you'd like to take this challenge on, please let me know! Even if you're new to Python and/or github, this is a great place to start and I'd be happy to help walk you through this challenge as much as you need - don't hesitate to ask.

This particular issue will give you some exposure to writing a relatively simple function, working with strings in Python, and writing some tests.


We already have a file_extension function to find a file extension. Now, we'd like to have a function which, given a file name (e.g. foo.py), returns the file name without the extension (e.g. foo). I propose the function should be named file_name_strip_extension, but am open to other suggestions.

If you're interested in taking this challenge on, comment on this issue and I'll assign it to you.

@fhightower fhightower added enhancement New feature or request time est: 0.1 hour We estimate this issue will take 0.1 hour (6 minutes) to complete good first issue Good for newcomers help wanted Extra attention is needed labels Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed time est: 0.1 hour We estimate this issue will take 0.1 hour (6 minutes) to complete
Projects
None yet
Development

No branches or pull requests

1 participant