« first day (2035 days earlier)      last day (2912 days later) » 

5:03 AM
Hi, Good morning
i am new to python, while writing a simple code i am facing some issue, can anyone help?

1)
buff=subprocess.check_output(["echo","$PATH"])
print buff

here, buff is printing PATH not environment variable path

2)
os.system("export PATH=$PATH:/opt/sro/bin/")

After this command when i check echo $PATH on terminal, i can see that this PATH is not been set, Can any one help?
 
 
2 hours later…
6:41 AM
Quiet night
 
7:17 AM
@MurtuzaVadharia please see sopython.com/chatroom, in particular please do not link newly asked (< 1-2 days old) questions.
 
7:56 AM
Morning
 
@Ffisegydd: you still in London?
 
@Martijn I am.
The joys of Bankside.
 
Wanna have dinner at our offices tonight? We've got a view and fun toys :-)
I should install Slack again..
 
@Martijn sounds awesome, where and when? My training has been finishing around 4.30 though it's meant to finish at 5 technically. I can probably be by Regent's Park around 5.30.
 
@Ffisegydd 10 Brock Street. I'll pre-register you once I dig up an email address.
Dinner is served from 6 onwards, but I can give you the tour first.
 
8:01 AM
See the removed message for my email.
I need to work out how to pronounce your name before I arrive.
 
Don't ask me to pronounce Welsh, and I'll turn a deaf ear towards attempts at Dutch.
 
Will @JonC be joining us?
 
Anonymous
8:20 AM
So .. my python application is littered with errors like
`(sql_version) list index out of range` and `'bool' object is not subscriptable` .. they are all over the place, and yet the script works just fine and does what it is supposed to do..
 
Anonymous
should I just ignore it, because I can't find any answers anywhere..
 
(Transiting from station to office)
 
8:35 AM
Trains delayed by 30 mins, which meant I had to walk further to find a Boris Bike. Just the next rack, luckily.
 
Are they going to re-name them to Sadiq Cycles?
 
:-D
I doubt it; doesn't quite have the ring of Boris Bikes.
 
besides, boris is the guy who first introduced them right?
also, cbg!
 
9:07 AM
@MartijnPieters Are you coming to the netherlands any time soon? Would love to meet up.
 
@GamesBrainiac the people who paid the taxes paid for them; he just spent their money and stuck his name on em :)
P.s. they are a really good idea, obv.
 
I can't actually ride a bike so they're lost on me.
 
@Ffisegydd I had a bike accident recently. Hurt my right hand real bad, took ages to heal.
Right now, I just take the bus.
btw, guys, what do you think of jeremy corbyn? The guy looks like he's out to get the bankers for good.
 
@Games what are you doing in the Netherlands?
 
@Ffisegydd Got a job here.
 
9:13 AM
@Games doing what?
 
@Ffisegydd Writing software.
 
And what part? I visited Amsterdam a few years ago for 3-4 days.
 
@Ffisegydd Well, mostly backend stuff. So we have like 3 different python applications. One that serves as an API, the other serves as a batch processor, and the other one is more experimental, used for finding patterns in stuff.
Although I'm changing this job, and going to another one.
But still in Amsterdam, though.
 
Yeah Amsterdam is beautiful.
I'm currently in London on training, and actually in quite a nice part of London.
 
@Ffisegydd It most certainly is, especially when sunny. So, what are you getting training for?
 
9:21 AM
Apache Spark 4 day course.
 
hmm, sounds pretty interesting :D
 
Spent 1.5 days going through the Hadoop environment so YARN, Hue, MR, Pig, Hive, Impala, then 2.5 days going through Spark.
 
Yikes, thats a lot of stuff in just 1.5 days.
 
It's not too much, we weren't going through the nuts and bolts, just what they are and some examples using them.
 
@GamesBrainiac No plans of now, sorry.
 
9:23 AM
@Ffisegydd That makes sense. I'm just learning how to use zookeeper right now. Its really quite interesting.
@MartijnPieters So, what's facebook like to work at?
 
My 2 older kids where there for Remembrance day, but I don't think you wanted to meet my by proxy ;-)
FB is an amazing place to work at.
 
We only touched on Zookeeper indirectly.
 
Intens, but amazing.
 
@MartijnPieters I need somewhere intense. I started at this job, but it turns out that I have to basically debug crappy code all day. So, I'm changing jobs.
 
