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 | what about mapbox? | 2017-09-12T09:12:17.000339 | Meg | pythondev_help_Meg_2017-09-12T09:12:17.000339 | 1,505,207,537.000339 | 93,403 |
pythondev | help | they are very committed to open source, and were very prominent at FOSS4G last month | 2017-09-12T09:13:11.000354 | Meg | pythondev_help_Meg_2017-09-12T09:13:11.000354 | 1,505,207,591.000354 | 93,404 |
pythondev | help | with the main dev for Leaflet, Vlad, giving three talks | 2017-09-12T09:13:25.000505 | Meg | pythondev_help_Meg_2017-09-12T09:13:25.000505 | 1,505,207,605.000505 | 93,405 |
pythondev | help | Doesn't look like they have a places database | 2017-09-12T09:15:55.000268 | Gabriele | pythondev_help_Gabriele_2017-09-12T09:15:55.000268 | 1,505,207,755.000268 | 93,406 |
pythondev | help | oh, thought you meant geocoding | 2017-09-12T09:21:51.000584 | Meg | pythondev_help_Meg_2017-09-12T09:21:51.000584 | 1,505,208,111.000584 | 93,407 |
pythondev | help | Mapzen? <https://whosonfirst.mapzen.com/> Also seem to be big proponents of oss | 2017-09-12T10:31:13.000524 | Fabiola | pythondev_help_Fabiola_2017-09-12T10:31:13.000524 | 1,505,212,273.000524 | 93,408 |
pythondev | help | Looks like it has potential. If only their docs weren't written by a frustrated English Literature graduate | 2017-09-12T10:34:45.000555 | Gabriele | pythondev_help_Gabriele_2017-09-12T10:34:45.000555 | 1,505,212,485.000555 | 93,409 |
pythondev | help | I mean, I'm trying to browse it to find out what it actually offers, and I come across a page detailing the Chicken response format: <https://mapzen.com/documentation/wof/formats/#chicken> | 2017-09-12T10:38:26.000747 | Gabriele | pythondev_help_Gabriele_2017-09-12T10:38:26.000747 | 1,505,212,706.000747 | 93,410 |
pythondev | help | every api should have chicken format | 2017-09-12T10:39:05.000037 | Cristy | pythondev_help_Cristy_2017-09-12T10:39:05.000037 | 1,505,212,745.000037 | 93,411 |
pythondev | help | I'll add it to my backlog | 2017-09-12T10:39:36.000502 | Gabriele | pythondev_help_Gabriele_2017-09-12T10:39:36.000502 | 1,505,212,776.000502 | 93,412 |
pythondev | help | hey guys, I've been thinking about whether I should use a Mixin or Class Composition. In my scenario, I have a cross cutting concern that I would like to share across a few classes. For concreteness, lets say the class looks like the following:
```
class CrossCuttingMixin(object):
def initialize(self, service, external_id):
pass
def is_enabled(self, payload):
pass
def is_id_allowed(self, id):
pass
```
1. Is it better to write a mixin or use class composition (i.e. initialize the class within another class)
2. Should mixins should keep state or be stateless?
3. Any good reads on this debate? | 2017-09-12T12:14:05.000228 | Mary | pythondev_help_Mary_2017-09-12T12:14:05.000228 | 1,505,218,445.000228 | 93,413 |
pythondev | help | Your example is a bit too abstract for me to understand what exactly it would be used for, but these days it's common to prefer composition to inheritance, certainly | 2017-09-12T12:19:59.000141 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:19:59.000141 | 1,505,218,799.000141 | 93,414 |
pythondev | help | It's not like Python makes it easy to enforce the interfaces anyway | 2017-09-12T12:20:25.000552 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:20:25.000552 | 1,505,218,825.000552 | 93,415 |
pythondev | help | <@Gabriele> check out abc, you can enforce interfaces (e.g. when trying to instantiate a class from an ABC, abstract base class, you'll get an error if any abstract methods are not overridden) | 2017-09-12T12:21:34.000439 | Beula | pythondev_help_Beula_2017-09-12T12:21:34.000439 | 1,505,218,894.000439 | 93,416 |
pythondev | help | Starts to feel a bit like Java then :wink: | 2017-09-12T12:25:19.000818 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:25:19.000818 | 1,505,219,119.000818 | 93,417 |
pythondev | help | <@Gabriele> - what about testability? Classes become harder to test because of composition | 2017-09-12T12:28:43.000302 | Mary | pythondev_help_Mary_2017-09-12T12:28:43.000302 | 1,505,219,323.000302 | 93,418 |
pythondev | help | The only way I could think of making it easier is passing the class as a param on initialization | 2017-09-12T12:29:01.000341 | Mary | pythondev_help_Mary_2017-09-12T12:29:01.000341 | 1,505,219,341.000341 | 93,419 |
pythondev | help | Why? Mixins are just composition that the compiler does for you. | 2017-09-12T12:29:19.000339 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:29:19.000339 | 1,505,219,359.000339 | 93,420 |
pythondev | help | I guess you can't easily pass several different composed types to the same tests, but if you really want the same interface across them, you can add that | 2017-09-12T12:30:13.000442 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:30:13.000442 | 1,505,219,413.000442 | 93,421 |
pythondev | help | Mixins aren't composition | 2017-09-12T12:30:25.000513 | Beula | pythondev_help_Beula_2017-09-12T12:30:25.000513 | 1,505,219,425.000513 | 93,422 |
pythondev | help | You can write them as such, but it's still a "is-a" relationship there | 2017-09-12T12:30:37.000610 | Beula | pythondev_help_Beula_2017-09-12T12:30:37.000610 | 1,505,219,437.00061 | 93,423 |
pythondev | help | Composition is more about aggregating functionality than about interfaces | 2017-09-12T12:30:41.000302 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:30:41.000302 | 1,505,219,441.000302 | 93,424 |
pythondev | help | Well, I'm thinking on a more abstract level. It's still just taking the bits from one thing and inserting them into another. Is-A and Has-A becomes rather fluid in a dynamically typed language anyway | 2017-09-12T12:31:38.000273 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:31:38.000273 | 1,505,219,498.000273 | 93,425 |
pythondev | help | Not really, inheritance is always "is-a" | 2017-09-12T12:32:10.000178 | Beula | pythondev_help_Beula_2017-09-12T12:32:10.000178 | 1,505,219,530.000178 | 93,426 |
pythondev | help | Dynamic doesn't really impact that at all | 2017-09-12T12:32:19.000293 | Beula | pythondev_help_Beula_2017-09-12T12:32:19.000293 | 1,505,219,539.000293 | 93,427 |
pythondev | help | But you can have "is-a" without inheritance, and you can have mixins with all 'private' members which don't really give you any sort of useful 'is-a' relationship. | 2017-09-12T12:33:40.000256 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:33:40.000256 | 1,505,219,620.000256 | 93,428 |
pythondev | help | As I see it, the only really important thing is, "does this object support this interface?" | 2017-09-12T12:34:12.000445 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:34:12.000445 | 1,505,219,652.000445 | 93,429 |
pythondev | help | It's not about whether or not you get anything useful from it though | 2017-09-12T12:34:30.000166 | Beula | pythondev_help_Beula_2017-09-12T12:34:30.000166 | 1,505,219,670.000166 | 93,430 |
pythondev | help | And you are right, that _can_ happen | 2017-09-12T12:34:40.000292 | Beula | pythondev_help_Beula_2017-09-12T12:34:40.000292 | 1,505,219,680.000292 | 93,431 |
pythondev | help | But that's digressing from mixin not really being composition | 2017-09-12T12:34:59.000491 | Beula | pythondev_help_Beula_2017-09-12T12:34:59.000491 | 1,505,219,699.000491 | 93,432 |
pythondev | help | I still think it's just a matter of perspective. | 2017-09-12T12:37:06.000706 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:37:06.000706 | 1,505,219,826.000706 | 93,433 |
pythondev | help | Far enough :slightly_smiling_face: | 2017-09-12T12:37:56.000356 | Beula | pythondev_help_Beula_2017-09-12T12:37:56.000356 | 1,505,219,876.000356 | 93,434 |
pythondev | help | For Python specifically, I'd define the difference between Mixin and Composition classes in this way:
```
#Mixin
class Mixin(object):
def do_something(self):
print 'Hi'
class BaseClass(Mixin):
def run(self):
self.do_something()
#Composition
class Composition(object):
def do_something(self):
print 'Hi'
class BaseClass(object):
def __init__(self):
self.composition = Composition()
def run(self):
self.composition.do_something()
``` | 2017-09-12T12:40:19.000646 | Mary | pythondev_help_Mary_2017-09-12T12:40:19.000646 | 1,505,220,019.000646 | 93,435 |
pythondev | help | Sure | 2017-09-12T12:40:54.000435 | Gabriele | pythondev_help_Gabriele_2017-09-12T12:40:54.000435 | 1,505,220,054.000435 | 93,436 |
pythondev | help | <@Gabriele> Is right, a mixin is meant as a type of composition, it really depends on how the mixin class is written | 2017-09-12T12:41:14.000205 | Beula | pythondev_help_Beula_2017-09-12T12:41:14.000205 | 1,505,220,074.000205 | 93,437 |
pythondev | help | say, we have a Deep Learning model written in python2.x and the next step is to deploy it as a web service. Is it okay, if the Flask REST APIs are in Python3.x | 2017-09-12T12:48:31.000728 | Tameika | pythondev_help_Tameika_2017-09-12T12:48:31.000728 | 1,505,220,511.000728 | 93,438 |
pythondev | help | How do me maintain the parity? | 2017-09-12T12:48:53.000169 | Tameika | pythondev_help_Tameika_2017-09-12T12:48:53.000169 | 1,505,220,533.000169 | 93,439 |
pythondev | help | <@Tameika> Are the Deep Learning models populating a database or something? Or are you wanting to trigger the py2 models from the flask app? | 2017-09-12T12:49:43.000627 | Beula | pythondev_help_Beula_2017-09-12T12:49:43.000627 | 1,505,220,583.000627 | 93,440 |
pythondev | help | True, they should all trigger py2 models as well libraries installed for py2.x | 2017-09-12T12:50:39.000435 | Tameika | pythondev_help_Tameika_2017-09-12T12:50:39.000435 | 1,505,220,639.000435 | 93,441 |
pythondev | help | How are you "triggering" the deep learning models? | 2017-09-12T12:52:24.000194 | Beula | pythondev_help_Beula_2017-09-12T12:52:24.000194 | 1,505,220,744.000194 | 93,442 |
pythondev | help | does anyone here knows how to set up gpiozero library on mac? | 2017-09-12T12:53:23.000300 | Shirl | pythondev_help_Shirl_2017-09-12T12:53:23.000300 | 1,505,220,803.0003 | 93,443 |
pythondev | help | what | 2017-09-12T12:55:28.000217 | Cherrie | pythondev_help_Cherrie_2017-09-12T12:55:28.000217 | 1,505,220,928.000217 | 93,444 |
pythondev | help | <@Shirl>, you can't. you need to use it on a pi | 2017-09-12T12:56:25.000630 | Meg | pythondev_help_Meg_2017-09-12T12:56:25.000630 | 1,505,220,985.00063 | 93,445 |
pythondev | help | what's the best practice for accessing database credentials for multiple databases in django? | 2017-09-12T12:56:30.000088 | Cherrie | pythondev_help_Cherrie_2017-09-12T12:56:30.000088 | 1,505,220,990.000088 | 93,446 |
pythondev | help | <https://docs.djangoproject.com/en/1.11/topics/db/multi-db/> | 2017-09-12T12:56:53.000157 | Meg | pythondev_help_Meg_2017-09-12T12:56:53.000157 | 1,505,221,013.000157 | 93,447 |
pythondev | help | I can't just stick the username/password in the settings.py | 2017-09-12T12:57:00.000151 | Cherrie | pythondev_help_Cherrie_2017-09-12T12:57:00.000151 | 1,505,221,020.000151 | 93,448 |
pythondev | help | <https://github.com/joke2k/django-environ> | 2017-09-12T12:57:48.000036 | Meg | pythondev_help_Meg_2017-09-12T12:57:48.000036 | 1,505,221,068.000036 | 93,449 |
pythondev | help | <@Meg> I read that, but it doesn't provide a solution for my problem | 2017-09-12T12:57:48.000149 | Cherrie | pythondev_help_Cherrie_2017-09-12T12:57:48.000149 | 1,505,221,068.000149 | 93,450 |
pythondev | help | honestly, that's what I interpreted your original question as | 2017-09-12T12:58:04.000366 | Meg | pythondev_help_Meg_2017-09-12T12:58:04.000366 | 1,505,221,084.000366 | 93,451 |
pythondev | help | <@Meg> <https://gpiozero.readthedocs.io/en/stable/remote_gpio.html> | 2017-09-12T12:58:53.000344 | Shirl | pythondev_help_Shirl_2017-09-12T12:58:53.000344 | 1,505,221,133.000344 | 93,452 |
pythondev | help | the only problem is when i follow it line by line i´m still missing some files | 2017-09-12T12:59:28.000486 | Shirl | pythondev_help_Shirl_2017-09-12T12:59:28.000486 | 1,505,221,168.000486 | 93,453 |
pythondev | help | <@Cherrie> How does it not fix the problem? You need to load the config from the environment if you can't store it in settings.py | 2017-09-12T12:59:56.000008 | Beula | pythondev_help_Beula_2017-09-12T12:59:56.000008 | 1,505,221,196.000008 | 93,454 |
pythondev | help | <@Beula> is there a way to leverage another settings file? | 2017-09-12T13:00:30.000521 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:00:30.000521 | 1,505,221,230.000521 | 93,455 |
pythondev | help | like a "databases" only setting file | 2017-09-12T13:00:50.000264 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:00:50.000264 | 1,505,221,250.000264 | 93,456 |
pythondev | help | eg `dev_settings.py` | 2017-09-12T13:00:54.000059 | Meg | pythondev_help_Meg_2017-09-12T13:00:54.000059 | 1,505,221,254.000059 | 93,457 |
pythondev | help | sure | 2017-09-12T13:01:08.000089 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:01:08.000089 | 1,505,221,268.000089 | 93,458 |
pythondev | help | Sure, set `DJANGO_SETTINGS_MODULE='other.settings.file'` | 2017-09-12T13:01:57.000417 | Beula | pythondev_help_Beula_2017-09-12T13:01:57.000417 | 1,505,221,317.000417 | 93,459 |
pythondev | help | And in that other file extend your base | 2017-09-12T13:02:05.000111 | Beula | pythondev_help_Beula_2017-09-12T13:02:05.000111 | 1,505,221,325.000111 | 93,460 |
pythondev | help | <https://github.com/pyslackers/website/tree/master/config/settings> | 2017-09-12T13:02:24.000280 | Beula | pythondev_help_Beula_2017-09-12T13:02:24.000280 | 1,505,221,344.00028 | 93,461 |
pythondev | help | That is how we do it for this community's website | 2017-09-12T13:02:30.000119 | Beula | pythondev_help_Beula_2017-09-12T13:02:30.000119 | 1,505,221,350.000119 | 93,462 |
pythondev | help | But we also use the environment | 2017-09-12T13:02:35.000513 | Beula | pythondev_help_Beula_2017-09-12T13:02:35.000513 | 1,505,221,355.000513 | 93,463 |
pythondev | help | I tried to move the second db connection to the dev_settings.py, but it seems to overwrite the test_settings which means my tests try to run using a real connection as opposed to a test connection. I suppose the real conflict is between test_settings and original settings and where to put the second database connection | 2017-09-12T13:03:25.000216 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:03:25.000216 | 1,505,221,405.000216 | 93,464 |
pythondev | help | I guess I am not following you, take a peek at the link above - we have three different settings files (dev/test/prod) that all extend a _base | 2017-09-12T13:04:33.000027 | Beula | pythondev_help_Beula_2017-09-12T13:04:33.000027 | 1,505,221,473.000027 | 93,465 |
pythondev | help | each adds its customization | 2017-09-12T13:04:51.000447 | Beula | pythondev_help_Beula_2017-09-12T13:04:51.000447 | 1,505,221,491.000447 | 93,466 |
pythondev | help | <@Beula> sure, for your example, when you run your project you're selecting which settings module to run via the command line, right? | 2017-09-12T13:08:45.000107 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:08:45.000107 | 1,505,221,725.000107 | 93,467 |
pythondev | help | We override the `DJANGO_SETTINGS_MODULE` envvar: the manage.py sets the default to "development", testing uses pytest-django (which sets it to testing), and in prod we set the envvar explicitly | 2017-09-12T13:10:08.000379 | Beula | pythondev_help_Beula_2017-09-12T13:10:08.000379 | 1,505,221,808.000379 | 93,468 |
pythondev | help | oh got it, my settings are just misconfigured | 2017-09-12T13:11:46.000709 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:11:46.000709 | 1,505,221,906.000709 | 93,469 |
pythondev | help | thanks <@Beula> | 2017-09-12T13:11:56.000725 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:11:56.000725 | 1,505,221,916.000725 | 93,470 |
pythondev | help | :thumbsup::skin-tone-4: | 2017-09-12T13:12:05.000415 | Beula | pythondev_help_Beula_2017-09-12T13:12:05.000415 | 1,505,221,925.000415 | 93,471 |
pythondev | help | We have a <#C0LMFRMB5|django> specific channel for any django questions :slightly_smiling_face: | 2017-09-12T13:12:14.000335 | Beula | pythondev_help_Beula_2017-09-12T13:12:14.000335 | 1,505,221,934.000335 | 93,472 |
pythondev | help | <@Beula> okay I'll use that moving forward. | 2017-09-12T13:16:44.000179 | Cherrie | pythondev_help_Cherrie_2017-09-12T13:16:44.000179 | 1,505,222,204.000179 | 93,473 |
pythondev | help | Has anyone tried using setup.py build_ext with a cpp file that's already been compiled (file.bin) but includes the requisite Python hooks? | 2017-09-12T14:40:36.000046 | Elane | pythondev_help_Elane_2017-09-12T14:40:36.000046 | 1,505,227,236.000046 | 93,474 |
pythondev | help | Hey, would anyone knows how the answer for this Pytest / Pycharm question?
<https://twitter.com/AlexZamai/status/907575096507854848> | 2017-09-12T15:19:58.000114 | Mavis | pythondev_help_Mavis_2017-09-12T15:19:58.000114 | 1,505,229,598.000114 | 93,475 |
pythondev | help | How can run my unittest programmatically? <https://stackoverflow.com/questions/46183899/importing-and-calling-unittest-programmatically> | 2017-09-12T15:21:31.000268 | Sharika | pythondev_help_Sharika_2017-09-12T15:21:31.000268 | 1,505,229,691.000268 | 93,476 |
pythondev | help | I would say your config file should mainly have code related to pytest itself. Say, new commands related to skipping tests or such. | 2017-09-12T15:47:17.000231 | Tanya | pythondev_help_Tanya_2017-09-12T15:47:17.000231 | 1,505,231,237.000231 | 93,477 |
pythondev | help | but what about fixtures that I'm sharing across the test suite?
in my case its generated by faker names an email address I would like to import and use them across? | 2017-09-12T16:00:29.000532 | Mavis | pythondev_help_Mavis_2017-09-12T16:00:29.000532 | 1,505,232,029.000532 | 93,478 |
pythondev | help | Sorry, took more than a second long look. Rename your testing_config to conftest.py. You don't need to import those fakes into your tests. | 2017-09-12T16:00:37.000760 | Tanya | pythondev_help_Tanya_2017-09-12T16:00:37.000760 | 1,505,232,037.00076 | 93,479 |
pythondev | help | aha, its the filename autodiscovered by pytest? | 2017-09-12T16:01:27.000133 | Mavis | pythondev_help_Mavis_2017-09-12T16:01:27.000133 | 1,505,232,087.000133 | 93,480 |
pythondev | help | Yup | 2017-09-12T16:09:54.000580 | Tanya | pythondev_help_Tanya_2017-09-12T16:09:54.000580 | 1,505,232,594.00058 | 93,481 |
pythondev | help | I just recently started transitioning over to pytest here as well and there's a lot there (that sometimes isn't explained well). | 2017-09-12T16:15:15.000267 | Tanya | pythondev_help_Tanya_2017-09-12T16:15:15.000267 | 1,505,232,915.000267 | 93,482 |
pythondev | help | can someone help me with python for AWS lambda? I have a simple question | 2017-09-12T19:49:54.000291 | Charlena | pythondev_help_Charlena_2017-09-12T19:49:54.000291 | 1,505,245,794.000291 | 93,483 |
pythondev | help | <@Charlena> ask away, someone will see it and answer you if they can | 2017-09-12T20:47:18.000123 | Kiersten | pythondev_help_Kiersten_2017-09-12T20:47:18.000123 | 1,505,249,238.000123 | 93,484 |
pythondev | help | <@Charlena> I've been playing with it a bit lately. | 2017-09-12T21:07:01.000185 | Lorna | pythondev_help_Lorna_2017-09-12T21:07:01.000185 | 1,505,250,421.000185 | 93,485 |
pythondev | help | How do I access a variable from one method to another? lets say I have a variable goals=5 in my method goal_total() . How do I access that goal variable in another method? I've tried a few things but for no success. Also i wasnt able to find proper documentation on that topic. | 2017-09-12T21:19:39.000182 | Charlena | pythondev_help_Charlena_2017-09-12T21:19:39.000182 | 1,505,251,179.000182 | 93,486 |
pythondev | help | Can't you just set global variable at the top of your file?
```
GOALS = 5
def goal_total():
# something to do with goals
``` | 2017-09-12T21:25:19.000024 | Lorna | pythondev_help_Lorna_2017-09-12T21:25:19.000024 | 1,505,251,519.000024 | 93,487 |
pythondev | help | You can also set Environment variables pretty easily which is handy | 2017-09-12T21:25:31.000061 | Lorna | pythondev_help_Lorna_2017-09-12T21:25:31.000061 | 1,505,251,531.000061 | 93,488 |
pythondev | help | <@Charlena> I have just started playing with AWS and lambda myself - I would have thought what <@Lorna> said - is that not working? | 2017-09-12T21:27:33.000098 | Mallie | pythondev_help_Mallie_2017-09-12T21:27:33.000098 | 1,505,251,653.000098 | 93,489 |
pythondev | help | <@Charlena> there's no state sharing between lambda executions, you need to use an external store for state | 2017-09-12T21:30:36.000055 | Marcie | pythondev_help_Marcie_2017-09-12T21:30:36.000055 | 1,505,251,836.000055 | 93,490 |
pythondev | help | that can be things like external databases (postgres, etc.), key-value stores (dynamodb, etc.), or if they're direct deps, invoking other lambda functions directly either via API gateway or SQS | 2017-09-12T21:31:41.000016 | Marcie | pythondev_help_Marcie_2017-09-12T21:31:41.000016 | 1,505,251,901.000016 | 93,491 |
pythondev | help | <@Charlena> so you want data to persist between Lambda calls? | 2017-09-12T21:35:39.000100 | Lorna | pythondev_help_Lorna_2017-09-12T21:35:39.000100 | 1,505,252,139.0001 | 93,492 |
pythondev | help | <@Lorna> no I'm not that deep and into stuff like persistence yet. But I made a simple lambda function and the normal python way seems to be working. | 2017-09-12T21:57:20.000087 | Charlena | pythondev_help_Charlena_2017-09-12T21:57:20.000087 | 1,505,253,440.000087 | 93,493 |
pythondev | help | def lambda_handler(event, context):
# TODO implement
print (hello())
print ("hi")
return 'Hello from Lambda'
def hello():
a="5"
return a | 2017-09-12T21:57:40.000005 | Charlena | pythondev_help_Charlena_2017-09-12T21:57:40.000005 | 1,505,253,460.000005 | 93,494 |
pythondev | help | <@Charlena> you can use the little `+` button on the left there <-- to add a python snippet | 2017-09-12T21:57:58.000202 | Marcie | pythondev_help_Marcie_2017-09-12T21:57:58.000202 | 1,505,253,478.000202 | 93,495 |
pythondev | help | I was able to print 5 when I called hello() | 2017-09-12T21:58:02.000039 | Charlena | pythondev_help_Charlena_2017-09-12T21:58:02.000039 | 1,505,253,482.000039 | 93,496 |
pythondev | help | <@Marcie> will do next time. Thanks | 2017-09-12T21:58:28.000145 | Charlena | pythondev_help_Charlena_2017-09-12T21:58:28.000145 | 1,505,253,508.000145 | 93,497 |
pythondev | help | help please with conversion | 2017-09-13T02:25:28.000165 | Eustolia | pythondev_help_Eustolia_2017-09-13T02:25:28.000165 | 1,505,269,528.000165 | 93,498 |
pythondev | help | <@Eustolia> you should fix the source of that output | 2017-09-13T02:26:13.000137 | Collette | pythondev_help_Collette_2017-09-13T02:26:13.000137 | 1,505,269,573.000137 | 93,499 |
pythondev | help | i am fixed source | 2017-09-13T02:26:32.000018 | Eustolia | pythondev_help_Eustolia_2017-09-13T02:26:32.000018 | 1,505,269,592.000018 | 93,500 |
pythondev | help | Sorry, what? | 2017-09-13T02:26:41.000155 | Collette | pythondev_help_Collette_2017-09-13T02:26:41.000155 | 1,505,269,601.000155 | 93,501 |
pythondev | help | Whatever gave you that output is broken - that string is a `repr` of a python dictionary | 2017-09-13T02:27:13.000048 | Collette | pythondev_help_Collette_2017-09-13T02:27:13.000048 | 1,505,269,633.000048 | 93,502 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.