Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/Compatibility Tips
(view source)
Revision as of 12:59, 23 February 2010
48 bytes added
,
12:59, 23 February 2010
→import tarfile
Line 44:
Line 44:
if file_path[-5:] == ".gtar" or file_path[-4:] == ".tar":
if file_path[-5:] == ".gtar" or file_path[-4:] == ".tar":
+
+
or
+
+
if file_path.endswith(('.gtar', '.tar')):
[[Category:Activity Team]]
[[Category:Activity Team]]
Walter
Bureaucrats
,
Administrators
10,579
edits