Alas FizzyCorp do not have an Amsterdam office that I'm aware of.
 
9:41 AM
@Ffisegydd well that sucks. So, how is work at fizzycorp?
 
9:56 AM
@Ffisegydd woo Spark
 
10:09 AM
FizzyCorp is going really well. Working on some interesting data visualisation problems at the moment, also got a spare bit of time to do some Kaggle competitions.
 
Nice
 
I can tell Bob has just got a 1000 yard stare after reading that thinking "Spare time? What is this madness!?"
 
10:27 AM
@Ffisegydd Who's bob?
Oh, robert.
lol
 
Bob. Bobby. Boberto. BobbyG. BobbyBoy. Bobilicious.
 
10:51 AM
Cabbage!
 
cbg!
how goes it poke?
 
I’m tired but otherwise fine
was at a conference since Saturday, didn’t really get much sleep
 
what was the conference?
 
cabbage
 
11:09 AM
@Games Beyond Tellerrand
 
I've got training all week, home for Friday night, then at a conference all weekend.
 
sounds "fun"
I had to be abroad for 5 days last week and bleh
 
morning everyone
 
And because I'm going to the conference on my own money/time, not for FC, I can't really afford a hotel so am instead travelling to Bristol and back Sat and Sun.
It's only 1.5 hours by train each way, but still tiring.
 
:S
3 hours commute in a day, woo!
at least you can sleep in your own bed
that's always a huge plus for me
 
11:16 AM
Eh. It also means I can't have too much socialising with the others I know there.
 
Wow, thats some awesome determination fizzy.
 
@Ffisegydd that's also a huge plus for me
 
:P
 
I'll learn all the stuff from you ofc :P
some really cool technology in there.
 
The conference isn't big data related (well not directly).
It's on Open Data and its uses.
 
11:28 AM
cbg
 
@AnttiHaapala afternoon
 
stackoverflow.com/questions/37185077/… (duplicate, open for hammering)
 
@AndrasDeak jó napot
@AndrasDeak káposzta
 
haha:D
hyvää iltapäivää
(had to google, I only know hyvää päivää :( )
 
ilta = evening
 
11:34 AM
Curse you, google translate, curse youuuuuuuu!
or is that just additional info?
 
additional :D
iltapäivä is in between, not unlike northwest between north and west
 
oh, very nice, thanks:)
 
but káposzta seems to be of slavic origin if I am not mistaken
 
I'm not saying I find it logical, especially that päivää seems to mean "time of day" according to some wiki stuff, but my language is also not the epitome of logic:D
@AnttiHaapala that's right, very slavic
Russian is kapusta with cyrillic, so no surprise there
 
there are surprisingly few words of Russian origin in Finnish
 
11:37 AM
капуста, yes
 
yup, that ^
@AnttiHaapala I would expect that to be otherwise:)
but a lot of people speak Russian, right?
 
mosty only Russian or SSR-born ppl speak Russian ;)
@bereal yeah I just read the same page
 
oh, then I'm just generally confused
 
11:38 AM
mostly archaic...
 
bumaga? is that really Finnish? wow:D
 
the Finnish words are slang mostly
 
ah OK
reminds me of A Clockwork Orange
 
:)
 
@AndrasDeak that I have absolutely no idea what it means.
about the only one.
@bereal ikkuna = okno is one of the few. There is also the dialectal variant "akkuna"
 
11:39 AM
bumaga means paper in russian
or sheet of paper?
 
I'd guess that lääkäri could also be of Russian origin.
 
läkare in swedish...
 
basic word in Russian class, that's why I was surprised
some are a bit more obscure
siisti <-- чистый
 
@AndrasDeak there is the word "pumaska" meaning a pile of paper that I am vaguely familiar of...
 
might be related...?:)
 
11:41 AM
but as I said, almost all of the words in the list linked by bereal are slang terms, you wouldn't use any of those in academic writing, besides the ikkuna and kanava
 
I've always been sort of interested in etymology, but I didn't turn out to be a liberal arts major to pursue this interests
 
anyway, the Russian community is quite big here, but quite partitioned.
 
@AnttiHaapala we can blame the ikkuna case for our nomadic ancestors:P
 
perhaps...
 
our word is "ablak"
 
