Python Forum
Pyinstaller - I can't drag and drop into the CMD terminal anymore..
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyinstaller - I can't drag and drop into the CMD terminal anymore..
#3
(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Your script extracts file paths from shortcuts?
How does it do this?
my script ask the user a path (example: "C:\Users\Pippo\Desktop\file.txt") because it needs to know where is a specific text file. then it will read it and produce a new file. to give the specific path to my script, you have two choises, the first one is write by hand it in the cmd terminal, the second one instead is drag and drop the file in the cmd terminal. the second one is easier and simpler then the first one, but it works only if I run, let me say, the ".py" version of my script. the drag and drop doesn't work if I use the ".exe" version of my script.

(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: In what OS? Assuming Windows because cmd and exe
Windows 10 Professional, x64

(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Why use the terminal? Can't you create a special window for this that will work regardless of how the program is stored?
my script don't have a GUI, it's just a CLI script. when you open it you will see the cmd terminal.

(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Why does it need to be an exe?
because I have to use it on different PC without python installed.
Reply


Messages In This Thread
RE: Pyinstaller - I can't drag and drop into the CMD terminal anymore.. - by aquerci - Jan-11-2020, 05:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My first script does not work anymore redfirebrooks 2 2,472 Jan-05-2021, 10:49 AM
Last Post: redfirebrooks
  Code used to work, not anymore for no apparent reason? chicagoxjl 1 1,939 Jan-08-2020, 05:05 PM
Last Post: jefsummers
  Python code suddenly not working anymore mike_b 5 5,874 Oct-02-2019, 03:38 PM
Last Post: ichabod801
  All of a sudden Pycharm doesn't run anymore (select valid interpreter) Luke_Drillbrain 1 5,338 May-04-2017, 07:30 PM
Last Post: buran
  Windows: Put File automatically under Cursor for Drag & Drop sym 1 3,539 Jan-13-2017, 04:55 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020