Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: How to copy files from subfolders into one folder
Post: RE: How to copy files from subfolders into one fol...
This is great, buran, thank you very much ! |
|
silfer |
General Coding Help |
3 |
8,413 |
Aug-29-2019, 06:43 AM |
|
|
Thread: How to copy files from subfolders into one folder
Post: How to copy files from subfolders into one folder
Hi **smile**
I want to copy tif files contained in subfolders of folder "U:\\collections\\2019_input\\" in one separated output folder "U:\\collections\\2019_output\\" (no subfolders needed in the ou... |
|
silfer |
General Coding Help |
3 |
8,413 |
Aug-28-2019, 03:35 PM |
|
|
Thread: Python Script to repeat Photoshop action in folders and subfolders
Post: RE: Python Script to repeat Photoshop action in fo...
Thanks DeaD_EyE.
Here is the code in the cited Web page :
def edit_File( actionScript, imagePath, saveDir, psApp ):
#png save options
options = win32com.client.Dispatch('Photoshop.ExportOpt... |
|
silfer |
General Coding Help |
2 |
4,566 |
Jul-25-2019, 03:12 PM |
|
|
Thread: Python Script to repeat Photoshop action in folders and subfolders
Post: Python Script to repeat Photoshop action in folder...
Hello.
I am using Windows 7, Python 3.6, editor Pycharm.
My goal :
Apply recorded action in Photoshop to many folders and subfolders containing images
My inspiration :
https://vsfxryan.com/portfol... |
|
silfer |
General Coding Help |
2 |
4,566 |
Jul-25-2019, 02:17 PM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
Hello.
This is a strategical post to place my thread at the list top **idea**
Cordial greetings. |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-25-2019, 12:54 PM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
Thank you, again, scidam, for your contribution.
The problem remains for the ones who would be interested :
How replacing the first character of a word, marked by some preceding substring (in my case... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-24-2019, 05:35 PM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
Sorry, scidam,
Your code produces a result. The got lines are :
<p>Material blabla ;-<lb/>D-imension blabla ;<lb/></p>
<p>Sideral blublu ;-<lb/>S-ticky Gonzalez bli... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-24-2019, 09:49 AM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
Scidam,
I am sincerely grateful for your effort !
As a Beotian, I simply copy-pasted your code and ran it, unfortunately with no different result:
<p>Material blabla ; [a-z]imension blabla ;<... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-24-2019, 08:07 AM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
It is true !
New code, then :
list = ['<p>Material blabla ;<lb/>Dimension blabla ;<lb/></p>','<p>Sideral blublu ;<lb/>Sticky Gonzalez blibli;<lb/>Reductio ad ... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-23-2019, 04:53 PM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: RE: Replace changing string including uppercase ch...
Did I in fact try something?
I wanted to do something like this :
import re
list = ['<p>Material blabla ;<lb/>Dimension blabla ;<lb/></p>','<p>Sideral blublu ;<lb/>... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-23-2019, 03:54 PM |
|
|
Thread: Replace changing string including uppercase character with lowercase character
Post: Replace changing string including uppercase charac...
Hello **smile**
My input lines :
<p>Material blabla ;<lb/>Dimension blabla ;<lb/></p>
<p>Sideral blublu ;<lb/>Sticky Gonzalez blibli;<lb/>Reductio ad absur... |
|
silfer |
General Coding Help |
11 |
6,211 |
Mar-23-2019, 01:35 PM |
|
|
Thread: Print element of list if string included = element of another list
Post: RE: Print element of list if string included = ele...
Thank you again, Dear Sherlock.
I am neither previous nor future engineer, so I needed to try following kind of code to understand:
check_list = {'G-12', 'G-422', 'G-562', 'G-1803', 'G-2534'}
data_l... |
|
silfer |
General Coding Help |
4 |
3,596 |
Jul-30-2018, 10:29 AM |
|
|
Thread: Print element of list if string included = element of another list
Post: RE: Print element of list if string included = ele...
Dear Minister of Silly Walks,
Your logic is great, thank you for your help.
If you had some more time to explain in a few words what following code is actually doing, I would be even more grateful :... |
|
silfer |
General Coding Help |
4 |
3,596 |
Jul-27-2018, 12:27 PM |
|
|
Thread: Print element of list if string included = element of another list
Post: Print element of list if string included = element...
Hi **smile**
Python 3.6
Windows 7 64 bits
Pycharm Community 2018.1
In the following script, I want each element of list 'g_liste' being searched in list 'g_era_complet_liste' ; if found, then prin... |
|
silfer |
General Coding Help |
4 |
3,596 |
Jul-26-2018, 02:35 PM |
|
|
Thread: Compare element of list with line of file : if match, delete line
Post: RE: Compare element of list with line of file : if...
SO easy for you, gontajones.
I am grateful.
**clap** |
|
silfer |
General Coding Help |
4 |
3,523 |
Jul-21-2018, 02:44 PM |
|
|
Thread: Compare element of list with line of file : if match, delete line
Post: RE: Compare element of list with line of file : if...
g_complet_resultat = open("g_complet_resultat.csv", "r") # file including the mentioned lines
NumeroLigne = 0
for line in g_complet_resultat: # mentioned list
NumeroLigne_supprimees = 0
for li... |
|
silfer |
General Coding Help |
4 |
3,523 |
Jul-21-2018, 02:12 PM |
|
|
Thread: Compare element of list with line of file : if match, delete line
Post: Compare element of list with line of file : if mat...
Hi **smile**
I have a list:
['123;G-12;http//www.g.ch/bidule_12', '456;G-422;http//www.g.ch/bidule_422', '789;G-562;http//www.g.ch/bidule_562']I have a csv.file with following lines:
123;G-12;http/... |
|
silfer |
General Coding Help |
4 |
3,523 |
Jul-21-2018, 11:56 AM |
|
|
Thread: Running a python tool transforming xml files into epub files
Post: RE: Running a python tool transforming xml files i...
Thanks for your answer, buran.
I would not have thought about a python's version problem.
Date of tool: Nov 18, 2008 https://code.google.com/archive/p/epub-tools/downloads
It should work with python 2... |
|
silfer |
General Coding Help |
7 |
5,420 |
May-10-2018, 03:18 PM |
|
|
Thread: Running a python tool transforming xml files into epub files
Post: RE: Running a python tool transforming xml files i...
|
silfer |
General Coding Help |
7 |
5,420 |
May-10-2018, 02:33 PM |
|
|
Thread: Running a python tool transforming xml files into epub files
Post: RE: Running a python tool transforming xml files i...
No answer at the moment **sleepy**
Maybe some of you are thinking: 'Well, man, just learn the language! Just learn how to run it!'
Well, you're right...
I made some steps further **smile** in re... |
|
silfer |
General Coding Help |
7 |
5,420 |
May-10-2018, 02:05 PM |