11:44 AM
but the funniest thing in Finnish is the proto-Germanic loanword for mother: äiti...
that no one else uses any longer ... :d
 
a relic:)
 
really?
 
you mean, no one outside Finland?
 
yeah
ofc...
 
11:46 AM
I heard, that was Agricola himself, who added it to the language.
 
the Finnish word "emo" is so archaic now that it can be applied only to animals only.
 
and to teenagers with pink hair
 
not piiiink
black, in their eyes:P
 
this source says that it has probably been much longer, but Agricola was the first to use it in written Finnish...
not because it wasn't used before, but he was the first person to actually really write in Finnish :D
 
hipster
 
11:48 AM
"Kirjakielessä ’äiti’ on esiintynyt Agricolasta alkaen."
that must be sad, when you write something, and nobody else can read it.
reminds a compiler bootstrap.
 
that's why he taught it as well...
 
wise move
 
not that it wasn't that hard.
no one just had the idea that you should actually write anything in such a lowly language.
"writing is for latin and swedish"
"finnish can be spoken"
 
DSM
Morning cabbage.
 
morning
 
DSM
11:51 AM
I don't think I've read any Finnish writers, come to think of it.
 
Tove Jansson, though she wrote in Swedish iirc.
 
@DSM ಶುಭೋದಯ, ಕನ್ನಡ! oops that was for @BhargavRao
@DSM yeah no wonder ;)
 
DSM
I'd vaguely heard of the Moomin stuff but never actually seen it. OTOH I remember reading Pippi Longstocking as a kid, so generalizing from my experience Swedish literature >> Finnish literature.
 
Well, Mumin >> Pippi Långstrump
though in any case, Jansson was Swedish-speaking as her first identity, somewhat like French-speaking Canadian - they've got perhaps a slightly different culture from the rest.
 
12:06 PM
@Antti we might have discussed this earlier, but most other European languages don't start their mothers with an "a", but we also have "anya" for that
 
Cabbage
 
well there's Basque but nobody knows where that came from
 
@PM2Ring cbg
 
@PM2Ring cabbage
 
@AndrasDeak obligatory...
 
12:08 PM
:D
 
Hi Antti. I got a few failures when I ran make test on Python 3.
 
Be more confident, no testing needed. Rest assured, it works.
 
@PM2Ring and did you take a copy of those? :d
 
It couldn't complete test_socket: in verbose mode it hangs on testRecvmsg (test.test_socket.RecvmsgUDP6Test). Also, test_asyncio test_asyncore test_ftplib failed.
 
12:10 PM
yeah probably no big deal :D
would be good to find out a commit ID for an official python release :D
 
I re-ran those in verbose mode but they print a lot of stuff and I don't know what's important, although stuff relating to IPv6 was mentioned.
 
@PM2Ring 264d5713cc51c9fd67af90a97a11fe5fded149ad
this is a commit id for 3.5.1
 
@AnttiHaapala Cool. So I should just go ahead and run make install? Should that be make altinstall, or don't I need to worry about that because I did ./configure --prefix=/opt/python3.x
@AnttiHaapala What can I do with that?
 
sudo make install should cleanly install to /opt/python3.x
if you want to switch to 3.5.1 (which is an exact released version)
you can git checkout 264d5713cc51c9fd67af90a97a11fe5fded149ad; then build from that but then you'd miss all the fun stuff that emerges in 3.6 :d
including format strings
damn I want to play with those too, I'll build 3.6 as well
 
@AnttiHaapala Oh, ok. I'll make a note of that, but I'll see how 3.6 goes first.
 
12:16 PM
just remember that you can name the current commit with git branch newnamegoeshere
the hg -> git conversion is not complete, the tags of minor releases are missing from git :/
 
@AnttiHaapala They look interesting! PEP 498 -- Literal String Interpolation
f-strings provide a way to embed expressions inside string literals, using a minimal syntax. It should be noted that an f-string is really an expression evaluated at run time, not a constant value. In Python source code, an f-string is a literal string, prefixed with 'f', which contains expressions inside braces. The expressions are replaced with their values.
 
@PM2Ring but again, python is falling behind ecmascript-to-be
@PM2Ring btw you can execute something like sudo apt-get build-dep python2.7 for apt-get to install all the dev packages needed to build python(2.7 yes, but the same libs should be ok for 3)
 
@AnttiHaapala Ok. I'll bear that in mind if I ever find myself compiling Python again. :)
 
