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 | there doesnt seem to be anything analogous to PHP's json_encode | 2017-10-25T21:05:15.000028 | Rosita | pythondev_help_Rosita_2017-10-25T21:05:15.000028 | 1,508,965,515.000028 | 98,303 |
pythondev | help | Which will take a nested object and recursively convert it to JSON | 2017-10-25T21:05:47.000280 | Rosita | pythondev_help_Rosita_2017-10-25T21:05:47.000280 | 1,508,965,547.00028 | 98,304 |
pythondev | help | I typically add a to_dict method to my sqlalchemy models.. I'm on a phone rn | 2017-10-25T21:06:41.000150 | Johana | pythondev_help_Johana_2017-10-25T21:06:41.000150 | 1,508,965,601.00015 | 98,305 |
pythondev | help | yeah I saw that on some stuff I looked at - I guess id have to define one for each model | 2017-10-25T21:07:11.000214 | Rosita | pythondev_help_Rosita_2017-10-25T21:07:11.000214 | 1,508,965,631.000214 | 98,306 |
pythondev | help | painful | 2017-10-25T21:07:15.000270 | Rosita | pythondev_help_Rosita_2017-10-25T21:07:15.000270 | 1,508,965,635.00027 | 98,307 |
pythondev | help | the django rest framework supports nested serializers, might be handy to look at their implementation if you're not using their framework | 2017-10-25T21:14:18.000067 | Marcie | pythondev_help_Marcie_2017-10-25T21:14:18.000067 | 1,508,966,058.000067 | 98,308 |
pythondev | help | no you could simply create a mixin. | 2017-10-25T21:14:37.000224 | Johana | pythondev_help_Johana_2017-10-25T21:14:37.000224 | 1,508,966,077.000224 | 98,309 |
pythondev | help | yea drf has all sorts of options for depth. | 2017-10-25T21:15:11.000150 | Johana | pythondev_help_Johana_2017-10-25T21:15:11.000150 | 1,508,966,111.00015 | 98,310 |
pythondev | help | everything I have seen with DRF requires me to declare the structure of the object | 2017-10-25T21:21:08.000147 | Rosita | pythondev_help_Rosita_2017-10-25T21:21:08.000147 | 1,508,966,468.000147 | 98,311 |
pythondev | help | e.g. PersonObject -> HeadObject -> EyeObject etc | 2017-10-25T21:21:32.000180 | Rosita | pythondev_help_Rosita_2017-10-25T21:21:32.000180 | 1,508,966,492.00018 | 98,312 |
pythondev | help | This seems overly verbose | 2017-10-25T21:21:50.000025 | Rosita | pythondev_help_Rosita_2017-10-25T21:21:50.000025 | 1,508,966,510.000025 | 98,313 |
pythondev | help | I'm surprised there doesnt seem to be a one size fits all approach to this for a web framework like Django / DRF | 2017-10-25T21:22:58.000160 | Rosita | pythondev_help_Rosita_2017-10-25T21:22:58.000160 | 1,508,966,578.00016 | 98,314 |
pythondev | help | I think the __dict method seems the cleanest and most re-usable | 2017-10-25T21:23:12.000171 | Rosita | pythondev_help_Rosita_2017-10-25T21:23:12.000171 | 1,508,966,592.000171 | 98,315 |
pythondev | help | you could try flask. it’s pretty simple to get a web api going. | 2017-10-25T21:24:28.000185 | Johana | pythondev_help_Johana_2017-10-25T21:24:28.000185 | 1,508,966,668.000185 | 98,316 |
pythondev | help | Ive inherited a Django project unfortunately | 2017-10-25T21:26:02.000010 | Rosita | pythondev_help_Rosita_2017-10-25T21:26:02.000010 | 1,508,966,762.00001 | 98,317 |
pythondev | help | Just frustrating when you are used to doing things a different and faster way | 2017-10-25T21:26:57.000132 | Rosita | pythondev_help_Rosita_2017-10-25T21:26:57.000132 | 1,508,966,817.000132 | 98,318 |
pythondev | help | i had this frustration working with django originally but then i had a few more developers join me on a django rest framework and that verbosity made things a lot nicer to work with | 2017-10-25T21:27:39.000007 | Marcie | pythondev_help_Marcie_2017-10-25T21:27:39.000007 | 1,508,966,859.000007 | 98,319 |
pythondev | help | If it was a full on REST API it wouldnt be so bad but I literally just want to produce some JSON for some charts and i cant even do that | 2017-10-25T21:30:34.000113 | Rosita | pythondev_help_Rosita_2017-10-25T21:30:34.000113 | 1,508,967,034.000113 | 98,320 |
pythondev | help | its a 2 minute job in PHP :disappointed: | 2017-10-25T21:30:56.000069 | Rosita | pythondev_help_Rosita_2017-10-25T21:30:56.000069 | 1,508,967,056.000069 | 98,321 |
pythondev | help | If Django didnt produce such an easy admin id have considered rewriting it already | 2017-10-25T21:31:41.000089 | Rosita | pythondev_help_Rosita_2017-10-25T21:31:41.000089 | 1,508,967,101.000089 | 98,322 |
pythondev | help | _gasp_ @ "inherited a Django project unfortunately" | 2017-10-25T21:42:36.000007 | Winnifred | pythondev_help_Winnifred_2017-10-25T21:42:36.000007 | 1,508,967,756.000007 | 98,323 |
pythondev | help | yea it’s hard to compete with PHP. :troll: | 2017-10-25T21:47:42.000006 | Johana | pythondev_help_Johana_2017-10-25T21:47:42.000006 | 1,508,968,062.000006 | 98,324 |
pythondev | help | ahhh,lol | 2017-10-25T21:48:49.000140 | Rickey | pythondev_help_Rickey_2017-10-25T21:48:49.000140 | 1,508,968,129.00014 | 98,325 |
pythondev | help | I needed some advice on writing a program to check the full url of about 90k shortened urlsfrom twitter.
Either the runtime is ridiculously long, or I am not catching all errors correctly
Does anyone know of an easy way to do this efficiently?
I'm using urllib in python3 | 2017-10-26T01:36:39.000166 | Elvira | pythondev_help_Elvira_2017-10-26T01:36:39.000166 | 1,508,981,799.000166 | 98,326 |
pythondev | help | Hey everyone, i'm Alexander, i've worked very hard for the past two years to become, a rookie Fullstack python developer, and i fell that i'm there.
However i cant get accepted into Upwork.
Is there someone here who's on upwork that help me get in?
my Username is Alexander_ll
i've passed 4 tests: Python, unix, Networking concepts, and upwork rediness test.
I wrote a short overview.
i've added a few things to my port folio.
Added previous employments. | 2017-10-26T03:41:57.000266 | Suzy | pythondev_help_Suzy_2017-10-26T03:41:57.000266 | 1,508,989,317.000266 | 98,327 |
pythondev | help | <@Suzy> what do you mean can't get accepted? | 2017-10-26T04:41:48.000300 | Suellen | pythondev_help_Suellen_2017-10-26T04:41:48.000300 | 1,508,992,908.0003 | 98,328 |
pythondev | help | Upwork is free for all, isn't it? | 2017-10-26T04:42:00.000021 | Suellen | pythondev_help_Suellen_2017-10-26T04:42:00.000021 | 1,508,992,920.000021 | 98,329 |
pythondev | help | i mean they wont accept my profile, so i cant actually bid on work there. | 2017-10-26T04:42:55.000095 | Suzy | pythondev_help_Suzy_2017-10-26T04:42:55.000095 | 1,508,992,975.000095 | 98,330 |
pythondev | help | i've applied 10 - 15 times by now, trying something different every time to make my profile more intuitive, and every time i get the same non helpfull reply from them. | 2017-10-26T04:44:10.000090 | Suzy | pythondev_help_Suzy_2017-10-26T04:44:10.000090 | 1,508,993,050.00009 | 98,331 |
pythondev | help | what do they say is the issue with it? | 2017-10-26T04:47:10.000108 | Junita | pythondev_help_Junita_2017-10-26T04:47:10.000108 | 1,508,993,230.000108 | 98,332 |
pythondev | help | Yea it's really that hard, i've applied 10 - 15 times by now, trying something different every time to make my profile more appealing.
After the first 10 apply requests or so, i changed tactics to see if they actually read my profile and i don't think they do.
1 i've offered money for accepting my profile
2 i've used their quarterly in demand skills, and replaced all my own skills with their most in demand skills right now, and i get the same reply every time, its so frustrating | 2017-10-26T04:48:08.000100 | Suzy | pythondev_help_Suzy_2017-10-26T04:48:08.000100 | 1,508,993,288.0001 | 98,333 |
pythondev | help | this mail 15 times
Thank you for submitting your application to join Upwork.
As we do with everyone who wishes to join Upwork, we carefully reviewed your profile to determine whether there is sufficient need for your skills and experience in the marketplace. Unfortunately, at this time there are already many freelancers with a similar skillset to yours and we cannot accept your application.
I know this news is likely disappointing to you. However, we want to make sure the freelancers we accept have the best chance at success on our platform. This requires us to not only closely review a freelancer’s talents and experience, but also balance those with the availability of projects. For example, at times our marketplace may have too many freelancers with similar skills competing for the number of projects that are available. To avoid the frustration that goes along with that, we must limit the number of new freelancers that can join our website. While you cannot submit proposals for jobs right now, the number of available jobs and freelancers vary throughout the year. We can offer a few suggestions for going forward:
If you have more relevant skills or experience to add now or in the future as you develop them, you can update and re-submit your application and we’ll take another look to see if there is a demand for your new skills.
If you haven’t already, you can learn more about building a complete profile by checking out the following articles:
Enhance Your Upwork Freelancer Profile for Greater Success & Sample Profiles
For more details about applying to join Upwork, please click here. Thanks for your interest in Upwork!
Regards, | 2017-10-26T04:48:33.000476 | Suzy | pythondev_help_Suzy_2017-10-26T04:48:33.000476 | 1,508,993,313.000476 | 98,334 |
pythondev | help | I’m wondering if it has to do with your overall experience - this may not be what you want to hear, but I don’t think you are a ta place career-wise where you are ready to be an ideal freelancer | 2017-10-26T04:49:42.000232 | Junita | pythondev_help_Junita_2017-10-26T04:49:42.000232 | 1,508,993,382.000232 | 98,335 |
pythondev | help | Wowza | 2017-10-26T04:49:46.000437 | Collette | pythondev_help_Collette_2017-10-26T04:49:46.000437 | 1,508,993,386.000437 | 98,336 |
pythondev | help | i know my overall experince is not that appealing, but how else am i supposed to get some real on hands experince?
i've made 3 websites.
3 python programs: Netcat replica, Spirograph animator, snake game replica.
I get what you mean about me not being an ideal freelancer yet, and your absolutely right, my plan was to take small jobs and slowly build up a portfolio, and then when confident enough try bidding on making entire websites and such.
But in my profile i say i'm not an expert, i've my experince level to entry level, i can see they a lot of job where people ask for cheap rookie people who wants a challenge, so i don't understand why i can't get a shot :disappointed:
Try taking a look at it
<https://www.upwork.com/freelancers/~015cb9431703ef57f4?viewMode=1> | 2017-10-26T04:55:24.000175 | Suzy | pythondev_help_Suzy_2017-10-26T04:55:24.000175 | 1,508,993,724.000175 | 98,337 |
pythondev | help | From my perspective a freelance developer should generally be a senior level person - in a situation like this you are often expected to come in and take on a project with minimal supervision, and that sort of thing takes experience, honestly less on the technical end and more on everything else. That’s not a knock on you, just a guess at what their issue is. | 2017-10-26T04:58:14.000531 | Junita | pythondev_help_Junita_2017-10-26T04:58:14.000531 | 1,508,993,894.000531 | 98,338 |
pythondev | help | As far as gaining experience, I’d maybe recommend working with an agency if possible a junior or mid level. | 2017-10-26T04:58:40.000170 | Junita | pythondev_help_Junita_2017-10-26T04:58:40.000170 | 1,508,993,920.00017 | 98,339 |
pythondev | help | This might be a better conversation to have in <#C1DFN115F|freelance> though, it’s not general technical help | 2017-10-26T04:59:30.000038 | Junita | pythondev_help_Junita_2017-10-26T04:59:30.000038 | 1,508,993,970.000038 | 98,340 |
pythondev | help | Okay thanks Jkelly, i appreciate your input. | 2017-10-26T05:00:14.000009 | Suzy | pythondev_help_Suzy_2017-10-26T05:00:14.000009 | 1,508,994,014.000009 | 98,341 |
pythondev | help | no problem, and I’m in <#C1DFN115F|freelance> as well if you want to continue to chat about it. | 2017-10-26T05:02:26.000302 | Junita | pythondev_help_Junita_2017-10-26T05:02:26.000302 | 1,508,994,146.000302 | 98,342 |
pythondev | help | I actually tried joining earlier, but stopped because i had to pay for it, in your opinion is it worth the money? | 2017-10-26T05:03:43.000325 | Suzy | pythondev_help_Suzy_2017-10-26T05:03:43.000325 | 1,508,994,223.000325 | 98,343 |
pythondev | help | hmm, sorry no I meant our channel <#C1DFN115F|freelance>, if you click on it, it should take you there. it’s free. :slightly_smiling_face: | 2017-10-26T05:04:07.000164 | Junita | pythondev_help_Junita_2017-10-26T05:04:07.000164 | 1,508,994,247.000164 | 98,344 |
pythondev | help | Okay thanks, i'm in | 2017-10-26T05:05:22.000381 | Suzy | pythondev_help_Suzy_2017-10-26T05:05:22.000381 | 1,508,994,322.000381 | 98,345 |
pythondev | help | love it <@Frieda> thanks for pointing that out at least now I have direction! | 2017-10-26T07:28:39.000288 | Amee | pythondev_help_Amee_2017-10-26T07:28:39.000288 | 1,509,002,919.000288 | 98,346 |
pythondev | help | Hiii | 2017-10-26T08:36:34.000354 | Danyell | pythondev_help_Danyell_2017-10-26T08:36:34.000354 | 1,509,006,994.000354 | 98,347 |
pythondev | help | Hi mattes.
I need to change an ImmutableMultiDict to a simple dict.
Have this:
ImmutableMultiDict([('*conciliation_status*', 'NC'), ('*conciliation_status*', 'CA'), ('group_id', '1'), ('end_date', '2017-12-31'), ('start_date', '2017-01-01')])
and need this:
{'*conciliation_status*': ['NC', 'CA'], 'group_id': '1', 'end_date': '2017-12-31', 'start_date': '2017-01-01'}
I could resolve this case with something like this:
```
def normalize(data):
normalized_data = {}
for key, value in dict(data).items():
if len(value) > 1:
normalized_data[key] = value
else:
normalized_data[key] = value[0]
return normalized_data
```
But I wonder if there are others betters ways to do this.
Any idea? | 2017-10-26T09:55:09.000451 | Yan | pythondev_help_Yan_2017-10-26T09:55:09.000451 | 1,509,011,709.000451 | 98,348 |
pythondev | help | `dict(your_dict)` should work, no? | 2017-10-26T09:59:52.000121 | Winnifred | pythondev_help_Winnifred_2017-10-26T09:59:52.000121 | 1,509,011,992.000121 | 98,349 |
pythondev | help | oh no, it returns list types as values | 2017-10-26T10:01:06.000139 | Winnifred | pythondev_help_Winnifred_2017-10-26T10:01:06.000139 | 1,509,012,066.000139 | 98,350 |
pythondev | help | <@Yan> your result example is inconsistent. Why `'*conciliation_status*'` is gathered into a list, but `'group_id'` is not?
I would expect to see `'group_id': ['1']` instead | 2017-10-26T10:08:00.000342 | Collette | pythondev_help_Collette_2017-10-26T10:08:00.000342 | 1,509,012,480.000342 | 98,351 |
pythondev | help | If that's exactly what you want, then there's no sane generic solution. | 2017-10-26T10:08:55.000524 | Collette | pythondev_help_Collette_2017-10-26T10:08:55.000524 | 1,509,012,535.000524 | 98,352 |
pythondev | help | <@Winnifred> Don't work in this case. Thx | 2017-10-26T11:20:32.000611 | Yan | pythondev_help_Yan_2017-10-26T11:20:32.000611 | 1,509,016,832.000611 | 98,353 |
pythondev | help | yeah, i figured — you’ll need something more custom | 2017-10-26T11:20:51.000568 | Winnifred | pythondev_help_Winnifred_2017-10-26T11:20:51.000568 | 1,509,016,851.000568 | 98,354 |
pythondev | help | <@Collette> Yes, only conciliation_status should be a list. Thx. | 2017-10-26T11:21:16.000332 | Yan | pythondev_help_Yan_2017-10-26T11:21:16.000332 | 1,509,016,876.000332 | 98,355 |
pythondev | help | Hey all. I've just found three unclosed quotes in a row in some example in comment of the django source file. Should I report this and if yes, how? | 2017-10-26T14:10:52.000356 | Cleveland | pythondev_help_Cleveland_2017-10-26T14:10:52.000356 | 1,509,027,052.000356 | 98,356 |
pythondev | help | I am trying to connect to an Oracle DB (which I have successfully done) but I want to take advantage of LDAP for connection info. I have seen very little on the web for this. Anyone have an example of using ldap3 for connecting? | 2017-10-26T14:34:36.000684 | Marni | pythondev_help_Marni_2017-10-26T14:34:36.000684 | 1,509,028,476.000684 | 98,357 |
pythondev | help | Anyone tried using Twitter Account activity API for any app hosted on Google cloud. Currently facing a challenge in which the webhook works with ngrok but fails on Google cloud strangely. | 2017-10-26T16:55:13.000339 | Daniell | pythondev_help_Daniell_2017-10-26T16:55:13.000339 | 1,509,036,913.000339 | 98,358 |
pythondev | help | Haven't done anything of the sort but I once saw Python ldap library.. <https://www.python-ldap.org/docs.html> check the documentation | 2017-10-26T17:27:52.000035 | Cammy | pythondev_help_Cammy_2017-10-26T17:27:52.000035 | 1,509,038,872.000035 | 98,359 |
pythondev | help | Hello, i've a question, i need transcribe a barcode in image to a string, someone know how i can do it? | 2017-10-26T19:11:51.000059 | Annis | pythondev_help_Annis_2017-10-26T19:11:51.000059 | 1,509,045,111.000059 | 98,360 |
pythondev | help | <@Annis> theres things like <http://zbar.sourceforge.net/> that have python bindings like <https://pypi.python.org/pypi/pyzbar/> | 2017-10-26T19:15:42.000074 | Marcie | pythondev_help_Marcie_2017-10-26T19:15:42.000074 | 1,509,045,342.000074 | 98,361 |
pythondev | help | Is this on a GitHub project or such? If so, you can probably submit a PR? | 2017-10-27T05:15:41.000350 | Louis | pythondev_help_Louis_2017-10-27T05:15:41.000350 | 1,509,081,341.00035 | 98,362 |
pythondev | help | (GitHub's "Edit this file" functionality makes it really quick and easy to submit a PR for small fixes like this right from your browser.) | 2017-10-27T05:16:00.000238 | Louis | pythondev_help_Louis_2017-10-27T05:16:00.000238 | 1,509,081,360.000238 | 98,363 |
pythondev | help | Hello, how to parse an xml api response?? | 2017-10-27T07:06:42.000306 | Emily | pythondev_help_Emily_2017-10-27T07:06:42.000306 | 1,509,088,002.000306 | 98,364 |
pythondev | help | <https://stackoverflow.com/questions/46973407/xml-to-dictionary-in-using-xmldict> | 2017-10-27T07:07:48.000058 | Emily | pythondev_help_Emily_2017-10-27T07:07:48.000058 | 1,509,088,068.000058 | 98,365 |
pythondev | help | This is my question | 2017-10-27T07:08:02.000319 | Emily | pythondev_help_Emily_2017-10-27T07:08:02.000319 | 1,509,088,082.000319 | 98,366 |
pythondev | help | xmltodict doesn't work or...? | 2017-10-27T07:08:57.000185 | Suellen | pythondev_help_Suellen_2017-10-27T07:08:57.000185 | 1,509,088,137.000185 | 98,367 |
pythondev | help | Please do not pin question in this channel | 2017-10-27T07:12:55.000110 | Ciera | pythondev_help_Ciera_2017-10-27T07:12:55.000110 | 1,509,088,375.00011 | 98,368 |
pythondev | help | sorry | 2017-10-27T07:13:27.000378 | Emily | pythondev_help_Emily_2017-10-27T07:13:27.000378 | 1,509,088,407.000378 | 98,369 |
pythondev | help | have some problems | 2017-10-27T07:13:46.000125 | Emily | pythondev_help_Emily_2017-10-27T07:13:46.000125 | 1,509,088,426.000125 | 98,370 |
pythondev | help | well post what you have and how current behaviour is different from what you expect | 2017-10-27T07:17:31.000244 | Suellen | pythondev_help_Suellen_2017-10-27T07:17:31.000244 | 1,509,088,651.000244 | 98,371 |
pythondev | help | and we will try to help you | 2017-10-27T07:17:37.000134 | Suellen | pythondev_help_Suellen_2017-10-27T07:17:37.000134 | 1,509,088,657.000134 | 98,372 |
pythondev | help | Good morning everyone!!! (its morning here in EST) | 2017-10-27T08:40:19.000285 | Virgen | pythondev_help_Virgen_2017-10-27T08:40:19.000285 | 1,509,093,619.000285 | 98,373 |
pythondev | help | I am quite novice and need a little direction.
Just point me in the direction and I am happy to figure it out from there. I learn better that way.
I am trying to write a program to ping all hosts in a subnet and then display the results in a table.
What I have already. (both found somewhere on the internet and modified for my needs...)
1. A "ping sweep" that will output the IP and DNS name of any host that respondes.
2. A simple Plotly program that will read a CSV and output it in an HTML table. | 2017-10-27T08:40:27.000035 | Virgen | pythondev_help_Virgen_2017-10-27T08:40:27.000035 | 1,509,093,627.000035 | 98,374 |
pythondev | help | . | 2017-10-27T08:40:35.000163 | Virgen | pythondev_help_Virgen_2017-10-27T08:40:35.000163 | 1,509,093,635.000163 | 98,375 |
pythondev | help | I am struggling to figure out how best to get my data into the plotly table. I am trying to avoid writing to a csv and then reading it back into the plotly table. Unless that is the best way to achieve my goal, then I will happily do that.
Ideas?
I am currently reading up on dictionaries and seeing if that may serve my purpose...
Thank you for any help!!! | 2017-10-27T08:40:36.000511 | Virgen | pythondev_help_Virgen_2017-10-27T08:40:36.000511 | 1,509,093,636.000511 | 98,376 |
pythondev | help | <@Virgen> you already have your data being parsed from the csv? You can use jinja templates to dynamically build the results into the table | 2017-10-27T09:32:26.000553 | Lory | pythondev_help_Lory_2017-10-27T09:32:26.000553 | 1,509,096,746.000553 | 98,377 |
pythondev | help | negative. the plotly bit is just pulling data from a random test csv. | 2017-10-27T09:34:53.000317 | Virgen | pythondev_help_Virgen_2017-10-27T09:34:53.000317 | 1,509,096,893.000317 | 98,378 |
pythondev | help | the ping sweep bit runs an if/then loop which tests each IP and returns the IP and DNS name if anything responds. | 2017-10-27T09:35:36.000093 | Virgen | pythondev_help_Virgen_2017-10-27T09:35:36.000093 | 1,509,096,936.000093 | 98,379 |
pythondev | help | <@Lory> I'll check into jinja as well, thx! | 2017-10-27T09:38:49.000531 | Virgen | pythondev_help_Virgen_2017-10-27T09:38:49.000531 | 1,509,097,129.000531 | 98,380 |
pythondev | help | can you pop that into a code block, can't tell where the indentation is supposed to be | 2017-10-27T09:39:00.000186 | Lory | pythondev_help_Lory_2017-10-27T09:39:00.000186 | 1,509,097,140.000186 | 98,381 |
pythondev | help | little plus sign next to the text input | 2017-10-27T09:39:12.000604 | Lory | pythondev_help_Lory_2017-10-27T09:39:12.000604 | 1,509,097,152.000604 | 98,382 |
pythondev | help | <https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#code-blocks> | 2017-10-27T09:41:06.000711 | Meg | pythondev_help_Meg_2017-10-27T09:41:06.000711 | 1,509,097,266.000711 | 98,383 |
pythondev | help | <@Lory> I cannot, I get an upload error. I blame the webfilter and its admin... (i'm the webfilter admin...) | 2017-10-27T10:06:51.000069 | Virgen | pythondev_help_Virgen_2017-10-27T10:06:51.000069 | 1,509,098,811.000069 | 98,384 |
pythondev | help | <@Lory> I got the webfilter admin to fix his gear... | 2017-10-27T10:14:10.000368 | Virgen | pythondev_help_Virgen_2017-10-27T10:14:10.000368 | 1,509,099,250.000368 | 98,385 |
pythondev | help | that's the general loop that outputs the data. So, rather than just printing the output to console, I want to store it in a way that can be read into and displayed in a table. | 2017-10-27T10:15:27.000108 | Virgen | pythondev_help_Virgen_2017-10-27T10:15:27.000108 | 1,509,099,327.000108 | 98,386 |
pythondev | help | well for starters, that initial for loop where you're running `ping` on the servers, you're only ever capturing the output of the last one that runs in `output`, unless `stdout=...` is supposed to be within the for loop which it looks like it should be but is just an indentation error | 2017-10-27T10:17:23.000029 | Lory | pythondev_help_Lory_2017-10-27T10:17:23.000029 | 1,509,099,443.000029 | 98,387 |
pythondev | help | yea so I would build some kind of dictionary or nested list and then use a jinja template to iterate over that data structure and create a table entry for each. That would definitely be a fairly easy approach | 2017-10-27T10:19:10.000295 | Lory | pythondev_help_Lory_2017-10-27T10:19:10.000295 | 1,509,099,550.000295 | 98,388 |
pythondev | help | I am generating a random int between 1 to 4 using `randint(0, 4)`, Is there a way to generate more 0's than the rest of numbers ? | 2017-10-27T10:20:50.000520 | Desire | pythondev_help_Desire_2017-10-27T10:20:50.000520 | 1,509,099,650.00052 | 98,389 |
pythondev | help | <@Desire> You mean give 0 a higher probability? | 2017-10-27T10:22:21.000348 | Lory | pythondev_help_Lory_2017-10-27T10:22:21.000348 | 1,509,099,741.000348 | 98,390 |
pythondev | help | `random.choices()` has an ability to assign weights to choices | 2017-10-27T10:23:12.000617 | Suellen | pythondev_help_Suellen_2017-10-27T10:23:12.000617 | 1,509,099,792.000617 | 98,391 |
pythondev | help | <@Lory> Interesting. I will check out jinja. thank you! | 2017-10-27T10:25:12.000485 | Virgen | pythondev_help_Virgen_2017-10-27T10:25:12.000485 | 1,509,099,912.000485 | 98,392 |
pythondev | help | <@Desire> This might help: <https://stackoverflow.com/questions/26282222/generating-random-numbers-in-python-with-percentage-function-on-what-selected-va> | 2017-10-27T10:25:14.000084 | Robbin | pythondev_help_Robbin_2017-10-27T10:25:14.000084 | 1,509,099,914.000084 | 98,393 |
pythondev | help | There are other approaches than jinja, but basically you want some way to template in data into table rows and then send that to the web page. There are other options out there, jinja is just what I'm used to personally | 2017-10-27T10:26:16.000587 | Lory | pythondev_help_Lory_2017-10-27T10:26:16.000587 | 1,509,099,976.000587 | 98,394 |
pythondev | help | Yes, you are right. | 2017-10-27T10:27:47.000363 | Desire | pythondev_help_Desire_2017-10-27T10:27:47.000363 | 1,509,100,067.000363 | 98,395 |
pythondev | help | Morning, I was wondering if anyone had tips or a blog post about debugging multiple inheritance. I'm using PyCharm and it's certainly helping but I feel like I'm missing something. | 2017-10-27T12:00:29.000772 | Seema | pythondev_help_Seema_2017-10-27T12:00:29.000772 | 1,509,105,629.000772 | 98,396 |
pythondev | help | Of course googling "debugging multiple inheritance python" returns inheritance tutorials :confused: | 2017-10-27T12:02:30.000679 | Seema | pythondev_help_Seema_2017-10-27T12:02:30.000679 | 1,509,105,750.000679 | 98,397 |
pythondev | help | have you checked the `.__mro__` attr on your class? | 2017-10-27T12:02:56.000778 | Winnifred | pythondev_help_Winnifred_2017-10-27T12:02:56.000778 | 1,509,105,776.000778 | 98,398 |
pythondev | help | mro = method resolution order and shows how your classes attrs are being built | 2017-10-27T12:04:33.000467 | Winnifred | pythondev_help_Winnifred_2017-10-27T12:04:33.000467 | 1,509,105,873.000467 | 98,399 |
pythondev | help | I have not. I was about to get into the class tree PyCharm debugging but went on a walk (now) | 2017-10-27T12:04:45.000468 | Seema | pythondev_help_Seema_2017-10-27T12:04:45.000468 | 1,509,105,885.000468 | 98,400 |
pythondev | help | and Python MRO is right to left, IIRC | 2017-10-27T12:05:27.000329 | Meg | pythondev_help_Meg_2017-10-27T12:05:27.000329 | 1,509,105,927.000329 | 98,401 |
pythondev | help | I'm using Dask and it's got all this lazy executes on top of pandas and I think I'm getting lost in the weeds instead of high level | 2017-10-27T12:05:58.000328 | Seema | pythondev_help_Seema_2017-10-27T12:05:58.000328 | 1,509,105,958.000328 | 98,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.