mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
posix -> os
This commit is contained in:
parent
3bc034bb79
commit
25d7cafd8a
10 changed files with 35 additions and 35 deletions
|
@ -3,11 +3,11 @@
|
|||
|
||||
import dirwin
|
||||
import filewin
|
||||
import path
|
||||
import os
|
||||
|
||||
def open(name):
|
||||
print 'opening', name, '...'
|
||||
if path.isdir(name):
|
||||
if os.path.isdir(name):
|
||||
w = dirwin.open(name)
|
||||
else:
|
||||
w = filewin.open(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue