Hello ,
I'm trying to understand how I can open a text file and run a python script from command line , is this possible ?
Looking for something like this :
ex : notepad++ file.txt -script python_script.py
I'm using the same with some other applications that supports script flag for I'm not sure how is this really possible with this plugin and Npp . can you please advice on this , aslo I'm open to any other ideas that can help me to do this .
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think it is reasonably possible, but let me ask you WHY this is important to you? I'm an extensive Pythonscript user and have never wanted/needed to do that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm an animation Pipeline TD and this is a kind of regular workflow we have for all applications that supporting python , in this case I need to do bunch of string manipulation in a file and need to open the file and run a python script and this is part of automated process with bunch of other pre/post scripts.
Do you think about any other solution for this ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, why not just use straight Python without Notepad++ to do manipulation on these files? That would fit better in a "batch" situation like you describe. Or would the Pythonscripts use the power of Notepad++ to do something to the text that it would be difficult to duplicate in straight Python?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello ,
I'm trying to understand how I can open a text file and run a python script from command line , is this possible ?
Looking for something like this :
ex : notepad++ file.txt -script python_script.py
I'm using the same with some other applications that supports script flag for I'm not sure how is this really possible with this plugin and Npp . can you please advice on this , aslo I'm open to any other ideas that can help me to do this .
Thanks.
I don't think it is reasonably possible, but let me ask you WHY this is important to you? I'm an extensive Pythonscript user and have never wanted/needed to do that.
I'm an animation Pipeline TD and this is a kind of regular workflow we have for all applications that supporting python , in this case I need to do bunch of string manipulation in a file and need to open the file and run a python script and this is part of automated process with bunch of other pre/post scripts.
Do you think about any other solution for this ?
Well, why not just use straight Python without Notepad++ to do manipulation on these files? That would fit better in a "batch" situation like you describe. Or would the Pythonscripts use the power of Notepad++ to do something to the text that it would be difficult to duplicate in straight Python?