This is just a GUI that detects your file's real extension using the filetype module.

Overview


Real-file.extnsn

This is just a GUI that detects your file's real extension using the filetype module.

Requirements

  • Python 3.4 and above
  • filetype module to scanning

Installation

  1. Download source code from Releases page.
  2. Open terminal and type pip install filetype
  3. Run main.py for English or main_turkish.py for Turkish.

Information if MIT License link is not working

That bug is caused by Python. To fix, you should make a minor change on webbrowser.py (It is on {PYTHON_PATH}/lib/webbrowser.py. Steps:

  1. Find except (FileNotFoundError, subprocess.CalledProcessError): in the code
  2. Change it as except (FileNotFoundError, subprocess.CalledProcessError, PermissionError) :
  3. Problem is now fixed. This is pre-added on next versions of Python.

Source: https://bugs.python.org/issue41005

Supported extensions

See https://github.com/h2non/filetype.py#supported-types.


Thanks to

Comments
  • MIT license link is not working

    MIT license link is not working

    Versions

    Real-file.extnsn: v3.5 (As far as I see code, since v3.3)

    Python: 3.9.6

    Is the bug a crash?

    No

    Error log

    • English:
    Exception in Tkinter callback
    Traceback (most recent call last):
      File "python_path\Python39\lib\tkinter\__init__.py", line 1892, in __call__
        return self.func(*args)
      File "app_path\Real-file.extnsn\app\main.py", line 86, in <lambda>
        MIT_link.bind("<Button-1>", lambda e: ont('https://github.com/h2non/filetype.py/blob/master/LICENSE'))
    NameError: name 'ont' is not defined
    
    • Turkish:
    Exception in Tkinter callback
    Traceback (most recent call last):
      File "python_path\Python39\lib\tkinter\__init__.py", line 1892, in __call__
        return self.func(*args)
      File "app_path\Real-file.extnsn\app\main_turkish.py", line 86, in <lambda>
        MIT_linki.bind("<Button-1>", lambda e: ont('https://github.com/h2non/filetype.py/blob/master/LICENSE'))
    NameError: name 'ont' is not defined
    

    Steps to occur the bug

    1. Run program 2. Try to go to MIT License link

    bug 
    opened by ygz213 2
  • Turkish and English version's string is not same

    Turkish and English version's string is not same

    Versions

    Real-file.extnsn: v4

    Python: 3.9.6

    Is the bug a crash?

    No

    Describe the bug

    Turkish and English version's Select the file or paste the file's path. string is not same (Turkish version is still Paste the file's path.)

    Steps to occur the bug

    1. Run program

    Screenshot(s)

    Ekran Görüntüsü (9) Ekran Görüntüsü (10)

    bug 
    opened by ygz213 1
  • Run

    Run "Scan" button's command when enter is pressed on input box

    Describe the feature you want

    Run "Scan" button's command when enter is pressed on input box for:

    • another option to scan the file
    • better user experience
      • minimal mouse action
    enhancement 
    opened by ygz213 1
  • Turkish and English version's design is not same

    Turkish and English version's design is not same

    Versions

    Real-file.extnsn: v3.3

    Python: 3.9.6

    Is the bug a crash?

    No

    Steps to occur the bug

    1. Run both 2. See difference (between scan buttons)

    Screenshot(s)

    English

    Turkish

    bug 
    opened by ygz213 1
  • Wrong version information on Turkish version

    Wrong version information on Turkish version

    Versions

    Real-file.extnsn: v3.3

    Python: 3.9.6

    Is the bug a crash?

    No

    Steps to occur the bug

    1. Run main_turkish.py

    Screenshot(s)

    • English (Correct):

    English (Correct)

    • Turkish (Incorrect):

    Turkish (Incorrect)

    bug 
    opened by ygz213 1
  • Version information is wrong

    Version information is wrong

    Is the bug occurring with latest version?

    Python: 3.9.0

    Is the bug a crash?

    No

    Describe the bug

    Window title is Real-file.extnsn (R-F.E v3) on R-F.E v3.1. This is very important problem.

    Steps to occur the bug

    1. Run program

    Screenshot(s)

    English Turkish

    bug 
    opened by ygz213 1
  • Icon issue for Linux

    Icon issue for Linux

    Is the bug occurring with latest version?

    Yes Python: 3.8.3

    Is the bug a crash?

    Yes

    Describe the bug

    Code has a syntax error for Linux

    Steps to occur the bug

    1. Run program

    Screenshots

    IMG_20210712_105520_739

    bug crash 
    opened by ygz213 1
Releases(v4.3)
pydicom - Read, modify and write DICOM files with python code

pydicom is a pure Python package for working with DICOM files. It lets you read, modify and write DICOM data in an easy "pythonic" way.

DICOM in Python 1.5k Jan 04, 2023
Python virtual filesystem for SQLite to read from and write to S3

Python virtual filesystem for SQLite to read from and write to S3

Department for International Trade 70 Jan 04, 2023
Provides a convenient way to append numpy arrays to a file.

Provides a convenient way to append numpy arrays to a file. The NpendWriter and NpendReader classes are used to write and read numpy arrays respective

3 May 14, 2022
Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series.

Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series. The Fourier series can be animated and visualized, the function can be output as a tw

Alexander 12 Jan 01, 2023
File support for asyncio

aiofiles: file support for asyncio aiofiles is an Apache2 licensed library, written in Python, for handling local disk files in asyncio applications.

Tin Tvrtković 2.1k Jan 01, 2023
A python script generate password files in plain text

KeePass (or any desktop pw manager?) Helper WARNING: This script will generate password files in plain text. ITS NOT SECURE. I needed help remembering

Eric Thomas 1 Nov 21, 2021
ValveVMF - A python library to parse Valve's VMF files

ValveVMF ValveVMF is a Python library for parsing .vmf files for the Source Engi

pySourceSDK 2 Jan 02, 2022
🧹 Create symlinks for .m2ts files and classify them into directories in yyyy-mm format.

🧹 Create symlinks for .m2ts files and classify them into directories in yyyy-mm format.

Nep 2 Feb 07, 2022
A simple file module for creating, editing and saving files.

A simple file module for creating, editing and saving files.

1 Nov 25, 2021
A wrapper for DVD file structure and ISO files.

vs-parsedvd DVDs were an error. A wrapper for DVD file structure and ISO files. You can find me in the IEW Discord server

7 Nov 17, 2022
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".

the problem What directory should your app use for storing user data? If running on macOS, you should use: ~/Library/Application Support/AppName If

ActiveState Software 948 Dec 31, 2022
Maltego transforms to pivot between PE files based on their VirusTotal codeblocks

VirusTotal Codeblocks Maltego Transforms Introduction These Maltego transforms allow you to pivot between different PE files based on codeblocks they

Ariel Jungheit 18 Feb 03, 2022
PaddingZip - a tool that you can craft a zip file that contains the padding characters between the file content.

PaddingZip - a tool that you can craft a zip file that contains the padding characters between the file content.

phithon 53 Nov 07, 2022
Object-oriented file system path manipulation

path (aka path pie, formerly path.py) implements path objects as first-class entities, allowing common operations on files to be invoked on those path

Jason R. Coombs 1k Dec 28, 2022
Object-oriented file system path manipulation

path (aka path pie, formerly path.py) implements path objects as first-class entities, allowing common operations on files to be invoked on those path

Jason R. Coombs 1k Dec 28, 2022
Convert All TXT Files To One File.

AllToOne Convert All TXT Files To One File. Hi 👋 , I'm Alireza A Python Developer Boy 🔭 I’m currently working on my C# projects 🌱 I’m currently Lea

4 Jun 07, 2022
Convert CSV files into a SQLite database

csvs-to-sqlite Convert CSV files into a SQLite database. Browse and publish that SQLite database with Datasette. Basic usage: csvs-to-sqlite myfile.cs

Simon Willison 731 Dec 27, 2022
Better directory iterator and faster os.walk(), now in the Python 3.5 stdlib

scandir, a better directory iterator and faster os.walk() scandir() is a directory iteration function like os.listdir(), except that instead of return

Ben Hoyt 506 Dec 29, 2022
A tool written in python to generate basic repo files from github

A tool written in python to generate basic repo files from github

Riley 7 Dec 02, 2021
A simple Python code that takes input from a csv file and makes it into a vcf file.

Contacts-Maker A simple Python code that takes input from a csv file and makes it into a vcf file. Imagine a college or a large community where each y

1 Feb 13, 2022