Re: Local access to a file, How To ?

2020-07-28 Thread DL Neil via Python-list
On 29/07/2020 08:56, Steve wrote: I have a python program that reads and writes to files that are all within the folder that contains the python program. There is now a second python program that is to be run to compile information in said files. I am having difficulty trying to call the local

Re: Local access to a file, How To ?

2020-07-28 Thread MRAB
On 2020-07-28 21:56, Steve wrote: I have a python program that reads and writes to files that are all within the folder that contains the python program. There is now a second python program that is to be run to compile information in said files. I am having difficulty trying to call the

RE: Local access to a file, How To ?

2020-07-28 Thread Steve
I have a python program that reads and writes to files that are all within the folder that contains the python program. There is now a second python program that is to be run to compile information in said files. I am having difficulty trying to call the local supporting program from wit

Re: Support both asyncio and synchronous callers

2020-07-28 Thread Barry Scott
> On 26 Jul 2020, at 02:36, Damian Johnson wrote: > > Hi. I'm the author of Stem, Tor's python library [1]. Recently we > migrated to asyncio, but desire to still be usable by synchronous > callers. > > We wrote a mixin [2][3] that transparently makes any class usable by > both asyncio and sy

Re: Dowloading package dependencies from locked down machine

2020-07-28 Thread dn via Python-list
On 29/07/2020 07:29, J. Pic wrote: Ideas for solutions: - use pip install --user at home, copy over ~/.local/lib/python3.8/site-packages - same, but with ~/.cache/pip ...or even building an entire parallel Python environment on an Internet-connected machine (even a VM), from which the PYTHON

Windows and Subclassing - 'OverflowError': int too long to convert

2020-07-28 Thread Eko palypse
Hello, I am subclassing a scintilla window and it happens every now and then that I get an OverflowError. I've logged the message and could narrow down that it is a single windows message which causes this trouble. It's WM_ERASEBKGND. Now the confusing part for me is the following. According to MS

Re: Dowloading package dependencies from locked down machine

2020-07-28 Thread J. Pic
Ideas for solutions: - use pip install --user at home, copy over ~/.local/lib/python3.8/site-packages - same, but with ~/.cache/pip -- https://mail.python.org/mailman/listinfo/python-list

Re: Dowloading package dependencies from locked down machine

2020-07-28 Thread Python
Andrew McLean wrote: At work my only Internet access is via a locked-down PC. The IT department are not willing to install Python on it [1]. Ideally I would download packages and their dependencies from PyPi using "pip download" at the command line. Any better solutions than downloading the pac

Re: Dowloading package dependencies from locked down machine

2020-07-28 Thread Mats Wichmann
On 7/27/20 7:33 PM, Igor Korot wrote: > Hi, >> The issue is that the IT department thinks that installing the full >> power of Python scripting on an Internet facing machine is inconsistent >> with the "Cyber Essentials Plus" accreditiation that they need to win >> Government contracts. > Coming