Python Forum
To create a folder with given key name and paste contents from clipboard into it
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To create a folder with given key name and paste contents from clipboard into it
#4
Please help me with the above script
The the script will scan an excel file(xls/xlsx) where 2 colums <x> and <y>
are defined as:
<x> file
<y> person to assign the <x> file

The script will then search files the files on system and
copy the files to clipboard so that it can be pasted to the
desired location and this will be done for every unique <y> person.

The script works fine till there. Please help me to make the script to automatically paste the clipboard content to a folder created on the name of each "unique y" person, where y is the search keyword. I am stuck here were I can make it create a folder name with os.makedirs with "sellPersonValue" as the folder name not the actual "unique y" person name. Will it be possible for the script to create a folder named with "unique y" and then paste the content into it each time automatically or with a raw input is given? I feel like Tkinter or Pyperclip, maybe be of help, but really at loss how to inco-orporate it into this script. Please Please help me ...
Reply


Messages In This Thread
RE: To create a folder with given key name and paste contents from clipboard into it - by sibjac - Mar-04-2018, 04:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create dual folder on different path/drive based on the date agmoraojr 2 1,483 Jan-21-2024, 10:02 AM
Last Post: snippsat
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 1,636 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  What script to paste folders thenewcoder 1 1,454 Nov-29-2023, 09:40 AM
Last Post: Pedroski55
  non-latin characters in console from clipboard Johanson 3 1,729 Oct-26-2023, 10:10 PM
Last Post: deanhystad
  Please help me [copy and paste file from src to dst] midomarc 2 1,974 Nov-24-2022, 10:13 PM
Last Post: midomarc
  saving and loading text from the clipboard with python program MaartenRo 2 3,105 Jan-22-2022, 05:04 AM
Last Post: MaartenRo
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 6,673 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  ImageTk Paste KDog 14 10,939 Jun-27-2021, 11:07 AM
Last Post: KDog
  Move file from one folder to another folder with timestamp added end of file shantanu97 0 3,247 Mar-22-2021, 10:59 AM
Last Post: shantanu97
  Cut and Paste Oshadha 3 3,566 Jan-20-2021, 04:27 PM
Last Post: spaceraiders

Forum Jump:

User Panel Messages

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