you will, 3.6 final :D
 
@AndrasDeak My basque blood calling me
 
12:28 PM
Ok make install just finished. What do I do now to make all this stuff work properly? Do I just add /opt/python3.x/bin to my PATH?
 
12:42 PM
Yeah typically.
 
@PM2Ring yes
 
haha, cabbage @Ander :D
 
$ python3
Python 3.6.0a0 (default, May  9 2016, 02:54:33)
[GCC 4.4.5] on linux
Type "help", "copyright", "credits" or "license" for more information.
TAB completion available
>>> {2,3,5,7,11}
{2, 3, 5, 7, 11}
 
@PM2Ring that's not cool...
 
tab completion, wow
 
12:43 PM
The TAB completion available thing is from my startup file
 
ah OK
 
@AnttiHaapala What's not cool?
 
you're using set syntax from 2.7
{2, *[3, 5, 7], 11, *(13, 17)}
that's cool :P
 
@AndrasDeak Like this:
try:
  import readline
except ImportError:
  print("Module readline not available.")
else:
  import rlcompleter
  readline.parse_and_bind("tab: complete")
  print("TAB completion available")
 
>>> thing = 'world'
>>> f'Hello {thing}'
'Hello world'
@PM2Ring or use ipython ;)
but anyways
 
12:45 PM
I like having auto-complete in the interactive interpreter
 
@PM2Ring please make an announcement that you now jumped from 2.6 to 3.6 so we can pin it to the starboard :d
 
@AnttiHaapala Yep. That works.
 
@PM2Ring ipython has autocomplete in interactive interpreter, but it also has usable multiline editing
and other things that should be mandatory
 
@AnttiHaapala yiss, I use ipython, and I support this message
 
@AnttiHaapala I don't use the interactive interpreter much, apart from quick tests, and demos I paste here.
 
12:47 PM
ipython makes it easier to paste interactive sessions as is
 
@AnttiHaapala And I believe it makes timing tests very simple too.
 
it does
%timeit
 
@AnttiHaapala Ok. :)
 
DSM
Source code inspection + %timeit are my two favourite features.
 
and %matplotlib, wooo
 
although I never use this magic
the only magic I use is %paste
 
DSM
I use %matplotlib inline with jupyter a lot.
 
somehow copypaste from SO yams up indentation
 
Is redux a single library, or is it more like a design paradigm?
 
12:49 PM
Ok. I finally made the big jump from Python 2.6 to Python 3.6, which I compiled myself. With lots of help from Antti. :
8
 
\o/
 
@Chirag You're trying to modify the parent's environment from a child process. That's never going to work.
 
Now I suppose I ought to read some Python 3 docs... :)
 
@PM2Ring no, just ask on SO
 
12:58 PM
@AndrasDeak Laurel
FWIW, I actually used Py3 last night (from the build directory) to test this answer, which uses a dict comp.
 
Just tried to read the wiki article on monads. I need to lie down and put my brain on ice.
 
DSM
What's the problem?
 
If I were 15 years younger I'd comment on monads being way better than gonads. But as I'm not, I'll refrain from doing that.
 
@PM2Ring you could add that itemgetter is much faster than lambda
 
DSM
And much less useful.
 
1:01 PM
@AndrasDeak or "monads are better than yonads"
 
@DSM not "much" less
you can use itemgetter to get tuples...
 
@RobertGrant :)
 
attrgetter also works for nested lookups
 
@Ffisegydd :) I read about monads in Learn You a Haskell for Great Good!, and thought "Hey, they aren't that hard". But then when I went to actually write some Haskell code using a monad I realised I'd hardly absorbed any of the stuff I'd been reading. :)
 
>>> attrgetter('__class__.__name__', '__class__.__repr__')(5)
('int', <slot wrapper '__repr__' of 'int' objects>)
 
1:04 PM
Morning cabbage.
 
@PM2Ring and as Crockford says: when you finally understand them, you will also lose the ability of properly explaining them to a someone who didn't understand them yet.
 
DSM
@AnttiHaapala: yes, "much". Everything you can do with itemgetter you can do with a function, and there's basically only selection you can do with itemgetter, so.. actually, I'm trying to think of any way in which "much" doesn't understate it.
 
@AnttiHaapala "the funniest joke in the world" for programmers?
 
