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 | I'v had that error before, brb | 2017-11-29T07:11:35.000134 | Robbin | pythondev_help_Robbin_2017-11-29T07:11:35.000134 | 1,511,939,495.000134 | 101,503 |
pythondev | help | just do a diff of datetimes, not times and days separately | 2017-11-29T07:12:24.000091 | Suellen | pythondev_help_Suellen_2017-11-29T07:12:24.000091 | 1,511,939,544.000091 | 101,504 |
pythondev | help | How can i take the mili seconds off? | 2017-11-29T07:21:08.000173 | Robbin | pythondev_help_Robbin_2017-11-29T07:21:08.000173 | 1,511,940,068.000173 | 101,505 |
pythondev | help | it's a string, you can do whatever with it | 2017-11-29T07:23:37.000120 | Suellen | pythondev_help_Suellen_2017-11-29T07:23:37.000120 | 1,511,940,217.00012 | 101,506 |
pythondev | help | ```
>>> str(diff)
'1 day, 3:30:45.160172'
>>> str(diff).split('.', 1)[0]
'1 day, 3:30:45'
``` | 2017-11-29T07:23:59.000136 | Suellen | pythondev_help_Suellen_2017-11-29T07:23:59.000136 | 1,511,940,239.000136 | 101,507 |
pythondev | help | it doesn't want to work, it doesn't matter anyway. cba want food haha thanks though
```
def get_accepted_date(self):
if self.accepted_date:
today = datetime.datetime.now()
accepted = self.accepted_date
diff_date = today - accepted
if diff_date.days >= 1:
... | 2017-11-29T07:26:33.000324 | Robbin | pythondev_help_Robbin_2017-11-29T07:26:33.000324 | 1,511,940,393.000324 | 101,508 |
pythondev | help | ```
data = []
data.append(['a', 'b', *['']*3])
[['a', 'b', '', '', '']]
```
Any better way of adding the 3 empty strings? | 2017-11-29T07:49:54.000498 | Scot | pythondev_help_Scot_2017-11-29T07:49:54.000498 | 1,511,941,794.000498 | 101,509 |
pythondev | help | you can use range | 2017-11-29T07:58:35.000457 | Meg | pythondev_help_Meg_2017-11-29T07:58:35.000457 | 1,511,942,315.000457 | 101,510 |
pythondev | help | eg, `['a', 'b', 'c', *['' for i in range(n)]]`, where `n` is the number of empty strings required | 2017-11-29T07:59:08.000227 | Meg | pythondev_help_Meg_2017-11-29T07:59:08.000227 | 1,511,942,348.000227 | 101,511 |
pythondev | help | Mye, more readable. I'l use it, thanks | 2017-11-29T08:02:35.000141 | Scot | pythondev_help_Scot_2017-11-29T08:02:35.000141 | 1,511,942,555.000141 | 101,512 |
pythondev | help | Thanks man! Its exactly what I want. Are you using with Selenium, right? The only down side is have to render the page though browser, I would to do in a headless mode, but I don't know with scrapy is possible accomplish this. | 2017-11-29T09:00:30.000568 | Tangela | pythondev_help_Tangela_2017-11-29T09:00:30.000568 | 1,511,946,030.000568 | 101,513 |
pythondev | help | <#C0LMFRMB5|django> How to order by a foreign key in the template
template
```<h1>{{ question.question_text }}</h1>
<ul>
{% for choice in question.choice_set.all %}
<li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li>
{% endfor %}
</ul>
<a... | 2017-11-29T10:13:38.000547 | Arianne | pythondev_help_Arianne_2017-11-29T10:13:38.000547 | 1,511,950,418.000547 | 101,514 |
pythondev | help | I want to order that template by choice.votes | 2017-11-29T10:18:03.000699 | Arianne | pythondev_help_Arianne_2017-11-29T10:18:03.000699 | 1,511,950,683.000699 | 101,515 |
pythondev | help | Currently working on the extended version of the polls app from the doc mentioned here, <https://gist.github.com/inglesp/8866459>, noob! | 2017-11-29T10:19:26.000544 | Arianne | pythondev_help_Arianne_2017-11-29T10:19:26.000544 | 1,511,950,766.000544 | 101,516 |
pythondev | help | <https://docs.djangoproject.com/en/1.11/ref/models/querysets/#order-by> | 2017-11-29T10:23:14.000309 | Meg | pythondev_help_Meg_2017-11-29T10:23:14.000309 | 1,511,950,994.000309 | 101,517 |
pythondev | help | specifically
>>To order by a field in a different model, use the same syntax as when you are querying across model relations. That is, the name of the field, followed by a double underscore (__), followed by the name of the field in the new model, and so on for as many models as you want to join. For example: | 2017-11-29T10:23:27.000430 | Meg | pythondev_help_Meg_2017-11-29T10:23:27.000430 | 1,511,951,007.00043 | 101,518 |
pythondev | help | you could also set default ordering on `Choice` model <https://docs.djangoproject.com/en/dev/ref/models/options/#ordering> | 2017-11-29T10:24:10.000636 | Mirian | pythondev_help_Mirian_2017-11-29T10:24:10.000636 | 1,511,951,050.000636 | 101,519 |
pythondev | help | Yes man go on | 2017-11-29T10:40:54.000305 | Arianne | pythondev_help_Arianne_2017-11-29T10:40:54.000305 | 1,511,952,054.000305 | 101,520 |
pythondev | help | ???? | 2017-11-29T10:41:21.000596 | Meg | pythondev_help_Meg_2017-11-29T10:41:21.000596 | 1,511,952,081.000596 | 101,521 |
pythondev | help | <https://www.udemy.com/automate/?couponCode=PY_ALL_THE_THINGS> was free yesterday but now $50. | 2017-11-29T11:37:55.000788 | Genesis | pythondev_help_Genesis_2017-11-29T11:37:55.000788 | 1,511,955,475.000788 | 101,522 |
pythondev | help | Thank you ppl I read and applied both for some reason the double underscore technique is not working may I know why,
**View**
```class ResultsView(generic.DetailView):
model = Question
template_name = 'polls/results.html'
def get_queryset(self):
"""Return the choices in the order of votes"""
... | 2017-11-29T12:17:06.000715 | Arianne | pythondev_help_Arianne_2017-11-29T12:17:06.000715 | 1,511,957,826.000715 | 101,523 |
pythondev | help | you need to say something to `Question.objects` on what it needs to get for you to order by | 2017-11-29T12:22:11.000704 | Meg | pythondev_help_Meg_2017-11-29T12:22:11.000704 | 1,511,958,131.000704 | 101,524 |
pythondev | help | in this case, it would be `all` | 2017-11-29T12:22:19.000623 | Meg | pythondev_help_Meg_2017-11-29T12:22:19.000623 | 1,511,958,139.000623 | 101,525 |
pythondev | help | change it to `Question.objects.all().order_by('-choice__votes')` | 2017-11-29T12:22:39.000832 | Meg | pythondev_help_Meg_2017-11-29T12:22:39.000832 | 1,511,958,159.000832 | 101,526 |
pythondev | help | Ohh I did that, even tried to put that in the ordering tag itself like `ordering = ['-choice__votes']` didn't work as in the second method, not working! | 2017-11-29T12:26:40.000440 | Arianne | pythondev_help_Arianne_2017-11-29T12:26:40.000440 | 1,511,958,400.00044 | 101,527 |
pythondev | help | <https://stackoverflow.blog/2017/09/06/incredible-growth-python/> I would say so :wink: | 2017-11-29T14:16:59.000061 | Rosamond | pythondev_help_Rosamond_2017-11-29T14:16:59.000061 | 1,511,965,019.000061 | 101,528 |
pythondev | help | Having trouble with ssh, windows and github | 2017-11-29T15:10:56.000347 | Glinda | pythondev_help_Glinda_2017-11-29T15:10:56.000347 | 1,511,968,256.000347 | 101,529 |
pythondev | help | `ssh -vT <mailto:git@github.com|git@github.com>` works for me but `ssh -vT <username>@github.com` gives me this error: | 2017-11-29T15:11:28.000241 | Glinda | pythondev_help_Glinda_2017-11-29T15:11:28.000241 | 1,511,968,288.000241 | 101,530 |
pythondev | help | `ssh-add -l`
`4096 SHA256:+V1wakh8ZfD5UGYTOIMqq3SgxO5t2n+EYvp/MkM+CKs /c/Users/<username>/.ssh/rsa/col_rsa (RSA)` | 2017-11-29T15:14:24.000391 | Glinda | pythondev_help_Glinda_2017-11-29T15:14:24.000391 | 1,511,968,464.000391 | 101,531 |
pythondev | help | Is it because somehow my value after SHA256:+ is different in the ssh-add -l than in the ssh request? | 2017-11-29T15:15:07.000707 | Glinda | pythondev_help_Glinda_2017-11-29T15:15:07.000707 | 1,511,968,507.000707 | 101,532 |
pythondev | help | so just to be certain, you didn't actually use `<username>` as your username, right? you used your actual username? | 2017-11-29T15:18:26.000350 | Sirena | pythondev_help_Sirena_2017-11-29T15:18:26.000350 | 1,511,968,706.00035 | 101,533 |
pythondev | help | yes | 2017-11-29T15:19:09.000090 | Glinda | pythondev_help_Glinda_2017-11-29T15:19:09.000090 | 1,511,968,749.00009 | 101,534 |
pythondev | help | when you use `ssh -T <mailto:git@github.com|git@github.com>` what reply do you get? | 2017-11-29T15:20:59.000020 | Sirena | pythondev_help_Sirena_2017-11-29T15:20:59.000020 | 1,511,968,859.00002 | 101,535 |
pythondev | help | skip the -v for now | 2017-11-29T15:21:12.000495 | Sirena | pythondev_help_Sirena_2017-11-29T15:21:12.000495 | 1,511,968,872.000495 | 101,536 |
pythondev | help | `Hi <username>! You've successfully authenticated, but GitHub does not provide shell access.` | 2017-11-29T15:21:36.000370 | Glinda | pythondev_help_Glinda_2017-11-29T15:21:36.000370 | 1,511,968,896.00037 | 101,537 |
pythondev | help | then I think it's all working properly. as far as I understand it, github doesn't authenticate you the usual way with individual usernames per account | 2017-11-29T15:22:39.000622 | Sirena | pythondev_help_Sirena_2017-11-29T15:22:39.000622 | 1,511,968,959.000622 | 101,538 |
pythondev | help | <https://help.github.com/articles/error-permission-denied-publickey/> | 2017-11-29T15:23:22.000259 | Glinda | pythondev_help_Glinda_2017-11-29T15:23:22.000259 | 1,511,969,002.000259 | 101,539 |
pythondev | help | ` If you try to connect with your GitHub username, it will fail:` | 2017-11-29T15:23:31.000710 | Glinda | pythondev_help_Glinda_2017-11-29T15:23:31.000710 | 1,511,969,011.00071 | 101,540 |
pythondev | help | I read that section maybe 6 times | 2017-11-29T15:23:36.000391 | Glinda | pythondev_help_Glinda_2017-11-29T15:23:36.000391 | 1,511,969,016.000391 | 101,541 |
pythondev | help | yah, any ssh-ing is done as the 'git' user, regardless of your username | 2017-11-29T15:24:42.000047 | Sirena | pythondev_help_Sirena_2017-11-29T15:24:42.000047 | 1,511,969,082.000047 | 101,542 |
pythondev | help | i think i asked in the wrong channel (random). I'm wondering if anyone has a helpful editor or plugins for Word or Libreoffice to assist with Jinja2 or python-docx-template templates built in docx format. something that can help you match open/close tags and brackets, code folding | 2017-11-29T15:27:39.000423 | Gerri | pythondev_help_Gerri_2017-11-29T15:27:39.000423 | 1,511,969,259.000423 | 101,543 |
pythondev | help | Hey there, are you suggesting that these templates are using word.doxc? | 2017-11-29T15:28:30.000105 | Glinda | pythondev_help_Glinda_2017-11-29T15:28:30.000105 | 1,511,969,310.000105 | 101,544 |
pythondev | help | Is there any reason you can't convert them to `.txt` | 2017-11-29T15:28:42.000307 | Glinda | pythondev_help_Glinda_2017-11-29T15:28:42.000307 | 1,511,969,322.000307 | 101,545 |
pythondev | help | correct, the templates are in word format. they are heavily formatted | 2017-11-29T15:28:51.000758 | Gerri | pythondev_help_Gerri_2017-11-29T15:28:51.000758 | 1,511,969,331.000758 | 101,546 |
pythondev | help | no big deal for a small template, but the one i'm working on now already has 198 open tags and i guess 199 close tags. that's what i'm trying to track down now :slightly_smiling_face: find the erroneous close tag | 2017-11-29T15:30:05.000394 | Gerri | pythondev_help_Gerri_2017-11-29T15:30:05.000394 | 1,511,969,405.000394 | 101,547 |
pythondev | help | I'd recommend you convert them to a text file, and use pycharm to do your action. | 2017-11-29T15:31:19.000436 | Glinda | pythondev_help_Glinda_2017-11-29T15:31:19.000436 | 1,511,969,479.000436 | 101,548 |
pythondev | help | If there's not a specific reason for storing them in docx, I'd definitely get out of that. | 2017-11-29T15:31:39.000103 | Glinda | pythondev_help_Glinda_2017-11-29T15:31:39.000103 | 1,511,969,499.000103 | 101,549 |
pythondev | help | there is a specific reason--it's because the formatting is in the docx file and i need to match it as closely as possible for my application. | 2017-11-29T15:32:55.000463 | Gerri | pythondev_help_Gerri_2017-11-29T15:32:55.000463 | 1,511,969,575.000463 | 101,550 |
pythondev | help | Could you give an example? | 2017-11-29T15:33:05.000050 | Glinda | pythondev_help_Glinda_2017-11-29T15:33:05.000050 | 1,511,969,585.00005 | 101,551 |
pythondev | help | they are legal pleadings | 2017-11-29T15:33:12.000351 | Gerri | pythondev_help_Gerri_2017-11-29T15:33:12.000351 | 1,511,969,592.000351 | 101,552 |
pythondev | help | it's possible that there's nothing for editing docx (even RTF would be fine), just wanted to see if anyone had suggestions. tricky to Google for | 2017-11-29T15:35:43.000262 | Gerri | pythondev_help_Gerri_2017-11-29T15:35:43.000262 | 1,511,969,743.000262 | 101,553 |
pythondev | help | <https://unix.stackexchange.com/questions/10267/how-to-find-unmatched-brackets-in-a-text-file> | 2017-11-29T15:39:18.000132 | Glinda | pythondev_help_Glinda_2017-11-29T15:39:18.000132 | 1,511,969,958.000132 | 101,554 |
pythondev | help | I like the `vim` method | 2017-11-29T15:40:45.000216 | Glinda | pythondev_help_Glinda_2017-11-29T15:40:45.000216 | 1,511,970,045.000216 | 101,555 |
pythondev | help | But not sure of a way to automatically fix your brackets. | 2017-11-29T15:40:55.000255 | Glinda | pythondev_help_Glinda_2017-11-29T15:40:55.000255 | 1,511,970,055.000255 | 101,556 |
pythondev | help | <@Gerri> docx AFAIK is just an XML. I would try open the file in PyCharm telling PyCharm that docs is XML | 2017-11-29T15:40:59.000551 | Ethyl | pythondev_help_Ethyl_2017-11-29T15:40:59.000551 | 1,511,970,059.000551 | 101,557 |
pythondev | help | <https://stackoverflow.com/questions/40188140/trying-to-use-python-to-parse-a-docx-document-in-xml-format-to-print-words-that> | 2017-11-29T15:41:25.000426 | Glinda | pythondev_help_Glinda_2017-11-29T15:41:25.000426 | 1,511,970,085.000426 | 101,558 |
pythondev | help | that's an interesting idea. it would take another step though, because the text with an error would be valid XML just like it's valid DocX code. just an error in the jinja2 syntax | 2017-11-29T15:50:23.000217 | Gerri | pythondev_help_Gerri_2017-11-29T15:50:23.000217 | 1,511,970,623.000217 | 101,559 |
pythondev | help | Copy the text from the template into a text file, open it in vim, and then press `{` and it'll find the first unmatched bracket. | 2017-11-29T15:51:23.000173 | Glinda | pythondev_help_Glinda_2017-11-29T15:51:23.000173 | 1,511,970,683.000173 | 101,560 |
pythondev | help | or run an xml validator on it and it'll tell you where in the file the parser barfs, something like `xmllint --debug` | 2017-11-29T15:57:34.000151 | Sirena | pythondev_help_Sirena_2017-11-29T15:57:34.000151 | 1,511,971,054.000151 | 101,561 |
pythondev | help | you'll still have to copy it to txt though | 2017-11-29T15:57:45.000359 | Sirena | pythondev_help_Sirena_2017-11-29T15:57:45.000359 | 1,511,971,065.000359 | 101,562 |
pythondev | help | copying to different editor seems like the best way to handle it. then i can search around the text near the error. i'm still looking for the editor that lets me match the tags like this: {% if ... %} with closing tag {% endif %} | 2017-11-29T16:44:41.000436 | Gerri | pythondev_help_Gerri_2017-11-29T16:44:41.000436 | 1,511,973,881.000436 | 101,563 |
pythondev | help | hey guys, im getting a utc timestamp | 2017-11-29T17:02:50.000700 | Jesusa | pythondev_help_Jesusa_2017-11-29T17:02:50.000700 | 1,511,974,970.0007 | 101,564 |
pythondev | help | `datetime.datetime.utcfromtimestamp(post.created_utc).astimezone(tz=None)` | 2017-11-29T17:03:00.000454 | Jesusa | pythondev_help_Jesusa_2017-11-29T17:03:00.000454 | 1,511,974,980.000454 | 101,565 |
pythondev | help | it shows a tzinfo like this: `tzinfo=datetime.timezone(datetime.timedelta(0, 3600), 'CET')` | 2017-11-29T17:03:19.000578 | Jesusa | pythondev_help_Jesusa_2017-11-29T17:03:19.000578 | 1,511,974,999.000578 | 101,566 |
pythondev | help | I'm worried that when the clock changes an hour... is this going to be the same? | 2017-11-29T17:03:36.000722 | Jesusa | pythondev_help_Jesusa_2017-11-29T17:03:36.000722 | 1,511,975,016.000722 | 101,567 |
pythondev | help | <@Gerri> I'd find the first unmatched bracket using vim, and use that as a reference point for the other unmatched ones. | 2017-11-29T18:39:06.000280 | Glinda | pythondev_help_Glinda_2017-11-29T18:39:06.000280 | 1,511,980,746.00028 | 101,568 |
pythondev | help | the other thing I'd recommend is that if you are having trouble keeping track of your segments within a template it's a good idea to break up the template into multiple parts. You can trick jinja2 into multiple inheritance through `extends`, `include` and `import` which allows you to do things like template segments fo... | 2017-11-29T19:01:58.000528 | Glinda | pythondev_help_Glinda_2017-11-29T19:01:58.000528 | 1,511,982,118.000528 | 101,569 |
pythondev | help | Someone could help me, I trying to get a HAR file from a website, but I need authetication, how could I do? I'm using Broswermob | 2017-11-29T22:25:51.000236 | Tangela | pythondev_help_Tangela_2017-11-29T22:25:51.000236 | 1,511,994,351.000236 | 101,570 |
pythondev | help | Depends on the authentication but the general idea is to use browsermob to do header or cookie injection | 2017-11-29T22:57:46.000347 | Marcie | pythondev_help_Marcie_2017-11-29T22:57:46.000347 | 1,511,996,266.000347 | 101,571 |
pythondev | help | Should work if use authenticate with selenium then after successful login use Browsermob to fetch the har file? | 2017-11-29T23:20:49.000512 | Tangela | pythondev_help_Tangela_2017-11-29T23:20:49.000512 | 1,511,997,649.000512 | 101,572 |
pythondev | help | Good evening everyone, I'm going to start a 6-month project to get my degree in Web-Dev.
I'm looking for an idea to my project.
I Know Python, Javascript ( Back & Front), i want the project to be Full Javascript ( maybe a little bit of Python if possible) with Database ? ( Mongo Db ? or if you have any other sugge... | 2017-11-30T04:05:02.000034 | Shelia | pythondev_help_Shelia_2017-11-30T04:05:02.000034 | 1,512,014,702.000034 | 101,573 |
pythondev | help | Why do you want to use Mongodb? <@Shelia> | 2017-11-30T04:15:31.000152 | Zelma | pythondev_help_Zelma_2017-11-30T04:15:31.000152 | 1,512,015,331.000152 | 101,574 |
pythondev | help | You can suggest me something else <@Zelma>, it's a project that will allow me to achieve my studies and get my engineering diploma. | 2017-11-30T04:16:36.000263 | Shelia | pythondev_help_Shelia_2017-11-30T04:16:36.000263 | 1,512,015,396.000263 | 101,575 |
pythondev | help | it will last between 4-6 months | 2017-11-30T04:16:44.000368 | Shelia | pythondev_help_Shelia_2017-11-30T04:16:44.000368 | 1,512,015,404.000368 | 101,576 |
pythondev | help | You should pick the database that fits your project.. and not make the database try and fit your project | 2017-11-30T04:17:24.000280 | Zelma | pythondev_help_Zelma_2017-11-30T04:17:24.000280 | 1,512,015,444.00028 | 101,577 |
pythondev | help | <@Zelma> Of course but first i need some ideas to begin | 2017-11-30T04:18:53.000049 | Shelia | pythondev_help_Shelia_2017-11-30T04:18:53.000049 | 1,512,015,533.000049 | 101,578 |
pythondev | help | What kind of project are you working on? | 2017-11-30T04:23:44.000165 | Zelma | pythondev_help_Zelma_2017-11-30T04:23:44.000165 | 1,512,015,824.000165 | 101,579 |
pythondev | help | if you don't know just pick postgres :slightly_smiling_face: | 2017-11-30T04:30:16.000646 | Ciera | pythondev_help_Ciera_2017-11-30T04:30:16.000646 | 1,512,016,216.000646 | 101,580 |
pythondev | help | For the moment i'm working on a Mern Project ( React/Redux Mongo Db Express NodeJs) | 2017-11-30T04:32:39.000864 | Shelia | pythondev_help_Shelia_2017-11-30T04:32:39.000864 | 1,512,016,359.000864 | 101,581 |
pythondev | help | For my Final project i want something with Python maybe machine learning, with React / Redux and maybe Postgres ( will do my best to learn it and level up my python skills ) | 2017-11-30T04:33:31.000836 | Shelia | pythondev_help_Shelia_2017-11-30T04:33:31.000836 | 1,512,016,411.000836 | 101,582 |
pythondev | help | is there any way to handle local printer using python modules? | 2017-11-30T09:13:03.000502 | Shamika | pythondev_help_Shamika_2017-11-30T09:13:03.000502 | 1,512,033,183.000502 | 101,583 |
pythondev | help | pycups probably? | 2017-11-30T09:17:37.001146 | Suellen | pythondev_help_Suellen_2017-11-30T09:17:37.001146 | 1,512,033,457.001146 | 101,584 |
pythondev | help | <@Jesusa> in my experience, when the time changes an hour, the time zone switches from 'standard' to 'daylight' or vice versa. So 'CDT' <-> 'CST' in my case. The time zones typically reference an offset from GMT, so in order to account for the shift they enumerated separate time zones and time zone codes. It's st... | 2017-11-30T09:23:20.001193 | Sirena | pythondev_help_Sirena_2017-11-30T09:23:20.001193 | 1,512,033,800.001193 | 101,585 |
pythondev | help | <@Suellen> Thanks a lot! | 2017-11-30T09:24:28.000532 | Shamika | pythondev_help_Shamika_2017-11-30T09:24:28.000532 | 1,512,033,868.000532 | 101,586 |
pythondev | help | how do I check if a file has been read to the end? | 2017-11-30T09:37:50.000352 | Winnie | pythondev_help_Winnie_2017-11-30T09:37:50.000352 | 1,512,034,670.000352 | 101,587 |
pythondev | help | I want to say "keep reading from this file until you can't anymore" | 2017-11-30T09:39:39.000256 | Winnie | pythondev_help_Winnie_2017-11-30T09:39:39.000256 | 1,512,034,779.000256 | 101,588 |
pythondev | help | Hey does anyone know anything about search boxes that allow multiple searched for example. If you go to this website: <https://www.parmley-graham.co.uk/>
and look the the right there is a search box under that there is a chackbox that says Multiple Part Codes. How and what would i search to find a tutorial on how to do... | 2017-11-30T09:39:49.000552 | Robbin | pythondev_help_Robbin_2017-11-30T09:39:49.000552 | 1,512,034,789.000552 | 101,589 |
pythondev | help | So perhaps I’m just an idiot and can’t read documentation, but is this typeshed thing used automatically by MyPy or do you have to do something? | 2017-11-30T09:40:23.000584 | Junita | pythondev_help_Junita_2017-11-30T09:40:23.000584 | 1,512,034,823.000584 | 101,590 |
pythondev | help | all you'd need to do is query whether that checkbox was ticked on your post request, and then change your searching corpus accordingly | 2017-11-30T09:42:04.000753 | Winnie | pythondev_help_Winnie_2017-11-30T09:42:04.000753 | 1,512,034,924.000753 | 101,591 |
pythondev | help | So i would be running a loop through the search for every line or part number in that search box? instead of just one. | 2017-11-30T09:43:51.000645 | Robbin | pythondev_help_Robbin_2017-11-30T09:43:51.000645 | 1,512,035,031.000645 | 101,592 |
pythondev | help | no like | 2017-11-30T09:44:41.000134 | Winnie | pythondev_help_Winnie_2017-11-30T09:44:41.000134 | 1,512,035,081.000134 | 101,593 |
pythondev | help | when your post request comes through after a search, it'll come with some data | 2017-11-30T09:45:18.000983 | Winnie | pythondev_help_Winnie_2017-11-30T09:45:18.000983 | 1,512,035,118.000983 | 101,594 |
pythondev | help | part of that data will be what was searched for | 2017-11-30T09:45:28.001032 | Winnie | pythondev_help_Winnie_2017-11-30T09:45:28.001032 | 1,512,035,128.001032 | 101,595 |
pythondev | help | the other part will be whether that box was ticked | 2017-11-30T09:45:37.000648 | Winnie | pythondev_help_Winnie_2017-11-30T09:45:37.000648 | 1,512,035,137.000648 | 101,596 |
pythondev | help | you just have to start your search function as | 2017-11-30T09:45:47.000786 | Winnie | pythondev_help_Winnie_2017-11-30T09:45:47.000786 | 1,512,035,147.000786 | 101,597 |
pythondev | help | That makes sense! Do you think if I would write Europe/Amsterdam as timezone that it would automatically choose the right one? | 2017-11-30T09:46:00.000634 | Jesusa | pythondev_help_Jesusa_2017-11-30T09:46:00.000634 | 1,512,035,160.000634 | 101,598 |
pythondev | help | if box was ticked, search through x else search through y | 2017-11-30T09:46:00.001013 | Winnie | pythondev_help_Winnie_2017-11-30T09:46:00.001013 | 1,512,035,160.001013 | 101,599 |
pythondev | help | <@Winnie> i think the read method reads the entire file, but you can keep track of what line your in with readlines or list(file) | 2017-11-30T09:47:12.001260 | Ora | pythondev_help_Ora_2017-11-30T09:47:12.001260 | 1,512,035,232.00126 | 101,600 |
pythondev | help | I just want to be like | 2017-11-30T09:47:39.000099 | Winnie | pythondev_help_Winnie_2017-11-30T09:47:39.000099 | 1,512,035,259.000099 | 101,601 |
pythondev | help | using len(file) as a reference as to where is the end maybe | 2017-11-30T09:47:48.000462 | Ora | pythondev_help_Ora_2017-11-30T09:47:48.000462 | 1,512,035,268.000462 | 101,602 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.