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 | the error you’re seeing depends on the fact that `SOR(A, b, x0, tol, iter_max, w)` is an array with more than 1 element | 2019-02-14T06:23:06.572200 | Brandi | pythondev_help_Brandi_2019-02-14T06:23:06.572200 | 1,550,125,386.5722 | 8,521 |
pythondev | help | No, you should check the contents of the .bat file. | 2019-02-14T06:23:39.572900 | Magaly | pythondev_help_Magaly_2019-02-14T06:23:39.572900 | 1,550,125,419.5729 | 8,522 |
pythondev | help | while you’re trying to assign the first element of that array to `x`, you’re skipping the remaining part of the array and you cannot do that | 2019-02-14T06:24:07.573600 | Brandi | pythondev_help_Brandi_2019-02-14T06:24:07.573600 | 1,550,125,447.5736 | 8,523 |
pythondev | help | so `x = SOR(A, b, x0, tol, iter_max, w)` and check for `x` afterwards to avoid errors when returning `None` | 2019-02-14T06:24:35.574200 | Brandi | pythondev_help_Brandi_2019-02-14T06:24:35.574200 | 1,550,125,475.5742 | 8,524 |
pythondev | help | not getting this point | 2019-02-14T06:24:46.574300 | Kia | pythondev_help_Kia_2019-02-14T06:24:46.574300 | 1,550,125,486.5743 | 8,525 |
pythondev | help | after running this command "sudo chmod +x jadx/bin/jadx.bat " getting below error:
Traceback (most recent call last):
File "app.py", line 33, in <module>
process = subprocess.Popen(cmdCommand.split(), stdout=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 394, in __init__
errread, er... | 2019-02-14T06:27:44.574500 | Kia | pythondev_help_Kia_2019-02-14T06:27:44.574500 | 1,550,125,664.5745 | 8,526 |
pythondev | help | hi all | 2019-02-14T07:06:19.574800 | Elina | pythondev_help_Elina_2019-02-14T07:06:19.574800 | 1,550,127,979.5748 | 8,527 |
pythondev | help | Continuing are conversation from yesterday | 2019-02-14T07:06:51.574900 | Lorinda | pythondev_help_Lorinda_2019-02-14T07:06:51.574900 | 1,550,128,011.5749 | 8,528 |
pythondev | help | ... can you explain in general terms what I must do in order to make the reset function hackrf_spiflash -r work? | 2019-02-14T07:07:22.575100 | Lorinda | pythondev_help_Lorinda_2019-02-14T07:07:22.575100 | 1,550,128,042.5751 | 8,529 |
pythondev | help | i have this `a = Decimal(1) * Decimal(1) / Decimal(0.05)` it result `Decimal('19.99999999999999888977697537')` how can i avoid it? i want when multiply it with a number it should be `20`. eg: `a * 2` should result `20` | 2019-02-14T07:10:13.577200 | Elina | pythondev_help_Elina_2019-02-14T07:10:13.577200 | 1,550,128,213.5772 | 8,530 |
pythondev | help | use `Decimal("0.05")` | 2019-02-14T07:12:39.577500 | Jonas | pythondev_help_Jonas_2019-02-14T07:12:39.577500 | 1,550,128,359.5775 | 8,531 |
pythondev | help | Exception in thread "main" java.lang.UnsupportedClassVersionError: jadx/cli/JadxCLI : Unsupported majo r.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:808)
at java.security.SecureClassLoader.defineClass(SecureClas... | 2019-02-14T07:26:31.577600 | Kia | pythondev_help_Kia_2019-02-14T07:26:31.577600 | 1,550,129,191.5776 | 8,532 |
pythondev | help | oh thank <@Jonas> | 2019-02-14T08:26:01.578500 | Elina | pythondev_help_Elina_2019-02-14T08:26:01.578500 | 1,550,132,761.5785 | 8,533 |
pythondev | help | How can we request data from an API from inside docker container | 2019-02-14T08:50:04.579700 | Greg | pythondev_help_Greg_2019-02-14T08:50:04.579700 | 1,550,134,204.5797 | 8,534 |
pythondev | help | ? | 2019-02-14T08:50:35.579800 | Greg | pythondev_help_Greg_2019-02-14T08:50:35.579800 | 1,550,134,235.5798 | 8,535 |
pythondev | help | to an external api? | 2019-02-14T08:54:12.580000 | Karoline | pythondev_help_Karoline_2019-02-14T08:54:12.580000 | 1,550,134,452.58 | 8,536 |
pythondev | help | or to another docker container? | 2019-02-14T08:54:22.580200 | Karoline | pythondev_help_Karoline_2019-02-14T08:54:22.580200 | 1,550,134,462.5802 | 8,537 |
pythondev | help | I'd assume to another container, right? | 2019-02-14T08:59:08.580500 | Mica | pythondev_help_Mica_2019-02-14T08:59:08.580500 | 1,550,134,748.5805 | 8,538 |
pythondev | help | an API call to an external call is just redirecting to that API's URL | 2019-02-14T08:59:21.580900 | Mica | pythondev_help_Mica_2019-02-14T08:59:21.580900 | 1,550,134,761.5809 | 8,539 |
pythondev | help | that's my assumption, but I feel like every time I don't clarify assumptions, it turns out I should have. :slightly_smiling_face: | 2019-02-14T09:00:35.581500 | Karoline | pythondev_help_Karoline_2019-02-14T09:00:35.581500 | 1,550,134,835.5815 | 8,540 |
pythondev | help | I think we should be a bit stricter about how we respond to people who ask really vague questions. Is there not a page we can link to about how to write a good question? | 2019-02-14T09:01:11.582700 | Jonas | pythondev_help_Jonas_2019-02-14T09:01:11.582700 | 1,550,134,871.5827 | 8,541 |
pythondev | help | Often having someone clarify the question upfront saves a lot of back and forth, and gets to the root of the issue faster. This user could be describing any number of issues | 2019-02-14T09:01:54.583900 | Jonas | pythondev_help_Jonas_2019-02-14T09:01:54.583900 | 1,550,134,914.5839 | 8,542 |
pythondev | help | Things like "python throws an exception, help" is really not conducive to anyone getting any help and pollutes the conversations here | 2019-02-14T09:02:29.585000 | Jonas | pythondev_help_Jonas_2019-02-14T09:02:29.585000 | 1,550,134,949.585 | 8,543 |
pythondev | help | `/howtoask` | 2019-02-14T09:02:35.585500 | Mica | pythondev_help_Mica_2019-02-14T09:02:35.585500 | 1,550,134,955.5855 | 8,544 |
pythondev | help | there's - yeah that | 2019-02-14T09:02:38.585700 | Karoline | pythondev_help_Karoline_2019-02-14T09:02:38.585700 | 1,550,134,958.5857 | 8,545 |
pythondev | help | Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. <https://stackoverflow.com/help/how-to-ask> is a good collection of suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help ... | 2019-02-14T09:02:52.586000 | Leana | pythondev_help_Leana_2019-02-14T09:02:52.586000 | 1,550,134,972.586 | 8,546 |
pythondev | help | I feel like that post is not suitable for here, and better for stack overflow | 2019-02-14T09:03:14.586400 | Jonas | pythondev_help_Jonas_2019-02-14T09:03:14.586400 | 1,550,134,994.5864 | 8,547 |
pythondev | help | It's also a bit too verbose and may be hard for non-native speakers to read | 2019-02-14T09:03:30.586700 | Jonas | pythondev_help_Jonas_2019-02-14T09:03:30.586700 | 1,550,135,010.5867 | 8,548 |
pythondev | help | ye, i see what you mean, it's a lot to take in when asking a question | 2019-02-14T09:03:56.587400 | Mica | pythondev_help_Mica_2019-02-14T09:03:56.587400 | 1,550,135,036.5874 | 8,549 |
pythondev | help | Something that breaks down about writing the most specific _general_ question you can | 2019-02-14T09:04:01.587500 | Jonas | pythondev_help_Jonas_2019-02-14T09:04:01.587500 | 1,550,135,041.5875 | 8,550 |
pythondev | help | I guess it's important to have done the following:
1) made an attempt
2) shown/sa y what you've tried
3) show the error/stacktrace | 2019-02-14T09:04:41.588900 | Mica | pythondev_help_Mica_2019-02-14T09:04:41.588900 | 1,550,135,081.5889 | 8,551 |
pythondev | help | Not: "my api returns a list and the extraction service needs to break this into tuples for our clients", but "how do i turn a list into a sequence of tuples" | 2019-02-14T09:04:43.589000 | Jonas | pythondev_help_Jonas_2019-02-14T09:04:43.589000 | 1,550,135,083.589 | 8,552 |
pythondev | help | nothing worse thn someone asking what the error is :stuck_out_tongue: | 2019-02-14T09:05:00.589400 | Mica | pythondev_help_Mica_2019-02-14T09:05:00.589400 | 1,550,135,100.5894 | 8,553 |
pythondev | help | yeah, something like that list would be much better IMO | 2019-02-14T09:05:14.589800 | Jonas | pythondev_help_Jonas_2019-02-14T09:05:14.589800 | 1,550,135,114.5898 | 8,554 |
pythondev | help | I guess the above question is much more googleable | 2019-02-14T09:05:35.590400 | Mica | pythondev_help_Mica_2019-02-14T09:05:35.590400 | 1,550,135,135.5904 | 8,555 |
pythondev | help | things in that SO post like relevant tags or even a reproducible code sample don't help | 2019-02-14T09:05:37.590600 | Jonas | pythondev_help_Jonas_2019-02-14T09:05:37.590600 | 1,550,135,137.5906 | 8,556 |
pythondev | help | I disagree - tags yes - but reproducible code samples are often helpful. If you'd like to create a TLDR; version that'd be a welcome submission though. Or even a PySlackers version of the SO with a TLDR at the top or something. | 2019-02-14T09:06:23.591500 | Karoline | pythondev_help_Karoline_2019-02-14T09:06:23.591500 | 1,550,135,183.5915 | 8,557 |
pythondev | help | If you'd like to offer up some ideas for an improved document, head over to <#CD60CDU7K|community> | 2019-02-14T09:07:13.592800 | Karoline | pythondev_help_Karoline_2019-02-14T09:07:13.592800 | 1,550,135,233.5928 | 8,558 |
pythondev | help | The problem is that the people who ask the bad questions often struggle to create a sample code. I'm just suggesting that we make a tl;dr on _how to ask a question *on slack*_, not how to create a reproducible code sample from your LOB app that has nested calls arms deep and you have no idea what the issue even is let ... | 2019-02-14T09:07:21.593000 | Jonas | pythondev_help_Jonas_2019-02-14T09:07:21.593000 | 1,550,135,241.593 | 8,559 |
pythondev | help | Once the question is phrased correctly it can often be answered without code. A specific type of problem needs a code sample | 2019-02-14T09:07:46.593400 | Jonas | pythondev_help_Jonas_2019-02-14T09:07:46.593400 | 1,550,135,266.5934 | 8,560 |
pythondev | help | Look at the general things that function does, understand which variables are what types of objects, determine what is or is not necessary for your new function, and duplicate what that function does but for a different command with different flags | 2019-02-14T09:23:23.593600 | Ashley | pythondev_help_Ashley_2019-02-14T09:23:23.593600 | 1,550,136,203.5936 | 8,561 |
pythondev | help | The task should actually be pretty easy and straightforward, so don't overthink it :wink: | 2019-02-14T09:24:28.593800 | Ashley | pythondev_help_Ashley_2019-02-14T09:24:28.593800 | 1,550,136,268.5938 | 8,562 |
pythondev | help | <@Jonas> you're probably right in a lot of cases, but phrasing can be pretty difficult especially when your new to programming and/or aren't fluent in English. A lot of times, people are so lost that they don't even know what to ask. In those cases, a code sample can help us to understand what they're trying to ask. I ... | 2019-02-14T10:01:07.599400 | Ashley | pythondev_help_Ashley_2019-02-14T10:01:07.599400 | 1,550,138,467.5994 | 8,563 |
pythondev | help | <@Chester> didn’t you have a link like this recently? | 2019-02-14T10:06:47.599800 | Hiroko | pythondev_help_Hiroko_2019-02-14T10:06:47.599800 | 1,550,138,807.5998 | 8,564 |
pythondev | help | IIRC you posted an alternative to SO’s how to ask question, but my google-fu is failing | 2019-02-14T10:07:09.600300 | Hiroko | pythondev_help_Hiroko_2019-02-14T10:07:09.600300 | 1,550,138,829.6003 | 8,565 |
pythondev | help | <https://www.mikeash.com/getting_answers.html> | 2019-02-14T10:07:52.600500 | Chester | pythondev_help_Chester_2019-02-14T10:07:52.600500 | 1,550,138,872.6005 | 8,566 |
pythondev | help | that’s it… I should probably re-do that slash command | 2019-02-14T10:10:11.600800 | Hiroko | pythondev_help_Hiroko_2019-02-14T10:10:11.600800 | 1,550,139,011.6008 | 8,567 |
pythondev | help | <@Jonas>, <@Mica> thoughts on the above? | 2019-02-14T10:10:35.601100 | Hiroko | pythondev_help_Hiroko_2019-02-14T10:10:35.601100 | 1,550,139,035.6011 | 8,568 |
pythondev | help | you're trying to execute a windows script on a linux machine. | 2019-02-14T10:13:06.601200 | Magaly | pythondev_help_Magaly_2019-02-14T10:13:06.601200 | 1,550,139,186.6012 | 8,569 |
pythondev | help | might be a good first contribution from <@Elaine>:wink: | 2019-02-14T10:13:30.601700 | Jimmy | pythondev_help_Jimmy_2019-02-14T10:13:30.601700 | 1,550,139,210.6017 | 8,570 |
pythondev | help | ye I'm pretty chill with either link, though the second is much nicer to read and has some examples which is cool | 2019-02-14T10:15:03.602400 | Mica | pythondev_help_Mica_2019-02-14T10:15:03.602400 | 1,550,139,303.6024 | 8,571 |
pythondev | help | Really sorry my internet was down...so wasnt able to reply | 2019-02-14T10:17:33.603100 | Greg | pythondev_help_Greg_2019-02-14T10:17:33.603100 | 1,550,139,453.6031 | 8,572 |
pythondev | help | I have a python script that fetches data from an API. And I want to run that script inside a docker container | 2019-02-14T10:18:57.604100 | Greg | pythondev_help_Greg_2019-02-14T10:18:57.604100 | 1,550,139,537.6041 | 8,573 |
pythondev | help | if the api is on the public internet then nothing changes | 2019-02-14T10:20:35.604700 | Karoline | pythondev_help_Karoline_2019-02-14T10:20:35.604700 | 1,550,139,635.6047 | 8,574 |
pythondev | help | Hello guys, i want to create CLI tool for my Linux. Something like IP-Manager. For example: ipy add 123.456.23.1 myVps. How to start? I know how to write program. But how to build it and install as linux package? | 2019-02-14T11:09:12.609700 | Juliane | pythondev_help_Juliane_2019-02-14T11:09:12.609700 | 1,550,142,552.6097 | 8,575 |
pythondev | help | <@Juliane> start by finding out if your VPS service has an API. from there read on how to make API calls from python and so on | 2019-02-14T11:24:00.611000 | Genaro | pythondev_help_Genaro_2019-02-14T11:24:00.611000 | 1,550,143,440.611 | 8,576 |
pythondev | help | <@Genaro> But this script is very simple. When i type ipy add (ip) (name) i just save this data to file.txt and later i can connect with server with name not ip. For example: | 2019-02-14T11:27:20.613100 | Juliane | pythondev_help_Juliane_2019-02-14T11:27:20.613100 | 1,550,143,640.6131 | 8,577 |
pythondev | help | ipy add 123.123.123 myprojectvps | 2019-02-14T11:27:44.613600 | Juliane | pythondev_help_Juliane_2019-02-14T11:27:44.613600 | 1,550,143,664.6136 | 8,578 |
pythondev | help | ssh root@myprojectvps | 2019-02-14T11:28:06.614000 | Juliane | pythondev_help_Juliane_2019-02-14T11:28:06.614000 | 1,550,143,686.614 | 8,579 |
pythondev | help | are you asking how to package up the application for distribution? | 2019-02-14T11:28:31.614300 | Mica | pythondev_help_Mica_2019-02-14T11:28:31.614300 | 1,550,143,711.6143 | 8,580 |
pythondev | help | Yup | 2019-02-14T11:28:35.614500 | Juliane | pythondev_help_Juliane_2019-02-14T11:28:35.614500 | 1,550,143,715.6145 | 8,581 |
pythondev | help | you could look into deploying on PyPI | 2019-02-14T11:28:46.614900 | Mica | pythondev_help_Mica_2019-02-14T11:28:46.614900 | 1,550,143,726.6149 | 8,582 |
pythondev | help | is it a private application or are you ok with it being public? | 2019-02-14T11:28:58.615300 | Mica | pythondev_help_Mica_2019-02-14T11:28:58.615300 | 1,550,143,738.6153 | 8,583 |
pythondev | help | <https://github.com/kennethreitz/setup.py> | 2019-02-14T11:29:55.616500 | Mica | pythondev_help_Mica_2019-02-14T11:29:55.616500 | 1,550,143,795.6165 | 8,584 |
pythondev | help | something like this for deployment ^ | 2019-02-14T11:30:03.617000 | Mica | pythondev_help_Mica_2019-02-14T11:30:03.617000 | 1,550,143,803.617 | 8,585 |
pythondev | help | I m ok. But i want to use it like this: ipy add (ip) (name) not like python3 myscript.py role=add ip=123.123.123 name=myname | 2019-02-14T11:30:44.617700 | Juliane | pythondev_help_Juliane_2019-02-14T11:30:44.617700 | 1,550,143,844.6177 | 8,586 |
pythondev | help | oh ok | 2019-02-14T11:31:00.618300 | Mica | pythondev_help_Mica_2019-02-14T11:31:00.618300 | 1,550,143,860.6183 | 8,587 |
pythondev | help | hmm | 2019-02-14T11:31:05.618600 | Mica | pythondev_help_Mica_2019-02-14T11:31:05.618600 | 1,550,143,865.6186 | 8,588 |
pythondev | help | ye, so you'd need to look at packaging the app up using setup.py | 2019-02-14T11:31:27.619500 | Mica | pythondev_help_Mica_2019-02-14T11:31:27.619500 | 1,550,143,887.6195 | 8,589 |
pythondev | help | assuming your script starts with `#/usr/bin/env python` you can do `chmod +x yourscript`. then you can start it with `./yourscript` | 2019-02-14T11:31:30.619700 | Genaro | pythondev_help_Genaro_2019-02-14T11:31:30.619700 | 1,550,143,890.6197 | 8,590 |
pythondev | help | the above link should show you how to create packages at least | 2019-02-14T11:31:45.620200 | Mica | pythondev_help_Mica_2019-02-14T11:31:45.620200 | 1,550,143,905.6202 | 8,591 |
pythondev | help | if you build and install you don't have to have the `./` | 2019-02-14T11:32:21.621300 | Mica | pythondev_help_Mica_2019-02-14T11:32:21.621300 | 1,550,143,941.6213 | 8,592 |
pythondev | help | Ok thanks guys <@Genaro>, <@Mica>. You helped me a lot :smile: | 2019-02-14T11:32:45.621500 | Juliane | pythondev_help_Juliane_2019-02-14T11:32:45.621500 | 1,550,143,965.6215 | 8,593 |
pythondev | help | if you cturn it into a package you can run it like any other CLI tool :parrot_fast: | 2019-02-14T11:33:43.622000 | Mica | pythondev_help_Mica_2019-02-14T11:33:43.622000 | 1,550,144,023.622 | 8,594 |
pythondev | help | no worries man | 2019-02-14T11:33:51.622200 | Mica | pythondev_help_Mica_2019-02-14T11:33:51.622200 | 1,550,144,031.6222 | 8,595 |
pythondev | help | Hi, does anyone know or have any pointers on having a *one_of* required parameters with Click ?
I mean, something like this:
```
$ python main.py -a
ok
$ python main.py -b
ok
$ python main.py -a -b
Error: a is mutually exclusive with b
```
which is possible with something like <https://stackoverflow.com/a/37491504/227... | 2019-02-14T12:03:49.626500 | Gregg | pythondev_help_Gregg_2019-02-14T12:03:49.626500 | 1,550,145,829.6265 | 8,596 |
pythondev | help | not sure it's possible to have two flags reliant on each other, one not just have a `is_flag` option instead? | 2019-02-14T12:06:06.627400 | Mica | pythondev_help_Mica_2019-02-14T12:06:06.627400 | 1,550,145,966.6274 | 8,597 |
pythondev | help | or this: <https://click.palletsprojects.com/en/7.x/options/#choice-opts> | 2019-02-14T12:06:56.627600 | Mica | pythondev_help_Mica_2019-02-14T12:06:56.627600 | 1,550,146,016.6276 | 8,598 |
pythondev | help | have one flag where you pass a choice | 2019-02-14T12:07:07.627900 | Mica | pythondev_help_Mica_2019-02-14T12:07:07.627900 | 1,550,146,027.6279 | 8,599 |
pythondev | help | No, it’s not a flag, unfortunately… it’s either `--name NAME` or `--id ID` | 2019-02-14T12:09:08.628500 | Gregg | pythondev_help_Gregg_2019-02-14T12:09:08.628500 | 1,550,146,148.6285 | 8,600 |
pythondev | help | ```
Feature Switches
In addition to boolean flags, there are also feature switches. These are implemented by setting multiple options to the same parameter name and defining a flag value. Note that by providing the flag_value parameter, Click will implicitly set is_flag=True.
To set a default flag, assign a value of... | 2019-02-14T12:10:55.628700 | Mica | pythondev_help_Mica_2019-02-14T12:10:55.628700 | 1,550,146,255.6287 | 8,601 |
pythondev | help | <https://click.palletsprojects.com/en/7.x/options/#feature-switches> | 2019-02-14T12:11:08.628900 | Mica | pythondev_help_Mica_2019-02-14T12:11:08.628900 | 1,550,146,268.6289 | 8,602 |
pythondev | help | Yeah, I read that, it’s not my use-case since it’s not a flag, I need to pass a name or an id | 2019-02-14T12:12:23.629300 | Gregg | pythondev_help_Gregg_2019-02-14T12:12:23.629300 | 1,550,146,343.6293 | 8,603 |
pythondev | help | I think I can adapt `MutexOption` for my case though | 2019-02-14T12:12:48.629900 | Gregg | pythondev_help_Gregg_2019-02-14T12:12:48.629900 | 1,550,146,368.6299 | 8,604 |
pythondev | help | yh i have no idea, sorry ¯\_(ツ)_/¯ | 2019-02-14T12:13:01.630100 | Mica | pythondev_help_Mica_2019-02-14T12:13:01.630100 | 1,550,146,381.6301 | 8,605 |
pythondev | help | Looks really good, I don't think it's perfect but it is better than the current one | 2019-02-14T12:23:57.630200 | Jonas | pythondev_help_Jonas_2019-02-14T12:23:57.630200 | 1,550,147,037.6302 | 8,606 |
pythondev | help | Honestly, just a response with something like:
1. Explain _what_ doesn't work
2. Provide as much detail as possible. Leave things that are not directly relevant to the problem you are facing.
3. Post a code sample if possible
4. Explain what you have done to debug this issue so far
and then a link to that page would b... | 2019-02-14T12:25:44.630400 | Jonas | pythondev_help_Jonas_2019-02-14T12:25:44.630400 | 1,550,147,144.6304 | 8,607 |
pythondev | help | I’ve got it… I created a modified version of the link I posted below
```
import click
class MutexOption(click.Option):
def __init__(self, *args, **kwargs):
self.not_required_if = kwargs.pop('not_required_if')
assert self.not_required_if, '"not_required_if" parameter required'
kwargs['hel... | 2019-02-14T12:33:13.633300 | Gregg | pythondev_help_Gregg_2019-02-14T12:33:13.633300 | 1,550,147,593.6333 | 8,608 |
pythondev | help | is anyone able to unwrap this list comprehension into longform python so I can understand it better?
`visited = [[False for j in range(self.COL)]for i in range(self.ROW)]` | 2019-02-14T14:19:32.635600 | Izola | pythondev_help_Izola_2019-02-14T14:19:32.635600 | 1,550,153,972.6356 | 8,609 |
pythondev | help | None | 2019-02-14T14:21:18.635900 | Mica | pythondev_help_Mica_2019-02-14T14:21:18.635900 | 1,550,154,078.6359 | 8,610 |
pythondev | help | pretty sure they're the same | 2019-02-14T14:21:27.636300 | Mica | pythondev_help_Mica_2019-02-14T14:21:27.636300 | 1,550,154,087.6363 | 8,611 |
pythondev | help | thanks for the quick response! I'll check 'er out | 2019-02-14T14:21:53.636700 | Izola | pythondev_help_Izola_2019-02-14T14:21:53.636700 | 1,550,154,113.6367 | 8,612 |
pythondev | help | no worries! | 2019-02-14T14:27:30.637000 | Mica | pythondev_help_Mica_2019-02-14T14:27:30.637000 | 1,550,154,450.637 | 8,613 |
pythondev | help | checked it should be right | 2019-02-14T14:27:34.637200 | Mica | pythondev_help_Mica_2019-02-14T14:27:34.637200 | 1,550,154,454.6372 | 8,614 |
pythondev | help | Hey folks.. can anyone point me in the right direction? I have a list of domains like [<http://alpha.com|alpha.com>, <http://gamma.com|gamma.com>] and I want to do some lookups on each domain and then store them back along with the domain. I think this is a dictionary.. so if I looked up the ip address for each then ho... | 2019-02-14T14:44:59.637400 | Chiquita | pythondev_help_Chiquita_2019-02-14T14:44:59.637400 | 1,550,155,499.6374 | 8,615 |
pythondev | help | well | 2019-02-14T14:45:59.637600 | Claudine | pythondev_help_Claudine_2019-02-14T14:45:59.637600 | 1,550,155,559.6376 | 8,616 |
pythondev | help | socket library would do it
```
import socket
domains = ['<http://alpha.com|alpha.com>', '<http://beta.com|beta.com>']
domain_ips = []
for domain in domains:
output = {}
output['domain'] = domain
output['ip'] = socket.gethostbyname(domain)
domain_ips.append(output)
``` | 2019-02-14T14:47:20.639600 | Claudine | pythondev_help_Claudine_2019-02-14T14:47:20.639600 | 1,550,155,640.6396 | 8,617 |
pythondev | help | i’m happy to throw it all out and use another method that starts from the list.. I just don’t know any yet! :wink: | 2019-02-14T14:47:20.639700 | Chiquita | pythondev_help_Chiquita_2019-02-14T14:47:20.639700 | 1,550,155,640.6397 | 8,618 |
pythondev | help | shit one sec | 2019-02-14T14:47:23.639900 | Claudine | pythondev_help_Claudine_2019-02-14T14:47:23.639900 | 1,550,155,643.6399 | 8,619 |
pythondev | help | there ya go | 2019-02-14T14:47:51.640200 | Claudine | pythondev_help_Claudine_2019-02-14T14:47:51.640200 | 1,550,155,671.6402 | 8,620 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.