workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
does it have a line in it added by anaconda?
2017-11-17T11:27:52.000283
Fabiola
pythondev_help_Fabiola_2017-11-17T11:27:52.000283
1,510,918,072.000283
100,703
pythondev
help
If you have any local resources, like friends or coworkers who have experience in either one, that’d be a good way to prioritize which to choose
2017-11-17T11:27:59.000184
Junita
pythondev_help_Junita_2017-11-17T11:27:59.000184
1,510,918,079.000184
100,704
pythondev
help
for pagination, I think I would really only need the main page and limit the number of results.
2017-11-17T11:28:00.000642
Virgen
pythondev_help_Virgen_2017-11-17T11:28:00.000642
1,510,918,080.000642
100,705
pythondev
help
something like `export PATH="/home/ogaday/miniconda3/bin:$PATH"`
2017-11-17T11:28:09.000163
Fabiola
pythondev_help_Fabiola_2017-11-17T11:28:09.000163
1,510,918,089.000163
100,706
pythondev
help
no it doesn't
2017-11-17T11:28:24.000810
Arica
pythondev_help_Arica_2017-11-17T11:28:24.000810
1,510,918,104.00081
100,707
pythondev
help
hmm, i may have accidentally removed it
2017-11-17T11:28:30.000845
Arica
pythondev_help_Arica_2017-11-17T11:28:30.000845
1,510,918,110.000845
100,708
pythondev
help
if it was supposed to be there
2017-11-17T11:28:39.000316
Arica
pythondev_help_Arica_2017-11-17T11:28:39.000316
1,510,918,119.000316
100,709
pythondev
help
Interesting ^^ I think it's an option to put it there automatically when installing anaconda
2017-11-17T11:28:56.000701
Fabiola
pythondev_help_Fabiola_2017-11-17T11:28:56.000701
1,510,918,136.000701
100,710
pythondev
help
hmm... I'm torn. I think I might go with django. I dont have any local resources for assistance. My understanding is that django has the more significant web community.
2017-11-17T11:29:33.000247
Virgen
pythondev_help_Virgen_2017-11-17T11:29:33.000247
1,510,918,173.000247
100,711
pythondev
help
and, if this is successful, I may start looking for other tasks that I can simplify by building a simple webapp, when that time comes, if I need some of those features you talked about in django, I would rather build on existing knowledge than learn django after having figured out flask...
2017-11-17T11:31:03.000111
Virgen
pythondev_help_Virgen_2017-11-17T11:31:03.000111
1,510,918,263.000111
100,712
pythondev
help
Do you want to do a bit of deeper troubleshooting, or do you just want to get on with other stuff right now?
2017-11-17T11:31:04.000726
Fabiola
pythondev_help_Fabiola_2017-11-17T11:31:04.000726
1,510,918,264.000726
100,713
pythondev
help
it might, although I’m not sure the difference would be significant enough to matter.
2017-11-17T11:31:05.000555
Junita
pythondev_help_Junita_2017-11-17T11:31:05.000555
1,510,918,265.000555
100,714
pythondev
help
yeah that sounds like a good plan
2017-11-17T11:31:18.000549
Junita
pythondev_help_Junita_2017-11-17T11:31:18.000549
1,510,918,278.000549
100,715
pythondev
help
django definitely has a little more of a learning curve than flask, but it’ll shine when you get into intermediate level stuff
2017-11-17T11:31:47.000471
Junita
pythondev_help_Junita_2017-11-17T11:31:47.000471
1,510,918,307.000471
100,716
pythondev
help
thank you for the info! I do appreciate it!
2017-11-17T11:37:49.000328
Virgen
pythondev_help_Virgen_2017-11-17T11:37:49.000328
1,510,918,669.000328
100,717
pythondev
help
Essentially: you want to be installing stuff using `/Users/danilo.herrera/anaconda/bin/pip` instead of `/usr/local/bin/pip`, because the different `pip`s will install the packages to different places. If you try `/Users/danilo.herrera/anaconda/bin/pip uninstall tensorflow` it should work. And in future you want to be u...
2017-11-17T11:38:30.000337
Fabiola
pythondev_help_Fabiola_2017-11-17T11:38:30.000337
1,510,918,710.000337
100,718
pythondev
help
np
2017-11-17T11:39:12.000450
Junita
pythondev_help_Junita_2017-11-17T11:39:12.000450
1,510,918,752.00045
100,719
pythondev
help
In the future, rather than always writing `/Users/danilo.../pip` when using `pip` you can modify your `PATH` environment variable so that it points at `anaconda/bin` before `usr/lcoal/bin`
2017-11-17T11:41:30.000349
Fabiola
pythondev_help_Fabiola_2017-11-17T11:41:30.000349
1,510,918,890.000349
100,720
pythondev
help
Anther consideration for the future is that when doing projects you can create virtual environments, either using `conda` (<https://conda.io/docs/user-guide/getting-started.html>) or virtual envs (<https://docs.python.org/3/tutorial/venv.html>). That way, each project will have it's own packages and dependencies. So yo...
2017-11-17T11:46:04.000376
Fabiola
pythondev_help_Fabiola_2017-11-17T11:46:04.000376
1,510,919,164.000376
100,721
pythondev
help
I prefer `conda`, because it's better for things like `scipy`, `numpy`, etc. Oh, and I think to fix your `PATH` variable you could put a line like `export PATH="Users/danilo.herrera/anaconda/bin:$PATH"` in your `.bashrc` but I'm not sure. You can try and delete the line later if it doesn't work!
2017-11-17T11:50:53.000008
Fabiola
pythondev_help_Fabiola_2017-11-17T11:50:53.000008
1,510,919,453.000008
100,722
pythondev
help
To see what your `PATH` currently looks like, I think you can write `echo $PATH` in your shell
2017-11-17T11:52:20.000258
Fabiola
pythondev_help_Fabiola_2017-11-17T11:52:20.000258
1,510,919,540.000258
100,723
pythondev
help
happy to be here
2017-11-17T12:47:45.000666
Rutha
pythondev_help_Rutha_2017-11-17T12:47:45.000666
1,510,922,865.000666
100,724
pythondev
help
:wave:
2017-11-17T12:58:38.000010
Meg
pythondev_help_Meg_2017-11-17T12:58:38.000010
1,510,923,518.00001
100,725
pythondev
help
Is anyone really familiar with Scapy, specifically to read packet captures? I have some code that does some general packet analysis on already decrypted data, but it calls tshark three different times. I've been told Scapy would be quicker to do this, but I can't find any solid documentation. So, are there good docs? I...
2017-11-17T13:03:36.000093
Sana
pythondev_help_Sana_2017-11-17T13:03:36.000093
1,510,923,816.000093
100,726
pythondev
help
``` tshark -r '+ PCAP + ' -2 -R wlan.fc.type_subtype==8 -T fields -E separator="~" -e <http://wlan.sa|wlan.sa> -e wlan.ssid -e wlan.ds.current_channel -e wlan.extended_supported_rates -e wlan.tag.number -e wlan.rsn.gcs.type ```
2017-11-17T13:03:51.000312
Sana
pythondev_help_Sana_2017-11-17T13:03:51.000312
1,510,923,831.000312
100,727
pythondev
help
Guessing I should probably brew uninstall all the pythons I currently have installed too?
2017-11-17T13:52:33.000072
Bradly
pythondev_help_Bradly_2017-11-17T13:52:33.000072
1,510,926,753.000072
100,728
pythondev
help
I would make sure you know where they exist before doing that, but yeah. I tend to not want to mess with the system python.
2017-11-17T13:59:03.000737
Winnifred
pythondev_help_Winnifred_2017-11-17T13:59:03.000737
1,510,927,143.000737
100,729
pythondev
help
Oh don’t get me wrong, I don’t want to touch the system python at all. Leaving that one where it’s at.
2017-11-17T13:59:27.000640
Bradly
pythondev_help_Bradly_2017-11-17T13:59:27.000640
1,510,927,167.00064
100,730
pythondev
help
the system one is located at /usr/bin/python typically, right?
2017-11-17T13:59:43.000424
Bradly
pythondev_help_Bradly_2017-11-17T13:59:43.000424
1,510,927,183.000424
100,731
pythondev
help
yeah and or /usr/local/bin
2017-11-17T14:05:12.000417
Winnifred
pythondev_help_Winnifred_2017-11-17T14:05:12.000417
1,510,927,512.000417
100,732
pythondev
help
awesome, I only have the /usr/bin version, and brew uses /usr/local/bin for its symlinks, so I’m set :D
2017-11-17T14:05:58.000068
Bradly
pythondev_help_Bradly_2017-11-17T14:05:58.000068
1,510,927,558.000068
100,733
pythondev
help
I have done only one simple project in Scapy for my university classes, but the docs aren't that good unfortunately
2017-11-17T14:18:59.000283
Mirian
pythondev_help_Mirian_2017-11-17T14:18:59.000283
1,510,928,339.000283
100,734
pythondev
help
Anyone ever have issues with cloning external repos in a GitLab pipeline? Specifically issues with the host key verification. I've read <https://docs.gitlab.com/ee/ci/ssh_keys/README.html> but nothing here has worked for me
2017-11-17T14:21:11.000497
Susann
pythondev_help_Susann_2017-11-17T14:21:11.000497
1,510,928,471.000497
100,735
pythondev
help
the one cool think is that you can use interactive session to play around
2017-11-17T14:23:17.000162
Mirian
pythondev_help_Mirian_2017-11-17T14:23:17.000162
1,510,928,597.000162
100,736
pythondev
help
Awesome, do you still have that project? I'd like to check it out if you don't mind
2017-11-17T14:55:54.000670
Sana
pythondev_help_Sana_2017-11-17T14:55:54.000670
1,510,930,554.00067
100,737
pythondev
help
Sorry, had to step away. Thanks so much for your help, <@Fabiola>! I ended up using `conda` as you suggested and everything is working perfectly! :smile:
2017-11-17T15:02:29.000216
Arica
pythondev_help_Arica_2017-11-17T15:02:29.000216
1,510,930,949.000216
100,738
pythondev
help
(Didn't have luck adding the anaconda path to `.bashrc`)
2017-11-17T15:14:47.000061
Arica
pythondev_help_Arica_2017-11-17T15:14:47.000061
1,510,931,687.000061
100,739
pythondev
help
I'm not sure that I can share it as a whole, but basically we had script for sending custom packets and the other script for receiving them. Here's a simplified logic for the listener ```#!/usr/bin/python from scapy.all import * # processes packets reveived by sniff() method def pkt_callback(pkt): if pkt.getlayer...
2017-11-17T16:23:45.000353
Mirian
pythondev_help_Mirian_2017-11-17T16:23:45.000353
1,510,935,825.000353
100,740
pythondev
help
and for the sender part, we were simply creating some dummy packets ```a=Ether()/IPv6(src=s,dst=d)/dataToSend``` and were sending them using ```sendp(a, iface='wlan0')````
2017-11-17T16:25:32.000132
Mirian
pythondev_help_Mirian_2017-11-17T16:25:32.000132
1,510,935,932.000132
100,741
pythondev
help
that's not much, but hope that it helps you get started somehow
2017-11-17T16:26:19.000070
Mirian
pythondev_help_Mirian_2017-11-17T16:26:19.000070
1,510,935,979.00007
100,742
pythondev
help
you probably want to take a look at the API docs for (what i assume is) apache spark's DataFrame: <https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrame.collect>
2017-11-17T19:20:26.000060
Jaquelyn
pythondev_help_Jaquelyn_2017-11-17T19:20:26.000060
1,510,946,426.00006
100,743
pythondev
help
and <https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.Row>
2017-11-17T19:20:35.000023
Jaquelyn
pythondev_help_Jaquelyn_2017-11-17T19:20:35.000023
1,510,946,435.000023
100,744
pythondev
help
results = [] for row in df.collect(): results.append(row.asDict()) return results
2017-11-17T19:21:57.000154
Jaquelyn
pythondev_help_Jaquelyn_2017-11-17T19:21:57.000154
1,510,946,517.000154
100,745
pythondev
help
or something like that, depends on what you need exactly
2017-11-17T19:22:05.000052
Jaquelyn
pythondev_help_Jaquelyn_2017-11-17T19:22:05.000052
1,510,946,525.000052
100,746
pythondev
help
if that's exactly what you need, you might write it using list comprehension: return [row.asDict() for row in df.collect()]
2017-11-17T19:24:40.000114
Jaquelyn
pythondev_help_Jaquelyn_2017-11-17T19:24:40.000114
1,510,946,680.000114
100,747
pythondev
help
Hi all, When committing to my sqlalchemy database, I want to ignore any objects that have the same primary key. is using session.merge the correct way of doing so?
2017-11-17T20:30:20.000080
Winnie
pythondev_help_Winnie_2017-11-17T20:30:20.000080
1,510,950,620.00008
100,748
pythondev
help
Actually, I think what I want is to define my model as "PRIMARY KEY ON CONFLICT IGNORE" but I can't seem to find how
2017-11-17T20:45:49.000012
Winnie
pythondev_help_Winnie_2017-11-17T20:45:49.000012
1,510,951,549.000012
100,749
pythondev
help
Okay it seems it's not possible Is there a way to manually add a line to a declarative base in alchemy?
2017-11-17T20:55:22.000096
Winnie
pythondev_help_Winnie_2017-11-17T20:55:22.000096
1,510,952,122.000096
100,750
pythondev
help
Has anyone worked with the soundcloud python api?
2017-11-17T21:34:37.000069
Adrianne
pythondev_help_Adrianne_2017-11-17T21:34:37.000069
1,510,954,477.000069
100,751
pythondev
help
Hello, in setup.py how to make it install packages if they are not found in the system?
2017-11-18T02:32:01.000070
Oneida
pythondev_help_Oneida_2017-11-18T02:32:01.000070
1,510,972,321.00007
100,752
pythondev
help
<http://python-packaging.readthedocs.io/en/latest/dependencies.html>
2017-11-18T04:34:08.000029
Porsha
pythondev_help_Porsha_2017-11-18T04:34:08.000029
1,510,979,648.000029
100,753
pythondev
help
<https://github.com/sergeygorky/docker_study> - What am I doing wrong? Why can't I run? (I don't understand docker, selenium and python)
2017-11-18T07:17:47.000027
Georgeann
pythondev_help_Georgeann_2017-11-18T07:17:47.000027
1,510,989,467.000027
100,754
pythondev
help
anyone using pipenv ?
2017-11-18T15:57:49.000026
Rickey
pythondev_help_Rickey_2017-11-18T15:57:49.000026
1,511,020,669.000026
100,755
pythondev
help
anyone can help me solve this issue on my mac running virtualenv error: .virtualenv/lib/python3.6/site-packages/psycopg2/_psycopg.cpython-36m-darwin.so, 2): Library not loaded: libssl.1.0.0.dylib
2017-11-19T05:46:08.000004
Myriam
pythondev_help_Myriam_2017-11-19T05:46:08.000004
1,511,070,368.000004
100,756
pythondev
help
Guys hope you are all good got a question here. is it possible to code the power rangers zordon effect(to make it you need a picture or a video) to use it as a physical representation of your personal assistant either at home or at your office. in case you still dont understand me here is a link that might help( <http...
2017-11-19T11:22:59.000072
Samantha
pythondev_help_Samantha_2017-11-19T11:22:59.000072
1,511,090,579.000072
100,757
pythondev
help
Any scrapy developer here? I need help. How can I form a custom JSON output instead of a row-wise JSON structure? I want data output in nested JSON structure
2017-11-19T12:38:07.000034
Pasquale
pythondev_help_Pasquale_2017-11-19T12:38:07.000034
1,511,095,087.000034
100,758
pythondev
help
Look for some help on a few lists. Here my two lists(i've made this a small example as possible)
2017-11-19T14:37:36.000048
Krysta
pythondev_help_Krysta_2017-11-19T14:37:36.000048
1,511,102,256.000048
100,759
pythondev
help
```listOne = [['itemOne', '£0.13'], ['itemTwo', '£0.05']] listTwo = [['itemTwo', '£0.09'], ['itemOne', '£0.12']]```
2017-11-19T14:38:24.000048
Krysta
pythondev_help_Krysta_2017-11-19T14:38:24.000048
1,511,102,304.000048
100,760
pythondev
help
My current predicament is I need to match the itemOne and then get the highest price
2017-11-19T14:40:04.000072
Krysta
pythondev_help_Krysta_2017-11-19T14:40:04.000072
1,511,102,404.000072
100,761
pythondev
help
would it not make more sense to use `dict` instead of `list` ?
2017-11-19T14:41:03.000094
Ciera
pythondev_help_Ciera_2017-11-19T14:41:03.000094
1,511,102,463.000094
100,762
pythondev
help
Yeah probably, I try a dictionary then
2017-11-19T14:42:11.000051
Krysta
pythondev_help_Krysta_2017-11-19T14:42:11.000051
1,511,102,531.000051
100,763
pythondev
help
Does anyone have a solution, using `tqdm` or any other "loading bar", to give it a large file &gt;5GB and have it give a progress report based on how much has been read so far in the stream?
2017-11-20T00:30:54.000043
Myong
pythondev_help_Myong_2017-11-20T00:30:54.000043
1,511,137,854.000043
100,764
pythondev
help
I think you need to do the % yourself
2017-11-20T02:34:37.000041
Ciera
pythondev_help_Ciera_2017-11-20T02:34:37.000041
1,511,145,277.000041
100,765
pythondev
help
but you can tell it to increment by a little bit for each line you read ?
2017-11-20T02:34:52.000147
Ciera
pythondev_help_Ciera_2017-11-20T02:34:52.000147
1,511,145,292.000147
100,766
pythondev
help
Thanks <@Ciera>, using a dict seems much simpler, I just have a question
2017-11-20T02:57:23.000171
Krysta
pythondev_help_Krysta_2017-11-20T02:57:23.000171
1,511,146,643.000171
100,767
pythondev
help
My code is ```listOne = {'itemOne': '£0.20', 'itemTwo': '£0.16'} listTwo = {'itemOne': '£0.00', 'itemTwo': '£0.43'} listThree = {'itemOne': '£0.00', 'itemTwo': '£0.10'} listFour = {'itemOne': '£0.21', 'itemTwo': '£0.13'} # WORKING EXAMPLE for (a,b), (c,d), (e,f), (g,h) in zip(listOne.items(), listTwo.items(), listThre...
2017-11-20T02:58:18.000120
Krysta
pythondev_help_Krysta_2017-11-20T02:58:18.000120
1,511,146,698.00012
100,768
pythondev
help
So in the above it print's out ```itemOne £0.21 itemTwo £0.43```
2017-11-20T02:58:54.000054
Krysta
pythondev_help_Krysta_2017-11-20T02:58:54.000054
1,511,146,734.000054
100,769
pythondev
help
It's making sure the key's are the same and then comparing the values, but i need to know how I can print out which dictionary name the value came from
2017-11-20T03:00:17.000009
Krysta
pythondev_help_Krysta_2017-11-20T03:00:17.000009
1,511,146,817.000009
100,770
pythondev
help
so i can manually see the £.21 came from listFour and then other from listTwo, I'm not sure how i can write this in code
2017-11-20T03:02:01.000030
Krysta
pythondev_help_Krysta_2017-11-20T03:02:01.000030
1,511,146,921.00003
100,771
pythondev
help
Are all elements in every list or it happens that one is missing?
2017-11-20T03:17:14.000242
Ciera
pythondev_help_Ciera_2017-11-20T03:17:14.000242
1,511,147,834.000242
100,772
pythondev
help
``` for my_item in listOne.keys(): print(my_item, max(listOne[my_item], listTwo[my_item], ...)) ```
2017-11-20T03:18:58.000124
Ciera
pythondev_help_Ciera_2017-11-20T03:18:58.000124
1,511,147,938.000124
100,773
pythondev
help
If yes you could do something like that
2017-11-20T03:19:10.000277
Ciera
pythondev_help_Ciera_2017-11-20T03:19:10.000277
1,511,147,950.000277
100,774
pythondev
help
theres a chance the elements are missing
2017-11-20T03:19:22.000303
Krysta
pythondev_help_Krysta_2017-11-20T03:19:22.000303
1,511,147,962.000303
100,775
pythondev
help
So itemOne might not be present in listTwo etc
2017-11-20T03:20:02.000143
Krysta
pythondev_help_Krysta_2017-11-20T03:20:02.000143
1,511,148,002.000143
100,776
pythondev
help
``` for my_item in set((*listOne.keys(), *listTwo.keys(), ...)): print(my_item, max(listOne.get(my_item), listTwo.get(my_item)) ```
2017-11-20T03:23:02.000067
Ciera
pythondev_help_Ciera_2017-11-20T03:23:02.000067
1,511,148,182.000067
100,777
pythondev
help
So the above you gave is similar to mine and works :smile: but i need to access the name of the dictionary not the items etc
2017-11-20T03:23:03.000140
Krysta
pythondev_help_Krysta_2017-11-20T03:23:03.000140
1,511,148,183.00014
100,778
pythondev
help
you could do something like:
2017-11-20T03:26:48.000035
Ciera
pythondev_help_Ciera_2017-11-20T03:26:48.000035
1,511,148,408.000035
100,779
pythondev
help
``` for my_item in ...: m = max(listOne, listTwo, ..., key=lambda k: k[my_item]) if m is listOne: print('listone', my_item, m[my_item]) elif m is listTwo: print('listtwo', my_item, m[my_item]) ```
2017-11-20T03:28:45.000162
Ciera
pythondev_help_Ciera_2017-11-20T03:28:45.000162
1,511,148,525.000162
100,780
pythondev
help
That works great thank you
2017-11-20T03:38:20.000256
Krysta
pythondev_help_Krysta_2017-11-20T03:38:20.000256
1,511,149,100.000256
100,781
pythondev
help
nice. Well the key was to remember the `key` arg of max. It's not something I use frequently
2017-11-20T03:42:51.000310
Ciera
pythondev_help_Ciera_2017-11-20T03:42:51.000310
1,511,149,371.00031
100,782
pythondev
help
<@Myong> check out the clint.textui module which has a progress bar. <http://nullege.com/codes/search/clint.textui.progress.bar>
2017-11-20T03:59:15.000151
Wonda
pythondev_help_Wonda_2017-11-20T03:59:15.000151
1,511,150,355.000151
100,783
pythondev
help
I used it recently for downloading files using Requests.
2017-11-20T03:59:35.000339
Wonda
pythondev_help_Wonda_2017-11-20T03:59:35.000339
1,511,150,375.000339
100,784
pythondev
help
<@Ciera>, after some testing it looks like it's failing when the keys aren't precisely matched up
2017-11-20T07:12:10.000265
Krysta
pythondev_help_Krysta_2017-11-20T07:12:10.000265
1,511,161,930.000265
100,785
pythondev
help
So when it's iterating through the dictionaries, looking for say, key itemOne ```listOne = {'itemOne': '£0.20', 'itemTwo': '£0.16'} listTwo = {'itemTwo': '£0.43', itemOne': '£0.00'} listThree = {'itemOne': '£0.00', 'itemTwo': '£0.10'} listFour = {'itemOne': '£0.21', 'itemTwo': '£0.13'}```
2017-11-20T07:14:50.000043
Krysta
pythondev_help_Krysta_2017-11-20T07:14:50.000043
1,511,162,090.000043
100,786
pythondev
help
If listTwo shows itemTwo in the first field if throws an error
2017-11-20T07:15:25.000215
Krysta
pythondev_help_Krysta_2017-11-20T07:15:25.000215
1,511,162,125.000215
100,787
pythondev
help
can you post the whole snippet :slightly_smiling_face:
2017-11-20T07:16:25.000081
Ciera
pythondev_help_Ciera_2017-11-20T07:16:25.000081
1,511,162,185.000081
100,788
pythondev
help
``` for my_item in webZiffit.keys(): m = max(webZiffit, webWeBuyBooks, webMusicMagpie, webMomox, key=lambda k: k[my_item]) if m is webZiffit: print('Ziffit', my_item, m[my_item]) outputZiffit.append(my_item) elif m is webWeB...
2017-11-20T07:16:47.000248
Krysta
pythondev_help_Krysta_2017-11-20T07:16:47.000248
1,511,162,207.000248
100,789
pythondev
help
```Traceback (most recent call last): File "C:/Users/constuelo/PycharmProjects/projectPython/WebScrapingMedia/selenium_media_pricing/workingDirectory/RunWebDriver.py", line 229, in &lt;module&gt; test = CalculatePrice() File "C:/Users/constuelo/PycharmProjects/projectPython/WebScrapingMedia/selenium_media_prici...
2017-11-20T07:17:15.000018
Krysta
pythondev_help_Krysta_2017-11-20T07:17:15.000018
1,511,162,235.000018
100,790
pythondev
help
667068821925 is a barcode where itemOne/itemTwo would be
2017-11-20T07:18:26.000296
Krysta
pythondev_help_Krysta_2017-11-20T07:18:26.000296
1,511,162,306.000296
100,791
pythondev
help
Ah, that's a shame. You could also try making an alias for `pip` in your bashrc? It would be a bit hacky
2017-11-20T07:18:52.000039
Fabiola
pythondev_help_Fabiola_2017-11-20T07:18:52.000039
1,511,162,332.000039
100,792
pythondev
help
I'm using py3.5 if that helps
2017-11-20T07:19:42.000332
Krysta
pythondev_help_Krysta_2017-11-20T07:19:42.000332
1,511,162,382.000332
100,793
pythondev
help
in `key=lambda k: k[my_item]` we try to access the item in all dictionary but sometimes it's not present
2017-11-20T07:21:28.000037
Ciera
pythondev_help_Ciera_2017-11-20T07:21:28.000037
1,511,162,488.000037
100,794
pythondev
help
so we should use `key=lambda k: k.get(my_item)`
2017-11-20T07:21:45.000178
Ciera
pythondev_help_Ciera_2017-11-20T07:21:45.000178
1,511,162,505.000178
100,795
pythondev
help
but then I don't think `max` works with `None` so not sure what you can set as default
2017-11-20T07:22:14.000082
Ciera
pythondev_help_Ciera_2017-11-20T07:22:14.000082
1,511,162,534.000082
100,796
pythondev
help
I've just had a google, do you think I should order my dictionaries so each key is in the right place instead of random?
2017-11-20T07:23:17.000064
Krysta
pythondev_help_Krysta_2017-11-20T07:23:17.000064
1,511,162,597.000064
100,797
pythondev
help
And does 3.6 give ordered dicts by default?
2017-11-20T07:23:32.000319
Krysta
pythondev_help_Krysta_2017-11-20T07:23:32.000319
1,511,162,612.000319
100,798
pythondev
help
I don't think this is a problem of ordering
2017-11-20T07:23:52.000071
Ciera
pythondev_help_Ciera_2017-11-20T07:23:52.000071
1,511,162,632.000071
100,799
pythondev
help
the key is missing in one dict
2017-11-20T07:24:10.000380
Ciera
pythondev_help_Ciera_2017-11-20T07:24:10.000380
1,511,162,650.00038
100,800
pythondev
help
yeah your right it is missing
2017-11-20T07:25:15.000097
Krysta
pythondev_help_Krysta_2017-11-20T07:25:15.000097
1,511,162,715.000097
100,801
pythondev
help
``` import inspect def retrieve_name(var): """ Gets the name of var. Does it from the out most frame inner-wards. :param var: variable to get name from. :return: string """ for fi in reversed(inspect.stack()): names = [var_name for var_name, var_val in fi.frame.f_locals.items() if var_v...
2017-11-20T07:29:20.000156
Carri
pythondev_help_Carri_2017-11-20T07:29:20.000156
1,511,162,960.000156
100,802