Files can only be modified in IDLE, but not via Powershell
Terry Reedy
tjreedy at udel.edu
Mon Feb 8 19:53:49 EST 2021
On 2/8/2021 4:33 PM, Stefan Ritter wrote:
>
> Hi,
>
> It would be highly appreciated if you could offer me some advice to
> solve a problem I'm currently facing:
>
> I have a Windows 10 ADM64 desktop and a Windows 10 AMD64 Laptop.
>
> I wrote some code to insert text in a .txt-file. It works perfectly on
> my laptop.
>
> On my desktop it works only if i run it in IDLE, the text appears
> afterwards in the file . However it does not work if run it in
> Powershell (or anything else), there are no changes made in the file.
Find the minimum code that exhibits a behavior difference. It should be
short enough to post here, along with the command you used to run it in
PowerShell or CommandPrompt and how you ran it in IDLE.
> I do not understand why this is the case. Python version, installation
> paths and user are the same on desktop and laptop. I searched a bit and
> found out that this issue might be caused by my antivirus software
> comodo, but even after I replaced it with antivir, an reinstalled python
> this didn't change anything.
>
> As mentionned, any help is highly appreciated. If you need any
> additional information please let me know!
>
> Best regards,
> Stefan
>
>
--
Terry Jan Reedy
More information about the Python-list
mailing list