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 found this some thing relevant
2019-05-27T07:38:09.226100
Jennette
pythondev_help_Jennette_2019-05-27T07:38:09.226100
1,558,942,689.2261
25,421
pythondev
help
I am verifying that page have all expected link, and on click links working as expected, all expect input fields and all input fields are editable, all expected images, all expected button exits and they are clickable
2019-05-27T07:39:33.227700
Jennette
pythondev_help_Jennette_2019-05-27T07:39:33.227700
1,558,942,773.2277
25,422
pythondev
help
<https://github.com/pr4bh4sh/python-delayed-assert/blob/master/delayed_assert/delayed_assert.py#L31-L36> This is nuts. Good luck with making it work with `pytest-xdist` :slightly_smiling_face:
2019-05-27T07:39:48.228100
Chester
pythondev_help_Chester_2019-05-27T07:39:48.228100
1,558,942,788.2281
25,423
pythondev
help
&gt; on click links working as expected &gt; all expect input fields and all input fields are editable This sounds more like widget testing, which can be scoped down to a single widget
2019-05-27T07:41:06.229900
Chester
pythondev_help_Chester_2019-05-27T07:41:06.229900
1,558,942,866.2299
25,424
pythondev
help
:point_up:
2019-05-27T07:41:11.230200
Hiroko
pythondev_help_Hiroko_2019-05-27T07:41:11.230200
1,558,942,871.2302
25,425
pythondev
help
I started to hate this idea right after working with Jasmine (js testing framework) for some time :harold:
2019-05-27T07:41:11.230300
Nigel
pythondev_help_Nigel_2019-05-27T07:41:11.230300
1,558,942,871.2303
25,426
pythondev
help
(idea of delayed asserts I mean)
2019-05-27T07:41:25.230600
Nigel
pythondev_help_Nigel_2019-05-27T07:41:25.230600
1,558,942,885.2306
25,427
pythondev
help
is it possible to write a custom decorator() , and on testcase just add @contine_on_fail. and it continue for all assertion , and once case execution finish it display all fail asserrtion
2019-05-27T07:42:41.232000
Jennette
pythondev_help_Jennette_2019-05-27T07:42:41.232000
1,558,942,961.232
25,428
pythondev
help
Then if you really need to test that your site looks like expected, then there are other testing frameworks for that, e.g. <https://applitools.com/blog/visual-testing-a-guide-for-front-end-developers>
2019-05-27T07:43:02.232600
Chester
pythondev_help_Chester_2019-05-27T07:43:02.232600
1,558,942,982.2326
25,429
pythondev
help
I honestly cannot imagine how your tests will grow in time, if you're going to create a test function per page
2019-05-27T07:44:15.234000
Chester
pythondev_help_Chester_2019-05-27T07:44:15.234000
1,558,943,055.234
25,430
pythondev
help
in which you're going to check _almost every single element_ of the page
2019-05-27T07:44:41.234600
Chester
pythondev_help_Chester_2019-05-27T07:44:41.234600
1,558,943,081.2346
25,431
pythondev
help
we are doing UI chnage in next version , and we want that UI verification for next version
2019-05-27T07:45:20.235700
Jennette
pythondev_help_Jennette_2019-05-27T07:45:20.235700
1,558,943,120.2357
25,432
pythondev
help
I'd vote for that approach to be remotely useful for the first couple of sprints, after that it will be a huge mess
2019-05-27T07:45:37.236000
Chester
pythondev_help_Chester_2019-05-27T07:45:37.236000
1,558,943,137.236
25,433
pythondev
help
:disappointed:
2019-05-27T07:45:51.236200
Jennette
pythondev_help_Jennette_2019-05-27T07:45:51.236200
1,558,943,151.2362
25,434
pythondev
help
Again, "verification" is a very broad term when it comes to UIs. Verification of the "look" is one thing, verification of the "behavior" is another. You seem to mix them.
2019-05-27T07:47:02.237400
Chester
pythondev_help_Chester_2019-05-27T07:47:02.237400
1,558,943,222.2374
25,435
pythondev
help
we need to verify that controls exists and behavior does not chanage
2019-05-27T07:48:36.238300
Jennette
pythondev_help_Jennette_2019-05-27T07:48:36.238300
1,558,943,316.2383
25,436
pythondev
help
Do you care how they look like? Where are they placed on the page? Are they even visible to the user?
2019-05-27T07:49:17.239000
Chester
pythondev_help_Chester_2019-05-27T07:49:17.239000
1,558,943,357.239
25,437
pythondev
help
I care if they are visbile
2019-05-27T07:50:04.239400
Jennette
pythondev_help_Jennette_2019-05-27T07:50:04.239400
1,558,943,404.2394
25,438
pythondev
help
not place
2019-05-27T07:50:11.239700
Jennette
pythondev_help_Jennette_2019-05-27T07:50:11.239700
1,558,943,411.2397
25,439
pythondev
help
How you're going to check that? You can't simply check for `display: none`. What if one fully functional control will be rendered outside of the viewport?
2019-05-27T07:51:39.241000
Chester
pythondev_help_Chester_2019-05-27T07:51:39.241000
1,558,943,499.241
25,440
pythondev
help
What if one control will completely overflow another?
2019-05-27T07:52:01.241500
Chester
pythondev_help_Chester_2019-05-27T07:52:01.241500
1,558,943,521.2415
25,441
pythondev
help
You need to ask these questions to yourself, what kinds of UI changes you want to make, and I guarantee that "all existing elements and controls, and their behaviors" is not what you usually want to test
2019-05-27T07:52:52.242500
Chester
pythondev_help_Chester_2019-05-27T07:52:52.242500
1,558,943,572.2425
25,442
pythondev
help
ok
2019-05-27T07:53:42.243800
Jennette
pythondev_help_Jennette_2019-05-27T07:53:42.243800
1,558,943,622.2438
25,443
pythondev
help
Let's say you want to test a click on a button. Why would you do that? It's already being tested during your browser's development process. All you need to do is to comply to the spec of the button. Are you overriding default, well-tested behavior in javascript? Then test that javascript, because if you still test clicking on a button, then you're mostly testing browser's behavior, delegating the submit action to javascript
2019-05-27T07:54:57.245100
Chester
pythondev_help_Chester_2019-05-27T07:54:57.245100
1,558,943,697.2451
25,444
pythondev
help
ok
2019-05-27T07:55:25.245500
Jennette
pythondev_help_Jennette_2019-05-27T07:55:25.245500
1,558,943,725.2455
25,445
pythondev
help
this brings up an additional question, are you doing unit testing too?
2019-05-27T07:55:31.245700
Hiroko
pythondev_help_Hiroko_2019-05-27T07:55:31.245700
1,558,943,731.2457
25,446
pythondev
help
and if so, what’s your coverage for the code which executes the rendering and behavior?
2019-05-27T07:55:57.246300
Hiroko
pythondev_help_Hiroko_2019-05-27T07:55:57.246300
1,558,943,757.2463
25,447
pythondev
help
I am in meeting, will reply you soon
2019-05-27T07:56:52.246800
Jennette
pythondev_help_Jennette_2019-05-27T07:56:52.246800
1,558,943,812.2468
25,448
pythondev
help
thanks for your time
2019-05-27T07:57:02.247100
Jennette
pythondev_help_Jennette_2019-05-27T07:57:02.247100
1,558,943,822.2471
25,449
pythondev
help
<@Jennette> in order to avoid your tests taking an eternity to run, you basically want to avoid involving anything in any particular test that you don't absolutely need in order to test that behavior. So unless the actual core behavior you're testing depends on how that unique browser would behave, then you don't need to involve the browser.
2019-05-27T08:55:58.249800
Ashley
pythondev_help_Ashley_2019-05-27T08:55:58.249800
1,558,947,358.2498
25,450
pythondev
help
For example, if your site has a standard `&lt;form&gt;`, and it doesn't use javascript to handle the submission on that form so it just `POST`s to a specific endpoint, then you don't need a browser to test that form
2019-05-27T08:57:08.251000
Ashley
pythondev_help_Ashley_2019-05-27T08:57:08.251000
1,558,947,428.251
25,451
pythondev
help
you can just send a `POST` request yourself to that endpoint
2019-05-27T08:57:44.251600
Ashley
pythondev_help_Ashley_2019-05-27T08:57:44.251600
1,558,947,464.2516
25,452
pythondev
help
(however, you may need to use a `Session` from `requests` to track cookies and headers and such to make sure you have access to that form)
2019-05-27T08:58:35.252500
Ashley
pythondev_help_Ashley_2019-05-27T08:58:35.252500
1,558,947,515.2525
25,453
pythondev
help
i will look into this approch
2019-05-27T08:58:55.253000
Jennette
pythondev_help_Jennette_2019-05-27T08:58:55.253000
1,558,947,535.253
25,454
pythondev
help
going further
2019-05-27T08:58:59.253200
Ashley
pythondev_help_Ashley_2019-05-27T08:58:59.253200
1,558,947,539.2532
25,455
pythondev
help
if you are trying to test some behavior that happens exclusively on the backend, e.g. calculating tax based on location and cost of the purchase, then you should probably handle that in a unit test without needing any network connection at all
2019-05-27T09:00:20.254600
Ashley
pythondev_help_Ashley_2019-05-27T09:00:20.254600
1,558,947,620.2546
25,456
pythondev
help
<https://www.google.com/search?q=testing+pyramid> Related
2019-05-27T09:02:47.254800
Chester
pythondev_help_Chester_2019-05-27T09:02:47.254800
1,558,947,767.2548
25,457
pythondev
help
yeah this sounds like a testing ice cream cone
2019-05-27T09:32:42.255300
Karoline
pythondev_help_Karoline_2019-05-27T09:32:42.255300
1,558,949,562.2553
25,458
pythondev
help
hi
2019-05-27T10:24:10.255800
Marcia
pythondev_help_Marcia_2019-05-27T10:24:10.255800
1,558,952,650.2558
25,459
pythondev
help
is there an easy solution to compare the values to find out which is the smallest? ``` data = {} data['name_1'] = { 'value_1' : 1, 'value_2': 2, } data['name_2'] = { 'value_1' : 2, 'value_2': 1, } data['name_3'] = { 'value_1' : 3 'value_2': 4, } ``` for value_1 data name_1 is the smallest…
2019-05-27T10:25:05.256900
Marcia
pythondev_help_Marcia_2019-05-27T10:25:05.256900
1,558,952,705.2569
25,460
pythondev
help
<@Marcia> You can do something like ``` min(data, key=lambda i: data[i]['value_1']) ```
2019-05-27T10:30:25.257400
Nigel
pythondev_help_Nigel_2019-05-27T10:30:25.257400
1,558,953,025.2574
25,461
pythondev
help
It'll return `name_1`
2019-05-27T10:30:35.257700
Nigel
pythondev_help_Nigel_2019-05-27T10:30:35.257700
1,558,953,035.2577
25,462
pythondev
help
Basically, check the docs for min function: <https://docs.python.org/3.5/library/functions.html#min>
2019-05-27T10:31:04.258200
Nigel
pythondev_help_Nigel_2019-05-27T10:31:04.258200
1,558,953,064.2582
25,463
pythondev
help
if you want the whole dictionary returned together with `name_1`, you can use `data.items()`: ``` min(data.items(), key=lambda i: i[1]['value_1']) ``` It'll return a tuple like `('name_1', {'value_1': 1, 'value_2': 2})`
2019-05-27T10:33:10.259000
Nigel
pythondev_help_Nigel_2019-05-27T10:33:10.259000
1,558,953,190.259
25,464
pythondev
help
<@Nigel> thank you
2019-05-27T10:33:47.259300
Marcia
pythondev_help_Marcia_2019-05-27T10:33:47.259300
1,558,953,227.2593
25,465
pythondev
help
i’ll check the docs, but your example was totally helpfull
2019-05-27T10:34:13.260000
Marcia
pythondev_help_Marcia_2019-05-27T10:34:13.260000
1,558,953,253.26
25,466
pythondev
help
I'm having this problem with installing and uninstalling, and whether I did it through pycharm or from the terminal when I'm through the activating of virtualenv.
2019-05-27T11:55:45.261800
Tanja
pythondev_help_Tanja_2019-05-27T11:55:45.261800
1,558,958,145.2618
25,467
pythondev
help
also I feel apps are slow down is there anyway to know the reason, using Ubuntu 18.04.2
2019-05-27T11:57:08.262800
Tanja
pythondev_help_Tanja_2019-05-27T11:57:08.262800
1,558,958,228.2628
25,468
pythondev
help
would help if you could describe the steps your taking
2019-05-27T12:00:21.263100
Hiroko
pythondev_help_Hiroko_2019-05-27T12:00:21.263100
1,558,958,421.2631
25,469
pythondev
help
but given that you’ve been having this issue for a while yet, can you delete everything and start from scratch?
2019-05-27T12:00:45.263600
Hiroko
pythondev_help_Hiroko_2019-05-27T12:00:45.263600
1,558,958,445.2636
25,470
pythondev
help
The error message looks like your python is broken
2019-05-27T12:01:46.264700
Chester
pythondev_help_Chester_2019-05-27T12:01:46.264700
1,558,958,506.2647
25,471
pythondev
help
(no pun intended)
2019-05-27T12:01:58.264900
Chester
pythondev_help_Chester_2019-05-27T12:01:58.264900
1,558,958,518.2649
25,472
pythondev
help
<@Tanja> how did you install python?
2019-05-27T12:02:49.265200
Chester
pythondev_help_Chester_2019-05-27T12:02:49.265200
1,558,958,569.2652
25,473
pythondev
help
Could you follow me... delete what exactly, between I was working before without virtualenv, and many packages were downloaded using conda and pip and like that <@Hiroko>
2019-05-27T12:03:51.265400
Tanja
pythondev_help_Tanja_2019-05-27T12:03:51.265400
1,558,958,631.2654
25,474
pythondev
help
<@Chester> `pip install python` I guess so or through `sudo apt-get install python3`
2019-05-27T12:07:52.266800
Tanja
pythondev_help_Tanja_2019-05-27T12:07:52.266800
1,558,958,872.2668
25,475
pythondev
help
<@Hiroko> How could I start fresh, as no packages installed in my laptop and set the new env etc
2019-05-27T12:08:45.267600
Tanja
pythondev_help_Tanja_2019-05-27T12:08:45.267600
1,558,958,925.2676
25,476
pythondev
help
Ubuntu?
2019-05-27T12:10:18.267900
Chester
pythondev_help_Chester_2019-05-27T12:10:18.267900
1,558,959,018.2679
25,477
pythondev
help
Yes using ubuntu
2019-05-27T12:12:22.268300
Tanja
pythondev_help_Tanja_2019-05-27T12:12:22.268300
1,558,959,142.2683
25,478
pythondev
help
I'm pretty sure you also need to `sudo apt-get install python3-pip`
2019-05-27T12:18:58.269000
Chester
pythondev_help_Chester_2019-05-27T12:18:58.269000
1,558,959,538.269
25,479
pythondev
help
Hey all. I’m working on Python Crash Course and am stuck with writing a dynamic view in Django. If I try to run the code in the shell for my view I’m seeing this:
2019-05-28T01:53:15.272400
Derek
pythondev_help_Derek_2019-05-28T01:53:15.272400
1,559,008,395.2724
25,480
pythondev
help
None
2019-05-28T01:53:22.272500
Derek
pythondev_help_Derek_2019-05-28T01:53:22.272500
1,559,008,402.2725
25,481
pythondev
help
I’m not sure what entry_set is or does, I’ve tried looking back at the examples and can’t understand what is being done here
2019-05-28T01:53:47.273500
Derek
pythondev_help_Derek_2019-05-28T01:53:47.273500
1,559,008,427.2735
25,482
pythondev
help
The example uses it like this:
2019-05-28T01:54:06.273800
Derek
pythondev_help_Derek_2019-05-28T01:54:06.273800
1,559,008,446.2738
25,483
pythondev
help
None
2019-05-28T01:54:10.273900
Derek
pythondev_help_Derek_2019-05-28T01:54:10.273900
1,559,008,450.2739
25,484
pythondev
help
These are my models:
2019-05-28T01:54:50.274400
Derek
pythondev_help_Derek_2019-05-28T01:54:50.274400
1,559,008,490.2744
25,485
pythondev
help
None
2019-05-28T01:54:54.274500
Derek
pythondev_help_Derek_2019-05-28T01:54:54.274500
1,559,008,494.2745
25,486
pythondev
help
The example probably has an actual `Entry` model connected via a foreign key, which would create the `entry_set` accessor. In this case, you might have a `topping_set` instead.
2019-05-28T02:01:04.276400
Sasha
pythondev_help_Sasha_2019-05-28T02:01:04.276400
1,559,008,864.2764
25,487
pythondev
help
Ahhh it should be topping_set
2019-05-28T02:01:15.276700
Derek
pythondev_help_Derek_2019-05-28T02:01:15.276700
1,559,008,875.2767
25,488
pythondev
help
Thanks <@Sasha>!
2019-05-28T02:06:44.277100
Derek
pythondev_help_Derek_2019-05-28T02:06:44.277100
1,559,009,204.2771
25,489
pythondev
help
can any one help me to convert this format in python $carData['overview']['fuel_type'][3] = 'Fuel Type';
2019-05-28T03:26:29.278400
Reatha
pythondev_help_Reatha_2019-05-28T03:26:29.278400
1,559,013,989.2784
25,490
pythondev
help
Leave off the `$` and the `;`, and it would be a valid Python expression, depending on the data in `carData`.
2019-05-28T03:28:10.279000
Sasha
pythondev_help_Sasha_2019-05-28T03:28:10.279000
1,559,014,090.279
25,491
pythondev
help
actual its a list and i am using it in django
2019-05-28T03:29:12.279400
Reatha
pythondev_help_Reatha_2019-05-28T03:29:12.279400
1,559,014,152.2794
25,492
pythondev
help
cardata = []
2019-05-28T03:29:23.279700
Reatha
pythondev_help_Reatha_2019-05-28T03:29:23.279700
1,559,014,163.2797
25,493
pythondev
help
Well, a list can't have named keys like `'overview'`, so what is it that you want here?
2019-05-28T03:30:13.280300
Sasha
pythondev_help_Sasha_2019-05-28T03:30:13.280300
1,559,014,213.2803
25,494
pythondev
help
carData['overview']['fuel_type'][3] = 'Fuel Type'; in laravel its takes string is there any way i can assign string index
2019-05-28T03:31:40.281200
Reatha
pythondev_help_Reatha_2019-05-28T03:31:40.281200
1,559,014,300.2812
25,495
pythondev
help
You would typically use a (nested) dict instead of a list.
2019-05-28T03:32:21.281700
Sasha
pythondev_help_Sasha_2019-05-28T03:32:21.281700
1,559,014,341.2817
25,496
pythondev
help
ok can you give me an example
2019-05-28T03:32:39.282000
Reatha
pythondev_help_Reatha_2019-05-28T03:32:39.282000
1,559,014,359.282
25,497
pythondev
help
```carData = { 'overview': { 'fuel_type': { 3: 'Fuel Type' } } }``` That would initialize a nested dict with those keys and values.
2019-05-28T03:34:34.283400
Sasha
pythondev_help_Sasha_2019-05-28T03:34:34.283400
1,559,014,474.2834
25,498
pythondev
help
ok ty its a json format too
2019-05-28T03:35:27.284000
Reatha
pythondev_help_Reatha_2019-05-28T03:35:27.284000
1,559,014,527.284
25,499
pythondev
help
Yeah, if you're starting from JSON, you can parse that straight to Python data structures.
2019-05-28T03:35:55.284400
Sasha
pythondev_help_Sasha_2019-05-28T03:35:55.284400
1,559,014,555.2844
25,500
pythondev
help
how can i insert another data in fuel_type
2019-05-28T03:39:40.284900
Reatha
pythondev_help_Reatha_2019-05-28T03:39:40.284900
1,559,014,780.2849
25,501
pythondev
help
carData = { 'overview': { 'fuel_type': { 3: 'Fuel Type' } } }
2019-05-28T03:39:45.285100
Reatha
pythondev_help_Reatha_2019-05-28T03:39:45.285100
1,559,014,785.2851
25,502
pythondev
help
carData = { 'overview': { 'fuel_type': { 3: 'Fuel Type', 2: 'Petrol' } } }
2019-05-28T03:40:08.285300
Reatha
pythondev_help_Reatha_2019-05-28T03:40:08.285300
1,559,014,808.2853
25,503
pythondev
help
if 'fuel_type' is array, you can use ``` 'fuel_type': ['type 0', 'type 1', 'type 2', 'type 3'] ```
2019-05-28T03:42:05.287000
Latashia
pythondev_help_Latashia_2019-05-28T03:42:05.287000
1,559,014,925.287
25,504
pythondev
help
Once the higher-level structures is set up, you can just do `carData['overview']['fuel_type'][2] = 'Petrol'` to add another leaf value.
2019-05-28T03:43:13.288300
Sasha
pythondev_help_Sasha_2019-05-28T03:43:13.288300
1,559,014,993.2883
25,505
pythondev
help
or `carData['overview']['fuel_type'].update({2: 'Petrol'})`
2019-05-28T03:43:37.288700
Russ
pythondev_help_Russ_2019-05-28T03:43:37.288700
1,559,015,017.2887
25,506
pythondev
help
ty you guys are the best
2019-05-28T03:43:53.289000
Reatha
pythondev_help_Reatha_2019-05-28T03:43:53.289000
1,559,015,033.289
25,507
pythondev
help
None
2019-05-28T06:20:02.290500
Tanja
pythondev_help_Tanja_2019-05-28T06:20:02.290500
1,559,024,402.2905
25,508
pythondev
help
what is the difference between shallow copy and deep copy in python
2019-05-28T07:06:18.291000
Lanelle
pythondev_help_Lanelle_2019-05-28T07:06:18.291000
1,559,027,178.291
25,509
pythondev
help
the depth level in which the copy operation goes
2019-05-28T07:07:07.291400
Hiroko
pythondev_help_Hiroko_2019-05-28T07:07:07.291400
1,559,027,227.2914
25,510
pythondev
help
the docs explain it preety well, have you looked there?
2019-05-28T07:08:23.292200
Hiroko
pythondev_help_Hiroko_2019-05-28T07:08:23.292200
1,559,027,303.2922
25,511
pythondev
help
<https://docs.python.org/3.7/library/copy.html>
2019-05-28T07:08:24.292400
Hiroko
pythondev_help_Hiroko_2019-05-28T07:08:24.292400
1,559,027,304.2924
25,512
pythondev
help
&gt;&gt;&gt;The difference between shallow and deep copying is only relevant for compound objects (objects that contain other objects, like lists or class instances): • A shallow copy constructs a new compound object and then (to the extent possible) inserts references into it to the objects found in the original. • A deep copy constructs a new compound object and then, recursively, inserts copies into it of the objects found in the original. Two problems often exist with deep copy operations that don’t exist with shallow copy operations: • Recursive objects (compound objects that, directly or indirectly, contain a reference to themselves) may cause a recursive loop. • Because deep copy copies everything it may copy too much, such as data which is intended to be shared between copies.
2019-05-28T07:09:04.292900
Hiroko
pythondev_help_Hiroko_2019-05-28T07:09:04.292900
1,559,027,344.2929
25,513
pythondev
help
``` &gt;&gt;&gt; import copy &gt;&gt;&gt; A = [[1, 2], [1, 2]] &gt;&gt;&gt; B = copy.copy(A) &gt;&gt;&gt; C = copy.deepcopy(A) &gt;&gt;&gt; A [[1, 2], [1, 2]] &gt;&gt;&gt; B [[1, 2], [1, 2]] &gt;&gt;&gt; C [[1, 2], [1, 2]] &gt;&gt;&gt; A[0][0] = 'Hello?' &gt;&gt;&gt; A [['Hello?', 2], [1, 2]] &gt;&gt;&gt; B [['Hello?', 2], [1, 2]] &gt;&gt;&gt; C [[1, 2], [1, 2]] ```
2019-05-28T07:22:17.293200
Guillermina
pythondev_help_Guillermina_2019-05-28T07:22:17.293200
1,559,028,137.2932
25,514
pythondev
help
Read more: <https://realpython.com/copying-python-objects/>
2019-05-28T07:22:54.293400
Guillermina
pythondev_help_Guillermina_2019-05-28T07:22:54.293400
1,559,028,174.2934
25,515
pythondev
help
I have a python file that I compile in to an `.exe` I understand how to pass arguments to it, but how do I return data. For example I have a function that does something and want to return some data to confirm its done. But in my `__main__` part I am not sure how to return that. ``` def some_func(args_from_sys): #do some stuff return 'done' if __name__ == '__main__': if len(sys.argv) &gt; 1: #how to get the return from some_func back to what is executing the exe file some_func(sys.argv[1:]) ```
2019-05-28T07:36:27.297300
Arturo
pythondev_help_Arturo_2019-05-28T07:36:27.297300
1,559,028,987.2973
25,516
pythondev
help
you;d output it via stdout
2019-05-28T07:36:53.297500
Hiroko
pythondev_help_Hiroko_2019-05-28T07:36:53.297500
1,559,029,013.2975
25,517
pythondev
help
or some file output
2019-05-28T07:37:04.297700
Hiroko
pythondev_help_Hiroko_2019-05-28T07:37:04.297700
1,559,029,024.2977
25,518
pythondev
help
ah ok, at the moment I in my exception within the function I do have a log, but in the other system invoking the exe it continues to run. I guess I could either read the logs file and break execution on that or use `stdout`
2019-05-28T07:38:48.299200
Arturo
pythondev_help_Arturo_2019-05-28T07:38:48.299200
1,559,029,128.2992
25,519
pythondev
help
thanks <@Hiroko> :taco:
2019-05-28T07:42:11.299500
Arturo
pythondev_help_Arturo_2019-05-28T07:42:11.299500
1,559,029,331.2995
25,520