@AndrasDeak no, the funniest joke is "There are only 2 hard things in computing: naming things and cache invalidation and off-by-one errors"
 
@AnttiHaapala It is? I assumed itemgetter is more efficient than a "hand-rolled" lambda, but I didn't realise that it's significantly faster. FWIW, I generally use lambda, mostly just to avoid another import.
 
1:09 PM
@PM2Ring it is fastest when you pass it to a c funciotn
 
@AndrasDeak You have found my level (I also ought to be 15 years younger to find this amusing)
 
In [10]: %timeit sorted(l, key=lambda x: x[0])
10000 loops, best of 3: 186 µs per loop

In [11]: %timeit sorted(l, key=itemgetter(0))
10000 loops, best of 3: 119 µs per loop

In [12]: %timeit sorted(l)
10000 loops, best of 3: 27.7 µs per loop
where
l = [chr(i) for i in range(1000)]
%timeit sorted(l, key=str)
actally that is still a bad benchmark. new object creation. asec.
In [15]: l = [(i,) for i in range(1000)]
In [16]: %timeit sorted(l, key=lambda x: x[0])
10000 loops, best of 3: 151 µs per loop

In [17]: %timeit sorted(l, key=itemgetter(0))
10000 loops, best of 3: 86 µs per loop

In [18]: %timeit sorted(l)
10000 loops, best of 3: 48.1 µs per loop
 
@PM2Ring Yeah I'm looking to learn Scala and they're a big part of it.
 
@PM2Ring 1-tuples,
 
1:13 PM
The wiki article for them is terrible, really technically heavy.
 
key with lambda has almost 200% time overhead over key=itemgetter.
 
@Ffisegydd Yep. It looks like it was written by a hard-core CS type who hasn't actually written any code in a couple of decades.
@AnttiHaapala Ok. I'm convinced.
 
probably even more so in attrgetter...
 
@AnttiHaapala I know list.sort is written in C, and I'm pretty sure all the itertools stuff is too.
 
all of itertools iirc
there is no itertools.py
 
DSM
1:17 PM
They're faster but highly restricted, which is not an unusual trade-off.
 
Can we please slap any language developer who decides that ('item', 'item2') is array initialization. Square brackets are the one true way.
 
@MorganThrapp who's that?
 
Delphi 7.
So, Borland.
 
@MorganThrapp Even PostScript uses square brackets for arrays. It uses parentheses for strings, double angle brackets for dictionaries, and braces for executable arrays aka procedures. Actually, since it's a RPN language, the various opening brackets are all just synonyms for the mark operator, and only the closing bracket type determines the type of the collection.
 
1:22 PM
That's a little weird, but this line ImportFiles: Array[0..2] of String = ('ValuationHeader.txt', 'ValuationDetails.txt', 'ValuationLand.txt'); just hurts me.
Also, you don't need parens on a zero arg function call which leads to all sorts of fun when you're reading the code.
"Is that a variable? Is that a function? I'd know if the autocomplete would ever open".
 
@PM2Ring tried to find the one text...
 
@AnttiHaapala Thanks. I've updated my answer.
 
someone was given an assignment that they could write in any programming language
so they'd use postscript :D
it was about some statistics, and the hardest part was generating random numbers in postscript. Graphing then was much easier ;)
 
@AnttiHaapala The core of PostScript is a fun little language, if you like RPN. OTOH, I mostly ignore all the DSC crap that got added onto it. :)
@AnttiHaapala Well, the traditional random number function is rather ancient: you get 32 bit unsigned ints. More recent versions may have something better, but my PS manual is from 1990.
 
@PM2Ring I am not sure what they'd use, probably something like time and such to get more "entropy" to seed a custom generator
but anyway that'd teach the staff who'd say "use any programming language"
 
1:33 PM
Probably. It wouldn't be hard to code Mersenne Twister in PostScript...
My 1st submission to codegolf was written in PostScript: codegolf.stackexchange.com/a/62094/46655
 
I remember learning postscript in college and thinking "This will be handy some day". It wasn't.
 
good morning fellow Pythonistas
 
bah
 
@QuestionC Oh well. It's nice to be able to algorithmically generate documents, but these days I'd be more inclined to do it with Python + SVG, although I still like to write stuff in PostScript from time to time. And I think it's good to learn languages that are radically different from what you normally use.
 
