The action taken for a particular file-type is customizable.bat files are executed as Windows batch-scripts. Several file-types have built-in behaviors for instance, executable files (such as the Python interpreter itself) must end in.py files should be opened using the newly-installed application Python (i.e. This information is recorded in the Windows registry when Python is installed, it typically tells Windows that.Windows looks up what action to take based on the file extension.In the case of Python files, this is typically. This is the last part of the filename starting with. When you attempt to open or run a file, Windows first examines the extension of that file.The Wiki page on "shebang" has more details, but I'll try to give an overview as well as a comparison to Windows here.įirst, let's look at the situation on Windows: This is actually a feature rather than a limitation, but we'll get to that in a moment. It's the program loader on Unix/Linux that uses the "shebang" line, as it's called. Python does not have any such special requirement on Linux.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |