-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfinding_list_of_files.py
More file actions
10 lines (8 loc) · 2.22 KB
/
Copy pathfinding_list_of_files.py
File metadata and controls
10 lines (8 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
import os
import fnmatch
files_list = \
['* Ada 95 *.*', '* AmigaE *.*', '* Apex *.*', '* BETA *.*', '* Boo *.*', '* C *.*', '* C++ *.*', '* C# *.*', '* Ceylon *.*', '* Chapel *.*', '* Clarion *.*', '* CLU *.*', '* COBOL *.*', '* Cobra *.*', '* ColdFusion *.*', '* Common Lisp *.*', '* CorbaScript *.*', '* Curl *.*', '* D *.*', '* Dart *.*', '* DataFlex *.*', '* Dylan *.*', '* E *.*', '* Eiffel *.*', '* Sather *.*', '* Elixir *.*', '* Fortran 2003 *.*', '* FPr *.*', '* FreeBASIC *.*', '* F-Script *.*', '* F# *.*', '* Gambas *.*', '* Genie *.*', '* Go *.*', '* Gura *.*', '* Graphtalk *.*', '* IDLscript *.*', '* J *.*', '* J# *.*', '* JADE *.*', '* Java *.*', '* Groovy *.*', '* Join Java *.*', '* X10 *.*', '* Julia *.*', '* Kotlin *.*', '* Lasso *.*', '* Lava *.*', '* Lingo *.*', '* LISP *.*', '* Logtalk *.*', '* MATLAB *.*', '* Modula-3 *.*', '* Nemerle *.*', '* NetRexx *.*', '* Nim *.*', '* Noop *.*', '* Oberon *.*', '* Oberon-2 *.*', '* Object Pascal *.*', '* Delphi *.*', '* Free Pascal *.*', '* Turbo Pascal *.*', '* Object REXX *.*', '* Objective-C *.*', '* OCaml *.*', '* Omnis Studio *.*', '* OpenEdge Advanced Business Language *.*', '* Oz, Mozart Programming System *.*', '* Perl *.*', '* PHP *.*', '* Power Builder *.*', '* ABCL *.*', '* Agora *.*', '* Cecil *.*', '* ECMAScript *.*', '* ActionScript *.*', '* JavaScript *.*', '* JScript *.*', '* Etoys *.*', '* Io *.*', '* Lua *.*', '* Lisaac *.*', '* MOO *.*', '* NewtonScript *.*', '* Obliq *.*', '* REBOL *.*', '* Self *.*', '* Python *.*', '* REALbasic *.*', '* Ruby *.*', '* Rust *.*', '* S *.*', '* R *.*', '* Scala *.*', '* Scriptol *.*', '* Seed7 *.*', '* SenseTalk *.*', '* Simula *.*', '* Smalltalk *.*', '* Self *.*', '* Bistro *.*', '* Squeak *.*', '* Pharo *.*', '* Newspeak *.*', '* Squirrel *.*', '* Swift *.*', '* TADS *.*', '* Tcl *.*', '* Xotcl *.*', '* incr Tcl *.*', '* Transcript *.*', '* TypeScript *.*', '* Ubercode *.*', '* Vala *.*', '* Visual Basic *.*', '* Visual Basic.NET *.*', '* VBScript *.*', '* Visual Basic for Applications *.*', '* Visual FoxPro *.*', '* Visual Prolog *.*', '* XBase++ *.*', '* Xojo *.*', '* ZZT-oop *.*']
for filename in os.listdir("/PATH/"):
for file in files_list:
if fnmatch.fnmatch(filename, (file)):
print(filename)