Comments (4)
So that example works just fine except that makedirs_p doesn't return the dir. Seems like a reasonable improvement to me.
from path.
Sweet. Makedirs is not the only one we could improve this way: rename,
mkdir, touch, chroot, etc.
File operations a typically processes you batch so chaining them is a
much and path.py allow to be wonderfully expressive.
Le mar. 30 oct. 2012 15:04:01 CET, Jason R. Coombs a Γ©crit :
So that example works just fine except that makedirs_p doesn't return
the dir. Seems like a reasonable improvement to me.β
Reply to this email directly or view it on GitHub
#7 (comment).
from path.
Pull request to fix makedirs_p and makedirs.
from path.
Released in 2.5
from path.
Related Issues (20)
- 15.0.0: test suite is failing HOT 6
- "For enterprise" link 404 HOT 2
- TempDir directory not deleted on interruption HOT 1
- 15.1.2: sphinx warnings HOT 1
- 15.1.2: pytest errors HOT 8
- 16.0.0: pytest errors
- Some tests can't be run on filesystems that have strict utf-8 mode HOT 1
- Add stacklevel=2 in deprecation warning
- Add method to see the setted permissions HOT 4
- `path.Path().files()` fails with `FileNotFoundError` HOT 2
- Maximize compatibility with `pathlib.Path` HOT 6
- Inline the type annotations (if possible) HOT 1
- On windows `path.Path()` is an instance of class `pathlib.WindowsPath` HOT 1
- Compatibility with black of the newest version of pytest ? HOT 2
- Path.iterdir() is missing type annotation
- Regression in test_readlinkabs_passthrough HOT 2
- 16.13.0: pep517 based build fails with temporary directory created before start build HOT 1
- Missing annotation for `.suffix` in type stub
- whl built from 16.14.0 release tarbball turns out empty HOT 5
- Function of Path.absolute() don't have code completion in vscode. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from path.