I'm trying to do some functional testing for a script I wrote (already has unit tests). My plan is to call the script using subprocess, then check the returned stdout/exit code, and run unittest assertions against those.
is there a better way to do that?
 
1:44 PM
morning snakes
 
howdy @idjaw
 
o/
 
does anyone know of a good reference for doing functional testing within Python?
im using unittest and hoping I can stick with that (not adverse to using pytest, which apparently supports functional testing)
 
morning snakes is way better than morning breakfast
 
@DirtyPenguin by functional testing you mean writing tests in functions?
 
1:50 PM
@bereal I mean I'd like to test the behaviour of the script. Ie, if I run the script, does it talk to my mock redis instance properly. Does it print an error to stdout if the config file is unreadable. Etc.
 
ah
well, nothing you could not do with unittest.
 
yeah. you can unittest almost anything.
if you find that things are hard to test, it is an indication that your code is too complex and needs to be simplified
i.e. broken down in to smaller pieces
 
right, so my original idea was to wrap calls to my script using subprocess and check the return code, output, etc. Then run unittest assertions against it... is that the right way to do it?
 
when I unittest I never like running things "for real". In other words, if I am testing a method foo, and method foo, makes call to (to use your example), redis. I will mock redis.
I don't want anything "real" happening. I want to test the behaviour of THAT method
so I set the expectation of what redis should do
 
I usually try to extract the core logic into a lib and test it in isolation, so that dependencies are mocked.
 
1:53 PM
^^ the simplified explanation of what I was trying to say. :P
yes
 
ok makes sense
 
Not that it absolutely always worth it.
 
but i guess what I'm trying to seperate my funtional testing with my unit testing
 
2:12 PM
hmm
just thought about this:
adding final/constant variables in python
 
Looks like the device troubleshooting question is back for another round.
 
how it'd work is to make a module such that you cannot reassign the name
however I am unsure how it'd work in classes/instances, probably not as straightforward
 
DSM
2:29 PM
I'm a little doubtful his thesis is going to succeed.
 
I don't understand. Someone decides to do something for their thesis, without any research beforehand to know whether it is even a good idea
and then goes on to SO to ask for documentation
wtf...seriously....wtf
 
@idjaw exactly.
 
Can we please get a trigger warning for cv-plses that make the reader lose faith in humanity. Thanks in advance.
 
@Kevin which tag?
I can modify cv-pls to add anothertag like
 
@Kevin Sometimes, I can't help but sympathize with xkcd.com/343 Elaine Roberts: I THINK WE SHOULD STAB BAD GUYS... :)
I think I smell an XY problem: stackoverflow.com/questions/37189371/…
 
2:39 PM
does anyone recommend using one over the other: mockredis vs fakeredis ?
 
I didn't know about mockredis actually
but I use fakeredis
 
ah ok cool
 
Scala uses => for anonymous functions, but also allows the UTF-8 character ⇒
Madness.
 
hello all. I came here to ask about scrapy. Anyone here willing to give pointers? I pay for service.
 
Anybody got a dupe for Converting variable name into a string then printing it? Python? I'm sure I've seen a Q like this before.
It's sort of a tragic question because there are arguably legitimate use cases for printing a value's name. Like if you wanted to write a debug(x) function that outputs data about the x object.
ofc then the million dollar question is, "If I do debug(23), what will it say the name is?"
 
2:52 PM
Steve
 
php <3
 
Dennis
 
@Programmer Yes?
 
Python allows unicode characters in identifiers
 
22 hours ago, by Kevin
user image
 
2:53 PM
PHP allows nonbreaking space as an identifier <3
 
Well meme'd sir.
 
@MorganThrapp That's silly, your name still says Morgan....
 
Wish I could do something about the aliasing on the V, there.
 
specifically the answer by @Todd
 
I have a lot of sympathy for the the question, it's understandable but embarassing to realise the python operator for turning variables into names is ".
 
2:57 PM
@QuestionC this was downvoted:
0
A: Convert Variable Name to String?

Jonathan Feinbergprint "var" print "something_else" Or did you mean something_else?

 
I had an idea to iterate up the call stack, inspecting the local names in each context to check if any are bound to a value referentially equal to x. But I don't know if it's actually possible to find names that way, except for the current context and the global context using locals() and globals().
 

« first day (2035 days earlier)      last day (2912 days later) »