On 9/1/20 5:31 PM, Chris Angelico wrote:
On Wed, Sep 2, 2020 at 10:23 AM Andras Tantos
wrote:
I did see these macros in the CPython source code. What it seems to
imply is that if I wanted to do what I intend, that is to hook every
local variable assignment, I would have to modify the AST. That
On Wed, Sep 2, 2020 at 11:43 AM Steve wrote:
>
> >> Requires numpy, dateutil, pytz, setuptools, and optionally numexpr,
> >> bottleneck, scipy, matplotlib, pytables, lxml, xarray, blosc, snappy,
> >> brotlipy, backports.lzma, statsmodels, sqlalchemy, psycopg2, and whatnot.
>
> >It means you need
On Wed, Sep 2, 2020 at 11:29 AM Andras Tantos
wrote:
> OK, and sorry about that. May third time a charm?
Thank you! Whatever you did this time, that worked :)
> Indeed, I'm executing a code object and not a string. Is there any way
> to get to the string version of the function and force a re-co
>> Requires numpy, dateutil, pytz, setuptools, and optionally numexpr,
>> bottleneck, scipy, matplotlib, pytables, lxml, xarray, blosc, snappy,
>> brotlipy, backports.lzma, statsmodels, sqlalchemy, psycopg2, and whatnot.
>It means you need all those things installed before you can install Pandas
Snipping old parts...
On 9/1/20 4:01 PM, Chris Angelico wrote:
On Wed, Sep 2, 2020 at 8:44 AM Andras Tantos
wrote:
While I'm sure you're right, it certainly is well hidden:
...
In other words, I can indeed change the value of a local variable
through the locals() dict.
Not quite. What you'r
On Wed, Sep 2, 2020 at 10:23 AM Andras Tantos
wrote:
> I did see these macros in the CPython source code. What it seems to
> imply is that if I wanted to do what I intend, that is to hook every
> local variable assignment, I would have to modify the AST. That seems
> rather more effort than simply
My import function mysteriously stop working. Is there a way to restore it as I
need the second screen to see the turtle move when I command it from python
3.8.5 shell but when I hit enter nothing happens.
--
https://mail.python.org/mailman/listinfo/python-list
On 9/1/20 1:42 PM, Chris Angelico wrote:
On Wed, Sep 2, 2020 at 5:00 AM Andras Tantos
wrote:
All,
I'm new here, so please direct me to the right forum, if this is not the
one...
What I'm trying to do is to call a function, but monitor all the local
variable accesses within that function. Wha
On 2020-09-01, Richard Damon wrote:
> My research says that Unix System V allowed them, but restricted them to
> super users, to avoid the bigger problems with them. I don't know how it
> handle the issue of ..
SunOS-3/4 (a BSD 4.x derivative) allowed them, but restricted them to
root. It did n
On 9/1/2020 5:58 PM, Andras Tantos wrote:
On 9/1/2020 12:41 PM, MRAB wrote:
CPython is able to identify all of the local names of a function and,
Note >>>of a function<<<.
basically, for reasons of efficiency, it uses slots for the local
names instead of an actual dict. 'locals()' just re
On Wed, Sep 2, 2020 at 8:44 AM Andras Tantos
wrote:
>
> While I'm sure you're right, it certainly is well hidden:
>
> Python 3.8.2 | packaged by conda-forge | (default, Apr 24 2020,
> 07:34:03) [MSC v.1916 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more informa
On 01Sep2020 18:42, Grant Edwards wrote:
>On 2020-09-01, Richard Damon wrote:
>> Remember, we are talking about a hypothetical OS that handles
>> hardlinks
>> to directories, and defines that .. will point to the parent used to
>> come to it, NOT just having current *NIX allowing hardlinks to
>>
On 9/1/2020 12:41 PM, MRAB wrote:
On 2020-09-01 05:45, Andras Tantos wrote:
All,
I'm new here, so please direct me to the right forum, if this is not the
one...
What I'm trying to do is to call a function, but monitor all the local
variable accesses within that function. What I thought I woul
On 9/1/20 9:03 AM, Chris Angelico wrote:
> On Tue, Sep 1, 2020 at 10:57 PM Richard Damon
> wrote:
>> On 8/31/20 6:05 PM, Chris Angelico wrote:
>>> On Tue, Sep 1, 2020 at 5:08 AM Richard Damon
>>> wrote:
The file descriptor could remember the path used to get to it. chroot
shows that .
On Wed, Sep 2, 2020 at 6:59 AM Steve wrote:
>
> Wow, that is quite a list
> Here is what I narrowed it down to. What does that paragraph starting with
> "Requires" mean?
>
> ===
> Pandas: a cross-section and time series data analysis toolkit.
>
> Requires numpy
On 9/1/20, Chris Angelico wrote:
> On Wed, Sep 2, 2020 at 4:55 AM Eryk Sun wrote:
>
>> "test2/spam" is a bind mount for "test1/spam", and note that `mount
>> --bind` in Linux is a namespace operation, i.e. it's not a new device:
>>
>> >>> os.lstat('test1/spam').st_dev == os.lstat('test2/spam'
Wow, that is quite a list
Here is what I narrowed it down to. What does that paragraph starting with
"Requires" mean?
===
Pandas: a cross-section and time series data analysis toolkit.
Requires numpy, dateutil, pytz, setuptools, and optionally numexpr, bottlen
On Wed, Sep 2, 2020 at 6:17 AM Steve wrote:
>
> Ok, I think I ran into this about a year ago when this was suggested back
> then.
>
> I entered “pip install pandas”
>
> I am told to “install Anaconda which can be deleted later” (huh?)
> Then it tells me “Installing with “Miniconda” (huh? Huh?)
On Wed, Sep 2, 2020 at 5:00 AM Andras Tantos
wrote:
>
> All,
>
> I'm new here, so please direct me to the right forum, if this is not the
> one...
>
> What I'm trying to do is to call a function, but monitor all the local
> variable accesses within that function. What I thought I would need to
> d
On Wed, Sep 2, 2020 at 4:55 AM Eryk Sun wrote:
>
> On 9/1/20, Chris Angelico wrote:
> >
> > Also, even if all that could be solved, I don't like the idea that
> > reading the same directory from two different sources leads to
> > different results. Is it really the same directory if reading it in
Ok, I think I ran into this about a year ago when this was suggested back then.
I entered “pip install pandas”
I am told to “install Anaconda which can be deleted later” (huh?)
Then it tells me “Installing with “Miniconda” (huh? Huh?)
Then “Installing from PyPl which is what I used to get the s
On 2020-09-01 05:45, Andras Tantos wrote:
All,
I'm new here, so please direct me to the right forum, if this is not the
one...
What I'm trying to do is to call a function, but monitor all the local
variable accesses within that function. What I thought I would need to
do, is to |exec| the funct
Lourival Beltrão
Medical Physicist
Supervisor Radiation Protection
Nuclear Engineer
***
Go green, make sense
Please consider the environment before printing this e-mail.
The contents of this e-mail message (including any attachments) are
All,
I'm new here, so please direct me to the right forum, if this is not the
one...
What I'm trying to do is to call a function, but monitor all the local
variable accesses within that function. What I thought I would need to
do, is to |exec| the function with a custom |locals| dictionary.
On 2020-09-01, Richard Damon wrote:
> Remember, we are talking about a hypothetical OS that handles hardlinks
> to directories, and defines that .. will point to the parent used to
> come to it, NOT just having current *NIX allowing hardlinks to
> directories with no remediation of the issues cau
On 9/1/20, Chris Angelico wrote:
>
> Also, even if all that could be solved, I don't like the idea that
> reading the same directory from two different sources leads to
> different results. Is it really the same directory if reading it in
> different ways gives different results?
What's your take
Steve writes:
> Glutton for punishment, I am looking into designing another .py program. I
> would like to pull two columns of information from Excel but the more I look
I've found the xlrd module easy to use for extracting data from
Excel files. But I've only used it on .xsl and .xsls. I've neve
On Tue, Sep 1, 2020 at 10:57 PM Richard Damon wrote:
>
> On 8/31/20 6:05 PM, Chris Angelico wrote:
> > On Tue, Sep 1, 2020 at 5:08 AM Richard Damon
> > wrote:
> >> The file descriptor could remember the path used to get to it. chroot
> >> shows that .. needs to be somewhat special, as it needs t
On 8/31/20 6:05 PM, Chris Angelico wrote:
> On Tue, Sep 1, 2020 at 5:08 AM Richard Damon wrote:
>> The file descriptor could remember the path used to get to it. chroot
>> shows that .. needs to be somewhat special, as it needs to go away for
>> anyone that . is their current root.
> But my point
Steve wrote:
> Glutton for punishment, I am looking into designing another .py program.
> I would like to pull two columns of information from Excel but the more I
> look
> into coding on the 'net, the more confusing it looks. I don't understand
> what I need to import or install to get the link
On Sun, 30 Aug 2020 09:59:15 +0100
Barry Scott wrote:
>
>
> > On 29 Aug 2020, at 18:01, Dennis Lee Bieber
> > wrote:
> >
> > On Sat, 29 Aug 2020 18:24:10 +1000, John O'Hagan
> > declaimed the following:
> >
> >> There's no error without the sleep(1), nor if the Process is
> >> started befor
Glutton for punishment, I am looking into designing another .py program. I
would like to pull two columns of information from Excel but the more I look
into coding on the 'net, the more confusing it looks. I don't understand
what I need to import or install to get the link.
Steve
Footnote:
S
32 matches
Mail list logo