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
``` import atexit atexit.register(lambda: session.close()) # or something session = requests.Session() ... # 1. Ctrl+D # 2. session is safely closed ```
2017-09-27T10:07:02.000584
Suellen
pythondev_help_Suellen_2017-09-27T10:07:02.000584
1,506,506,822.000584
94,803
pythondev
help
for example, Task A recieves its parameters, and as a result, it adds 1000 more instances of Task B to a specified queue. How do I get Task C to execute if and only if all of Task B created from the specific Task A have finished executing?
2017-09-27T10:09:14.000634
Meg
pythondev_help_Meg_2017-09-27T10:09:14.000634
1,506,506,954.000634
94,804
pythondev
help
I don't know much about Celery, but can Task A wait for its children, and Task C wait for Task A? Or it's not how it's typically done?
2017-09-27T10:10:20.000388
Suellen
pythondev_help_Suellen_2017-09-27T10:10:20.000388
1,506,507,020.000388
94,805
pythondev
help
you can come up with a number of different combinations using groups, chains, and signatures.
2017-09-27T10:11:15.000595
Johana
pythondev_help_Johana_2017-09-27T10:11:15.000595
1,506,507,075.000595
94,806
pythondev
help
<http://docs.celeryproject.org/en/latest/userguide/canvas.html>
2017-09-27T10:11:34.000084
Johana
pythondev_help_Johana_2017-09-27T10:11:34.000084
1,506,507,094.000084
94,807
pythondev
help
yeah, I'm looking at that now
2017-09-27T10:12:05.000311
Meg
pythondev_help_Meg_2017-09-27T10:12:05.000311
1,506,507,125.000311
94,808
pythondev
help
neat, thanks ^_^
2017-09-27T10:12:20.000119
Winnie
pythondev_help_Winnie_2017-09-27T10:12:20.000119
1,506,507,140.000119
94,809
pythondev
help
and I get the concept, but am having difficulty translating it into something usable
2017-09-27T10:12:27.000225
Meg
pythondev_help_Meg_2017-09-27T10:12:27.000225
1,506,507,147.000225
94,810
pythondev
help
yea it can take a bit
2017-09-27T10:12:37.000789
Johana
pythondev_help_Johana_2017-09-27T10:12:37.000789
1,506,507,157.000789
94,811
pythondev
help
Is there a polling mechanism in celery?
2017-09-27T10:13:28.000340
Winnifred
pythondev_help_Winnifred_2017-09-27T10:13:28.000340
1,506,507,208.00034
94,812
pythondev
help
chains/chords should get you there <@Meg>
2017-09-27T10:13:44.000502
Patty
pythondev_help_Patty_2017-09-27T10:13:44.000502
1,506,507,224.000502
94,813
pythondev
help
<@Winnifred> celery is pub/sub
2017-09-27T10:14:07.000325
Patty
pythondev_help_Patty_2017-09-27T10:14:07.000325
1,506,507,247.000325
94,814
pythondev
help
Ah okay
2017-09-27T10:14:46.000770
Winnifred
pythondev_help_Winnifred_2017-09-27T10:14:46.000770
1,506,507,286.00077
94,815
pythondev
help
In order to speed up queries, is it common practice to mark a model instance with `True` or `False` if it passes an error check?
2017-09-27T10:16:03.000030
Tammi
pythondev_help_Tammi_2017-09-27T10:16:03.000030
1,506,507,363.00003
94,816
pythondev
help
<@Meg> if you want to see some of the ones i’m using you can refer to this: <https://github.com/openstax/biglearn-sparfa-server/blob/master/sparfa_server/tasks/calcs.py> these are the calculations done by biglearn. they are on a particular schedule and all they do is check an endpoint for calculations. if there are calculations it may run the calcs and save the results and continue recursively or they will calculate and post their results.
2017-09-27T10:16:25.000415
Johana
pythondev_help_Johana_2017-09-27T10:16:25.000415
1,506,507,385.000415
94,817
pythondev
help
what does pub/sub mean
2017-09-27T10:18:11.000242
Winnie
pythondev_help_Winnie_2017-09-27T10:18:11.000242
1,506,507,491.000242
94,818
pythondev
help
the environment biglearn has to work in is not very reliable so that is why it does checks for calcs. if there are no calcs it short circuits and tries again later.
2017-09-27T10:20:35.000268
Johana
pythondev_help_Johana_2017-09-27T10:20:35.000268
1,506,507,635.000268
94,819
pythondev
help
so my use case here is indexing many web pages on a S3 bucket. The initial task gets called with the db ID of the S3 folder to be indexed. Inside `run`, it gets a list of all `htm(l)` files with the db ID prefix. I've defined another task that takes in a single S3 key URL and extracts the title and non HTML text using beautifulsoup, and insert into Solr. What I want to do afterwards is to run a task to check Solr for how many documents for that particular DB ID were indexed. The number of pages indexed are saved to a db field, If 98% of all pages were indexed, then it's recorded as a success.
2017-09-27T10:23:07.000040
Meg
pythondev_help_Meg_2017-09-27T10:23:07.000040
1,506,507,787.00004
94,820
pythondev
help
<http://www.pythondoc.com/celery-3.1.11/userguide/canvas.html#group-results> seems to fit my needs
2017-09-27T10:25:23.000757
Meg
pythondev_help_Meg_2017-09-27T10:25:23.000757
1,506,507,923.000757
94,821
pythondev
help
<https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern>
2017-09-27T10:31:17.000538
Patty
pythondev_help_Patty_2017-09-27T10:31:17.000538
1,506,508,277.000538
94,822
pythondev
help
Hey what video series do you recommend for someone brand new to programming? Their goal is to learn to build websites from scratch and I know there are quite a few good choices for those but the ones i think are the best require some knowledge of programming and I want to give them a good course.
2017-09-27T10:54:39.000464
Vita
pythondev_help_Vita_2017-09-27T10:54:39.000464
1,506,509,679.000464
94,823
pythondev
help
Also, if there is a book like (automate everything or learn python the hard way) that you believe would be better, please let me know
2017-09-27T10:55:23.000356
Vita
pythondev_help_Vita_2017-09-27T10:55:23.000356
1,506,509,723.000356
94,824
pythondev
help
Is it possible to indicate that function may be throwing specific exception using type annotations?
2017-09-27T12:42:46.000019
Mirian
pythondev_help_Mirian_2017-09-27T12:42:46.000019
1,506,516,166.000019
94,825
pythondev
help
Books for intermediate Python
2017-09-27T12:54:12.000517
Meryl
pythondev_help_Meryl_2017-09-27T12:54:12.000517
1,506,516,852.000517
94,826
pythondev
help
Can anyone suggest me books for intermediate/advanced Python
2017-09-27T13:04:11.000173
Meryl
pythondev_help_Meryl_2017-09-27T13:04:11.000173
1,506,517,451.000173
94,827
pythondev
help
I haven’t read it, but I believe a standard recommendation is “Fluent Python”
2017-09-27T13:06:28.000664
Junita
pythondev_help_Junita_2017-09-27T13:06:28.000664
1,506,517,588.000664
94,828
pythondev
help
<http://www.effectivepython.com/>
2017-09-27T13:07:18.000720
Beula
pythondev_help_Beula_2017-09-27T13:07:18.000720
1,506,517,638.00072
94,829
pythondev
help
Another good one
2017-09-27T13:07:22.000444
Beula
pythondev_help_Beula_2017-09-27T13:07:22.000444
1,506,517,642.000444
94,830
pythondev
help
Thnx
2017-09-27T13:11:06.000272
Meryl
pythondev_help_Meryl_2017-09-27T13:11:06.000272
1,506,517,866.000272
94,831
pythondev
help
can someone explain why this is quadratic code? ``` s = names[0] for name in names[1:]: s += ', ' + name ```
2017-09-27T13:20:27.000548
Winnie
pythondev_help_Winnie_2017-09-27T13:20:27.000548
1,506,518,427.000548
94,832
pythondev
help
Hello, suppose i have a class A which has a function which makes use of its class variables(eg. self.x etc..). can i call it from a class method from another class B? Because during the function declaration in class B, the first parameter is self. and during call from class A, self is needed. but when called from class B, self indicates class B. How should this be solved?
2017-09-27T13:27:21.000288
Oneida
pythondev_help_Oneida_2017-09-27T13:27:21.000288
1,506,518,841.000288
94,833
pythondev
help
<@Oneida> i think that you refer this <https://repl.it/LinZ/0>
2017-09-27T13:33:27.000632
Annis
pythondev_help_Annis_2017-09-27T13:33:27.000632
1,506,519,207.000632
94,834
pythondev
help
<@Oneida> are you talking about something like this: ``` class A: def something(self, n): return n * 2 class B: def something_else(self, n): return A().something(n) * 2 print(B().something_else(5)) ```
2017-09-27T13:57:07.000374
Orpha
pythondev_help_Orpha_2017-09-27T13:57:07.000374
1,506,520,627.000374
94,835
pythondev
help
prints 20 btw
2017-09-27T13:57:45.000243
Orpha
pythondev_help_Orpha_2017-09-27T13:57:45.000243
1,506,520,665.000243
94,836
pythondev
help
didnt see the answer above… just thought it was a link to something random
2017-09-27T13:59:20.000484
Orpha
pythondev_help_Orpha_2017-09-27T13:59:20.000484
1,506,520,760.000484
94,837
pythondev
help
<@Winnie> Depends what you mean by “quadratic”, but I assume you mean O(n squared) where you expected O(n) It goes slowly because of all the string-copying going on: strings are immutable, so the expression `', ' + name` effectively means “take a copy of `, `, then copy all of `name` after it” And then `s += ', ' + name` means: “take a copy of `s`, then copy the chars in `', '` after it, then copy `name` after that” As `s` gets longer, it is being copied much more often than needed. You’d be better off to use `join`, e.g. ``` s = ', '.join(names) ```
2017-09-27T14:11:30.000129
Earline
pythondev_help_Earline_2017-09-27T14:11:30.000129
1,506,521,490.000129
94,838
pythondev
help
Yes, but it still takes a reasonably "significant" amount of time to compile, even when cached. 577ns just to emit the compiled re pattern from cache (752x faster than cold cache) ```%timeit r = re.compile("((hello)+|(hi)+)", re.I) The slowest run took 752.60 times longer than the fastest. This could mean that an intermediate result is being cached. 1000000 loops, best of 3: 577 ns per loop```
2017-09-27T14:42:49.000710
Carri
pythondev_help_Carri_2017-09-27T14:42:49.000710
1,506,523,369.00071
94,839
pythondev
help
which ends up roughly doubling the running time
2017-09-27T14:43:22.000270
Carri
pythondev_help_Carri_2017-09-27T14:43:22.000270
1,506,523,402.00027
94,840
pythondev
help
Hi. I need do get a list of imported files from my DB. But there is a specific column(file_name) I need do get only the file name, not the entire path(C:\\files\\*file_name*), so I am using split for that. See:
2017-09-27T16:41:11.000209
Yan
pythondev_help_Yan_2017-09-27T16:41:11.000209
1,506,530,471.000209
94,841
pythondev
help
There is a best way to do that? I think to make the split on the query, but I dont know how.
2017-09-27T16:41:22.000130
Yan
pythondev_help_Yan_2017-09-27T16:41:22.000130
1,506,530,482.00013
94,842
pythondev
help
//Now ``` { "acquirer_id": 675, "establishment_id": 1, "file_line_error": 1143, "file_name": "C:\\files\\04_20170731_DIARIO_1", "group_id": 1, "id": 3, "import_date": "2017-09-14", "md5_file": "478632b58020a332fd36e194acf126gh4ad231" } ``` //Need ``` { "acquirer_id": 675, "establishment_id": 1, "file_line_error": 1143, "file_name": "04_20170731_DIARIO_1", "group_id": 1, "id": 3, "import_date": "2017-09-14", "md5_file": "478632b58020a332fd36e194acf126gh4ad231" } ```
2017-09-27T16:41:49.000434
Yan
pythondev_help_Yan_2017-09-27T16:41:49.000434
1,506,530,509.000434
94,843
pythondev
help
Thx in advantage
2017-09-27T16:42:30.000310
Yan
pythondev_help_Yan_2017-09-27T16:42:30.000310
1,506,530,550.00031
94,844
pythondev
help
os.path.split?
2017-09-27T17:12:00.000328
Suellen
pythondev_help_Suellen_2017-09-27T17:12:00.000328
1,506,532,320.000328
94,845
pythondev
help
os.path.basename()
2017-09-27T20:19:10.000229
Cynthia
pythondev_help_Cynthia_2017-09-27T20:19:10.000229
1,506,543,550.000229
94,846
pythondev
help
oh interesting. Yeah I saw this in raymondh's video but I was curious what made it bad. Thanks!
2017-09-27T22:00:12.000158
Winnie
pythondev_help_Winnie_2017-09-27T22:00:12.000158
1,506,549,612.000158
94,847
pythondev
help
How do I get the `pk` of `tailnumber.aircraft_type` if `aircraft_type` is a `fk` to `TailNumber` ? I need it to complete my breadcrumbs and use the same method elsewhere in my app ```class TailNumberDetail(LoginRequiredMixin, DetailView): model = TailNumber template_name = 'tailnumbers/tailnumber_detail.html' def get_context_data(self, **kwargs): flights = Flight.objects.all().filter(registration = self.object) get_map_data(flights) context = super(TailNumberDetail, self).get_context_data(**kwargs) context['title'] = "D-&gt; | " + str(self.object) context['page_title'] = str(self.object) context['parent_link'] = reverse('aircraft_list') context['parent_name'] = 'Aircraft' # context['child_name'] = self.object.aircraft_type # context['child_link'] = reverse('aircraft_detail' <http://Aircraft.pk|Aircraft.pk>) context['flights'] = flights return context```
2017-09-27T22:13:40.000118
Tammi
pythondev_help_Tammi_2017-09-27T22:13:40.000118
1,506,550,420.000118
94,848
pythondev
help
thx
2017-09-28T08:24:45.000351
Yan
pythondev_help_Yan_2017-09-28T08:24:45.000351
1,506,587,085.000351
94,849
pythondev
help
thx "os.path.basename()" works
2017-09-28T08:25:28.000160
Yan
pythondev_help_Yan_2017-09-28T08:25:28.000160
1,506,587,128.00016
94,850
pythondev
help
we have a <#C0LN2AD7T|flask> channel, people might be best able to help you there :slightly_smiling_face:
2017-09-28T09:08:23.000199
Ciera
pythondev_help_Ciera_2017-09-28T09:08:23.000199
1,506,589,703.000199
94,851
pythondev
help
I have an issue, I’m trying to use ipaddress module, and my script need to work on both Python 2 and Python 3, problem is that on Python 3 it’s expecting a str but on python 2 it’s expecting an unicode…
2017-09-28T09:22:31.000587
Belva
pythondev_help_Belva_2017-09-28T09:22:31.000587
1,506,590,551.000587
94,852
pythondev
help
How can I make a single code work with both ? As the parameter is coming from a variable so I can’t use u”10.0.0.0"
2017-09-28T09:24:02.000203
Belva
pythondev_help_Belva_2017-09-28T09:24:02.000203
1,506,590,642.000203
94,853
pythondev
help
and unicode() doesn’t exists on Python 3 so I can’t use this either
2017-09-28T09:25:26.000550
Belva
pythondev_help_Belva_2017-09-28T09:25:26.000550
1,506,590,726.00055
94,854
pythondev
help
I think you can use `six.u` from <https://pythonhosted.org/six/>
2017-09-28T09:25:49.000377
Beula
pythondev_help_Beula_2017-09-28T09:25:49.000377
1,506,590,749.000377
94,855
pythondev
help
<https://pythonhosted.org/six/#six.u>
2017-09-28T09:26:03.000040
Beula
pythondev_help_Beula_2017-09-28T09:26:03.000040
1,506,590,763.00004
94,856
pythondev
help
Oh I’m gonna check that, I never used it before :slightly_smiling_face:
2017-09-28T09:26:10.000463
Belva
pythondev_help_Belva_2017-09-28T09:26:10.000463
1,506,590,770.000463
94,857
pythondev
help
Thanks
2017-09-28T09:26:11.000221
Belva
pythondev_help_Belva_2017-09-28T09:26:11.000221
1,506,590,771.000221
94,858
pythondev
help
Sure thing, any time I think "supporting 2/3" six is pretty much the go-to
2017-09-28T09:26:28.000594
Beula
pythondev_help_Beula_2017-09-28T09:26:28.000594
1,506,590,788.000594
94,859
pythondev
help
It works :slightly_smiling_face:
2017-09-28T09:29:28.000104
Belva
pythondev_help_Belva_2017-09-28T09:29:28.000104
1,506,590,968.000104
94,860
pythondev
help
Thanks !
2017-09-28T09:29:30.000108
Belva
pythondev_help_Belva_2017-09-28T09:29:30.000108
1,506,590,970.000108
94,861
pythondev
help
:tada:
2017-09-28T09:29:37.000247
Beula
pythondev_help_Beula_2017-09-28T09:29:37.000247
1,506,590,977.000247
94,862
pythondev
help
Now passing all the tests : <https://github.com/jazzband/django-axes/pull/250> :stuck_out_tongue:
2017-09-28T10:02:44.000397
Belva
pythondev_help_Belva_2017-09-28T10:02:44.000397
1,506,592,964.000397
94,863
pythondev
help
Hi guys, any can help recommend books, and video courses I can take to get more basic python understanding?
2017-09-28T12:35:11.000393
Virginia
pythondev_help_Virginia_2017-09-28T12:35:11.000393
1,506,602,111.000393
94,864
pythondev
help
<https://github.com/pyslackers/learning-resources/blob/master/topics/essentials.md>
2017-09-28T12:40:22.000369
Johana
pythondev_help_Johana_2017-09-28T12:40:22.000369
1,506,602,422.000369
94,865
pythondev
help
I've made a PR <https://github.com/carpedm20/fbchat/blob/master/requirements.txt> which has updated the pip requirements to have a conditional requirement on enum34 but the change doesn't seem to make a difference, and running `python3.6 -m pip install fbchat` still installs enum34 have I missed something?
2017-09-28T12:51:33.000695
Winnie
pythondev_help_Winnie_2017-09-28T12:51:33.000695
1,506,603,093.000695
94,866
pythondev
help
You guys/gals use virtualenv or virtualenvwrapper? Which do you prefer?
2017-09-28T13:35:05.000106
Duane
pythondev_help_Duane_2017-09-28T13:35:05.000106
1,506,605,705.000106
94,867
pythondev
help
I only use virtualenv - I found virtualenvwrapper to be unnecessary when I looked at it. But, that was a a bit ago and I never went back and looked at virtualenvwrapper again.
2017-09-28T13:35:57.000220
Mallie
pythondev_help_Mallie_2017-09-28T13:35:57.000220
1,506,605,757.00022
94,868
pythondev
help
I use virtualenv but sometimes read people recommending virtualenvwrapper when I read a blog post or something. virtualenv seems to fit my current needs but just wondering if I am missing out or something with virtualenvwrapper
2017-09-28T13:36:50.000557
Duane
pythondev_help_Duane_2017-09-28T13:36:50.000557
1,506,605,810.000557
94,869
pythondev
help
Wrapper for me
2017-09-28T13:36:53.000254
Meg
pythondev_help_Meg_2017-09-28T13:36:53.000254
1,506,605,813.000254
94,870
pythondev
help
Don't need to provide the path to activate
2017-09-28T13:37:08.000238
Meg
pythondev_help_Meg_2017-09-28T13:37:08.000238
1,506,605,828.000238
94,871
pythondev
help
But that's about it
2017-09-28T13:37:16.000189
Meg
pythondev_help_Meg_2017-09-28T13:37:16.000189
1,506,605,836.000189
94,872
pythondev
help
does it detect the correct env by the directory you are in?
2017-09-28T13:37:34.000613
Duane
pythondev_help_Duane_2017-09-28T13:37:34.000613
1,506,605,854.000613
94,873
pythondev
help
or do you use `workon` <@Meg>
2017-09-28T13:38:00.000052
Duane
pythondev_help_Duane_2017-09-28T13:38:00.000052
1,506,605,880.000052
94,874
pythondev
help
For me, once I understood how `virtualenv` worked, I didn't want it abstracted away, so if that is the main incentive that's obvious where the difference in preference lies.
2017-09-28T13:39:48.000560
Mallie
pythondev_help_Mallie_2017-09-28T13:39:48.000560
1,506,605,988.00056
94,875
pythondev
help
Just `workon env_name` for me
2017-09-28T13:40:24.000268
Meg
pythondev_help_Meg_2017-09-28T13:40:24.000268
1,506,606,024.000268
94,876
pythondev
help
I’ve moved to pipenv mostly
2017-09-28T13:50:51.000076
Beula
pythondev_help_Beula_2017-09-28T13:50:51.000076
1,506,606,651.000076
94,877
pythondev
help
<@Beula> That one seems beefy, lots of features. Gotta check that out out a bit. One thing I do like about virtualenv is I usually throw my environments in project root and it helps me quickly see if the env is there or not and such. I can see myself accidentally creating a virtualenv when one already exists with the central place for all envs with virtualenvwrapper.
2017-09-28T14:00:42.000060
Duane
pythondev_help_Duane_2017-09-28T14:00:42.000060
1,506,607,242.00006
94,878
pythondev
help
This one will detect and re-create them for you if you already have one, it’s quite good
2017-09-28T14:08:09.000431
Beula
pythondev_help_Beula_2017-09-28T14:08:09.000431
1,506,607,689.000431
94,879
pythondev
help
can you have multiple pipfile files? Like dev/prd?
2017-09-28T14:08:33.000518
Duane
pythondev_help_Duane_2017-09-28T14:08:33.000518
1,506,607,713.000518
94,880
pythondev
help
`pipenv install --dev pytest` :smile:
2017-09-28T14:20:52.000347
Beula
pythondev_help_Beula_2017-09-28T14:20:52.000347
1,506,608,452.000347
94,881
pythondev
help
If you are familiar with NPM, it's kind of like that
2017-09-28T14:21:00.000545
Beula
pythondev_help_Beula_2017-09-28T14:21:00.000545
1,506,608,460.000545
94,882
pythondev
help
Heya guys, it's me again! (/w\)
2017-09-28T14:23:33.000078
Lana
pythondev_help_Lana_2017-09-28T14:23:33.000078
1,506,608,613.000078
94,883
pythondev
help
I'm creating a management system for a library with sqlite3 and python (It's a small library, that's why)
2017-09-28T14:24:34.000389
Lana
pythondev_help_Lana_2017-09-28T14:24:34.000389
1,506,608,674.000389
94,884
pythondev
help
Question is:
2017-09-28T14:24:37.000621
Lana
pythondev_help_Lana_2017-09-28T14:24:37.000621
1,506,608,677.000621
94,885
pythondev
help
When I execute this: ``` self.c.execute("""CREATE TABLE IF NOT EXISTS Libro(ID TEXT PRIMARY KEY, Nombre TEXT NOT NULL, ID_Autor INTEGER NOT NULL, ID_Editorial INTEGER, Year INTEGER, ID_Categoria INTEGER NOT NULL, Paginas INTEGER NOT NULL, Disponibilidad INTEGER NOT NULL, Ubicacion INTEGER NOT NULL, FOREIGN KEY(ID_Autor) REFERENCES Autor(ID)), FOREIGN KEY(ID_Editorial) REFERENCES Editorial(ID), FOREIGN KEY(ID_Categoria) REFERENCES Categoria(ID)""") ``` I get: `sqlite3.OperationalError: near ",": syntax error`
2017-09-28T14:25:47.000077
Lana
pythondev_help_Lana_2017-09-28T14:25:47.000077
1,506,608,747.000077
94,886
pythondev
help
`FOREIGN KEY(ID_Autor) REFERENCES Autor(ID)),` Looks to be an extra trailing paren
2017-09-28T14:27:16.000147
Beula
pythondev_help_Beula_2017-09-28T14:27:16.000147
1,506,608,836.000147
94,887
pythondev
help
I tried almost everything, and the comma is not the problem because the error is in last line (`FOREIGN KEY(ID_Categoria) REFERENCES Categoria(ID)`)... SQLite3 says: ``` Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/Users/alfonsoima/Documents/Universidad/Python/BibliotePy/Data.py", line 33, in createTables FOREIGN KEY(ID_Categoria) REFERENCES Categoria(ID)""") ```
2017-09-28T14:27:37.000581
Lana
pythondev_help_Lana_2017-09-28T14:27:37.000581
1,506,608,857.000581
94,888
pythondev
help
Oh sh*t
2017-09-28T14:28:14.000247
Lana
pythondev_help_Lana_2017-09-28T14:28:14.000247
1,506,608,894.000247
94,889
pythondev
help
<@Beula> :taco: :taco:
2017-09-28T14:29:31.000405
Lana
pythondev_help_Lana_2017-09-28T14:29:31.000405
1,506,608,971.000405
94,890
pythondev
help
:pacman:
2017-09-28T14:29:37.000261
Beula
pythondev_help_Beula_2017-09-28T14:29:37.000261
1,506,608,977.000261
94,891
pythondev
help
You deserve double taco, holy Lord, what I was thinking?
2017-09-28T14:29:49.000048
Lana
pythondev_help_Lana_2017-09-28T14:29:49.000048
1,506,608,989.000048
94,892
pythondev
help
:joy:
2017-09-28T14:29:54.000336
Lana
pythondev_help_Lana_2017-09-28T14:29:54.000336
1,506,608,994.000336
94,893
pythondev
help
They start to bleed together sometimes :slightly_smiling_face:
2017-09-28T14:30:05.000494
Beula
pythondev_help_Beula_2017-09-28T14:30:05.000494
1,506,609,005.000494
94,894
pythondev
help
<#C07EFMZ1N|help> *I'm looking for advice:* I've written a python3 script that when run, it texts me if I need an umbrella that day (utilizing twillo and the weather underground API). Is there a tool I can use to schedule this python3 script to be run every morning? Cron works, but only when I have a computer awake and set to run that script.... I'm new to this, and it's one of my first scripts so what are my other options? Any way I can set up this job in the Cloud for free?
2017-09-28T16:40:56.000352
Georgia
pythondev_help_Georgia_2017-09-28T16:40:56.000352
1,506,616,856.000352
94,895
pythondev
help
Aws as a free tier for a year that you can use
2017-09-28T16:43:33.000223
Meg
pythondev_help_Meg_2017-09-28T16:43:33.000223
1,506,617,013.000223
94,896
pythondev
help
And even after the free year the lambda cost would be cheap
2017-09-28T16:48:33.000648
Patty
pythondev_help_Patty_2017-09-28T16:48:33.000648
1,506,617,313.000648
94,897
pythondev
help
Another option is throw it on a cheap computer like a raspberry pi that can always run for you :slightly_smiling_face:
2017-09-28T16:53:46.000429
Beula
pythondev_help_Beula_2017-09-28T16:53:46.000429
1,506,617,626.000429
94,898
pythondev
help
The lambda cost would actually probably be free after 12 mo, the free tier for lambda is always
2017-09-28T16:54:59.000233
Mallie
pythondev_help_Mallie_2017-09-28T16:54:59.000233
1,506,617,699.000233
94,899
pythondev
help
Is there scheduling on lambda, or does that rely on another service?
2017-09-28T16:55:37.000276
Beula
pythondev_help_Beula_2017-09-28T16:55:37.000276
1,506,617,737.000276
94,900
pythondev
help
Good point - I think it is technically a cloudwatch trigger, but it's not in front of me
2017-09-28T16:56:12.000456
Mallie
pythondev_help_Mallie_2017-09-28T16:56:12.000456
1,506,617,772.000456
94,901
pythondev
help
I don't think that scheduling costs...
2017-09-28T16:56:25.000108
Mallie
pythondev_help_Mallie_2017-09-28T16:56:25.000108
1,506,617,785.000108
94,902