Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Reducing code length
Post: RE: Reducing code length

I'm using a list of string for the input. For example: lst = ['M1CW10006-1','15277782','CW1455778'] etc.. There is more than 100 000 of those kind of string on the list and I take the digits after t...
xavier992 General Coding Help 4 4,385 Jul-22-2017, 12:45 AM
    Thread: Reducing code length
Post: Reducing code length

Hi everyone, I'm new to python and I'm trying to reduce code length. Is there an efficient way to rewrite this simple code? Thanks for the help! Xav def config_WOpick(lst):    for k in lst:        ...
xavier992 General Coding Help 4 4,385 Jul-21-2017, 09:12 PM
    Thread: Shutil problem in file sorting script
Post: RE: Shutil problem in file sorting script

Thanks for the fast reply. I probably didn't express myself correctly. Everything in the script runs fine. The only problem is that when I access the copied files, I am unable to delete them manually...
xavier992 General Coding Help 3 3,993 Jun-22-2017, 07:18 PM
    Thread: Shutil problem in file sorting script
Post: Shutil problem in file sorting script

Hey everyone, I'm currently using shutil to sort a large number of files based on information contained in the filename. Everything is working fine except for the fact that once the files are sorted ...
xavier992 General Coding Help 3 3,993 Jun-22-2017, 06:21 PM

User Panel Messages

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