question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uniform path referencing that is compatible with all OS

See original GitHub issue

Requirement

Use pathlib to deal with all file paths (from config or in code) so that the code is OS agnostic

Pre-requisite

  • Elementary knowledge of Python

Dependencies

None

Description

  • Use pathlib in all instances of referencing files throughout the project.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vishakha-lallcommented, Mar 4, 2020

@hritikpapa, sure! Go ahead. However, make sure you use the pathlib module. More details here

1reaction
vishakha-lallcommented, Mar 2, 2020

@gabbyprecious what is the status on this? How much longer do you think you need before you can to create a PR? Please track your progress here. If you are unable to work on the issue currently, please inform the community, so that we can assign this to someone else.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working With the Universal Naming Convention (UNC Path)
The Universal Naming Convention (UNC) is a standard for identifying shared resources on a network, such as printers and servers.
Read more >
Uniform path with different separators in Java - Stack Overflow
I have a path in input with not uniformed separators. Example: path/to/file\example. txt.
Read more >
Paths explained: Absolute, relative, UNC, and URL—Help
Relative paths are relative to a current directory, which is the location of the saved document or toolbox. UNC paths. UNC stands for...
Read more >
Uniform Resource Identifier (URI): Generic Syntax - IETF
The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of...
Read more >
Path (computing) - Wikipedia
Paths are used extensively in computer science to represent the directory/file relationships common in modern operating systems and are essential in the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found