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 think I don't know how to leverage the value of 'docstrings'
2019-03-05T21:16:31.738000
Clayton
pythondev_help_Clayton_2019-03-05T21:16:31.738000
1,551,820,591.738
12,321
pythondev
help
Is it like the 'man' or 'cat' command in Unix ?
2019-03-05T21:26:34.738700
Clayton
pythondev_help_Clayton_2019-03-05T21:26:34.738700
1,551,821,194.7387
12,322
pythondev
help
More like man than cat
2019-03-05T23:39:54.741600
Candra
pythondev_help_Candra_2019-03-05T23:39:54.741600
1,551,829,194.7416
12,323
pythondev
help
<@Clayton> -- it's not like 'man' or 'cat'. Docstrings are a way of associating a help string with a class of function for example. It is possible to programmatically access the docstring using the `__doc__` property. So, it is easy to write code which fetches such docs.
2019-03-05T23:39:58.741800
Stan
pythondev_help_Stan_2019-03-05T23:39:58.741800
1,551,829,198.7418
12,324
pythondev
help
manpages have a format, and are idependent of the tool; you could write standalone manpages and 'man' could show them to you as readable docs. Docstrings are designed to live along with your code; either as an explainer for the module (at the top of the file) ..or per class, function etc.
2019-03-05T23:41:18.743100
Stan
pythondev_help_Stan_2019-03-05T23:41:18.743100
1,551,829,278.7431
12,325
pythondev
help
Tools like Sphinx which generate user-documentation, are able to parse through your code and pull out docstrings automatically. This makes it easy to generate API docs. Typical case would be a docstring mentioning it's arguments, return values, exceptions raised etc.
2019-03-05T23:42:16.744300
Stan
pythondev_help_Stan_2019-03-05T23:42:16.744300
1,551,829,336.7443
12,326
pythondev
help
Example: Look at the docstring for Flask's application object from the code here: <https://github.com/pallets/flask/blob/86bf9dca72cd188813e26ef5dd972101ef8983cf/flask/app.py#L72> The restructured text (.rst) which Sphinx operates on has been asked to fetch info from the class and all its members. <https://raw.githubusercontent.com/pallets/flask/master/docs/api.rst> ``` Application Object ------------------ .. autoclass:: Flask :members: :inherited-members: ``` In the generated API documentation, the content you see came from the docstring <http://flask.pocoo.org/docs/1.0/api/#application-object> By embedding help as docstrings, you also have an advantage of keeping docs close to the code. You'd update it if you updated your code.
2019-03-05T23:49:12.747400
Stan
pythondev_help_Stan_2019-03-05T23:49:12.747400
1,551,829,752.7474
12,327
pythondev
help
Hi all! If there anybody who is familiar with `behave`? I’m trying to run the simple test from their git-hub page but get `ConfigError: No feature files in '/Users/../features'` message. I have the feature file in that folder but have no idea why behave can not see it. Env: Python 3.6, MacOs, last behave version. Thanks!
2019-03-06T00:44:37.750000
Mi
pythondev_help_Mi_2019-03-06T00:44:37.750000
1,551,833,077.75
12,328
pythondev
help
ok fixed
2019-03-06T01:04:44.750200
Mi
pythondev_help_Mi_2019-03-06T01:04:44.750200
1,551,834,284.7502
12,329
pythondev
help
now new issue `ModuleNotFoundError: No module named 'behave_ext'`
2019-03-06T01:04:53.750500
Mi
pythondev_help_Mi_2019-03-06T01:04:53.750500
1,551,834,293.7505
12,330
pythondev
help
Hey all would appreciate some suggestion on a db I need for a web application I will build using django. Will need to store text and documents like pdf, word etc I have minimal experience with databases and this is for a startup where I do *everything*, so the keys are that it’s relatively simple to setup, reliable and easy to have it communicate with other apps (will automate as much of the data flow as possible) - Users will on my website fill in simple information (text) -&gt; Stored in db, user profile is created - Documents with user information will also be automatically created from templates -&gt; stored in db, not accessible to user - A new process will access those documents and send with email - New information will be added along - Non-technical people must be able to easily access the data in the db The user will be able to login on website and access some of their data. I have looked into Google’s cloud SQL and it looks promising, but I’m a bit on the fence for what I should go for. Any suggestion is highly appreciated
2019-03-06T01:12:16.751900
Conchita
pythondev_help_Conchita_2019-03-06T01:12:16.751900
1,551,834,736.7519
12,331
pythondev
help
Hey ladies/gents, I am in need for some guidance. I managed to get into a top tech company without a formal cs degree. There are gaps in my knowledge since I learned what I needed at the time. I want to really get the gist of python and master it on aws. I have done multiple fundamentals courses and have the basics down and have some understanding on complicated stuff but leveraging google based searches for each issue. How to do I take it up to next level, creating a webalp with flask and communication with aws via boto3. My question is what should I do to take it to next level in a more organized learning strategy rather then picking up tools here and there just to get the task at hand accomplices. Any course or boot camp? I’m in devops so I won’t be building full fledge web apps so though flask ? How should I proceed ?
2019-03-06T02:20:33.760500
Cody
pythondev_help_Cody_2019-03-06T02:20:33.760500
1,551,838,833.7605
12,332
pythondev
help
sys.path.append(str(Path(os.getcwd()).parent)) --&gt; this line solved my problem.
2019-03-06T02:49:29.760600
Shirly
pythondev_help_Shirly_2019-03-06T02:49:29.760600
1,551,840,569.7606
12,333
pythondev
help
<@Cody> we have some good resources over there g#learning-resources
2019-03-06T02:52:33.761200
Jimmy
pythondev_help_Jimmy_2019-03-06T02:52:33.761200
1,551,840,753.7612
12,334
pythondev
help
<https://github.com/pyslackers/learning-resources>
2019-03-06T02:52:34.761300
Leana
pythondev_help_Leana_2019-03-06T02:52:34.761300
1,551,840,754.7613
12,335
pythondev
help
<@Conchita> when in doubt choose postgresql. But if you are already hosting on a big cloud like GCP or AWS it's probably easier to use their databases offering
2019-03-06T02:53:26.762400
Jimmy
pythondev_help_Jimmy_2019-03-06T02:53:26.762400
1,551,840,806.7624
12,336
pythondev
help
and I would also advice against storing pdf / word documents in the db. What people usually do is store metadata about the file in the DB and the file itself on the filesystem
2019-03-06T02:53:57.763100
Jimmy
pythondev_help_Jimmy_2019-03-06T02:53:57.763100
1,551,840,837.7631
12,337
pythondev
help
Yes I am on aws, work for them actually
2019-03-06T03:02:58.763600
Cody
pythondev_help_Cody_2019-03-06T03:02:58.763600
1,551,841,378.7636
12,338
pythondev
help
Is there any point I should start first ?
2019-03-06T03:03:54.764000
Cody
pythondev_help_Cody_2019-03-06T03:03:54.764000
1,551,841,434.764
12,339
pythondev
help
None
2019-03-06T04:00:07.765200
Emelia
pythondev_help_Emelia_2019-03-06T04:00:07.765200
1,551,844,807.7652
12,340
pythondev
help
dyld Library not loaded error in macOS Mojave. I am creating .app from python
2019-03-06T04:00:48.766400
Emelia
pythondev_help_Emelia_2019-03-06T04:00:48.766400
1,551,844,848.7664
12,341
pythondev
help
3.6
2019-03-06T04:00:54.766700
Emelia
pythondev_help_Emelia_2019-03-06T04:00:54.766700
1,551,844,854.7667
12,342
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. Two good resources for suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help you work to a solution are: • <https://www.mikeash.com/getting_answers.html> • <https://stackoverflow.com/help/how-to-ask>
2019-03-06T04:34:09.766800
Leana
pythondev_help_Leana_2019-03-06T04:34:09.766800
1,551,846,849.7668
12,343
pythondev
help
well it depends on what topic you want to focus on
2019-03-06T04:34:22.767000
Jimmy
pythondev_help_Jimmy_2019-03-06T04:34:22.767000
1,551,846,862.767
12,344
pythondev
help
Do I still need to close the file after doing `contents = open(fname).read()`?
2019-03-06T06:22:52.768500
Coleen
pythondev_help_Coleen_2019-03-06T06:22:52.768500
1,551,853,372.7685
12,345
pythondev
help
Or does this read the whole contents and closes the file?
2019-03-06T06:23:17.768900
Coleen
pythondev_help_Coleen_2019-03-06T06:23:17.768900
1,551,853,397.7689
12,346
pythondev
help
I believe you have to use `close` but still the best approach is always to use: ``` with open(fname) as _: # etc. ```
2019-03-06T06:42:39.769900
Berenice
pythondev_help_Berenice_2019-03-06T06:42:39.769900
1,551,854,559.7699
12,347
pythondev
help
Just to be clear, it is not strictly necessary to use `close`, the python `gc` should take care of closing it but using `with` is better practice. Quick ref: <https://stackoverflow.com/questions/8011797/open-read-and-close-a-file-in-1-line-of-code>
2019-03-06T06:44:05.770800
Berenice
pythondev_help_Berenice_2019-03-06T06:44:05.770800
1,551,854,645.7708
12,348
pythondev
help
Hi...is there a way to iterate over all combinations of elements from multiple lists, without using multiple for loops?
2019-03-06T06:51:34.771700
Angele
pythondev_help_Angele_2019-03-06T06:51:34.771700
1,551,855,094.7717
12,349
pythondev
help
``` epochs = np.array([4000, 2000, 1000, 500]) learning_rates = np.array([.8, .5, .1, .01]) batch_sizes = np.array([1000, 500, 300]) for e, lr, b in zip(epochs, learning_rates, batch_sizes): print(e, lr,b) ```
2019-03-06T06:52:03.772100
Angele
pythondev_help_Angele_2019-03-06T06:52:03.772100
1,551,855,123.7721
12,350
pythondev
help
The above snippet only takes a 1:1 correspondence
2019-03-06T06:53:10.772700
Angele
pythondev_help_Angele_2019-03-06T06:53:10.772700
1,551,855,190.7727
12,351
pythondev
help
What I would like is to print all combinations of (epochs, learning_rates, batch_sizes)
2019-03-06T06:53:48.773500
Angele
pythondev_help_Angele_2019-03-06T06:53:48.773500
1,551,855,228.7735
12,352
pythondev
help
Look at the itertools module
2019-03-06T07:09:21.774000
Jonas
pythondev_help_Jonas_2019-03-06T07:09:21.774000
1,551,856,161.774
12,353
pythondev
help
There is a product method that does what you require
2019-03-06T07:09:41.774600
Jonas
pythondev_help_Jonas_2019-03-06T07:09:41.774600
1,551,856,181.7746
12,354
pythondev
help
or `combinations` if you're looking to avoid dups
2019-03-06T07:12:24.775000
Mica
pythondev_help_Mica_2019-03-06T07:12:24.775000
1,551,856,344.775
12,355
pythondev
help
Yeah, `combinations_with_replacement` in case you need that option
2019-03-06T07:13:27.775700
Kina
pythondev_help_Kina_2019-03-06T07:13:27.775700
1,551,856,407.7757
12,356
pythondev
help
<https://docs.python.org/3.1/library/itertools.html?highlight=combinations>
2019-03-06T07:13:32.775900
Kina
pythondev_help_Kina_2019-03-06T07:13:32.775900
1,551,856,412.7759
12,357
pythondev
help
Thanks. I don't quite get how `combinations` works: When I try the following: ```for e, lr, b in combinations_with_replacement(zip(epochs, learning_rates, batch_sizes), 3): print(e, lr, b) ```
2019-03-06T07:38:42.777200
Angele
pythondev_help_Angele_2019-03-06T07:38:42.777200
1,551,857,922.7772
12,358
pythondev
help
I get duplicate tuples of (e, lr, b)
2019-03-06T07:39:09.777700
Angele
pythondev_help_Angele_2019-03-06T07:39:09.777700
1,551,857,949.7777
12,359
pythondev
help
In my case, I have three iterables as input
2019-03-06T07:40:06.778200
Angele
pythondev_help_Angele_2019-03-06T07:40:06.778200
1,551,858,006.7782
12,360
pythondev
help
Got it to work with itertools.product. Thanks <@Jonas>!
2019-03-06T08:03:00.779100
Angele
pythondev_help_Angele_2019-03-06T08:03:00.779100
1,551,859,380.7791
12,361
pythondev
help
when I use the library `win32` to send an outlook email it always stores it in the outbox and doesn't actually send the email until I open outlook by myself. Is there a way to overcome this?
2019-03-06T10:52:20.782200
Arturo
pythondev_help_Arturo_2019-03-06T10:52:20.782200
1,551,869,540.7822
12,362
pythondev
help
Hi all, I have a problem running test on Jenkins in 4 separate process (`-n 4`). What happens is that test in one of the processes doesn't delete it's data from database and then test in another process fails because that data is there. Did anyone have a same problem and do you have any recommendation how to fix it? Thanks in advance.
2019-03-06T10:55:48.782500
Minna
pythondev_help_Minna_2019-03-06T10:55:48.782500
1,551,869,748.7825
12,363
pythondev
help
<@Arturo> What does your code currently look like?
2019-03-06T10:57:37.783000
Marth
pythondev_help_Marth_2019-03-06T10:57:37.783000
1,551,869,857.783
12,364
pythondev
help
Hello there. Guys is there any solution for this? Here i have a code that checks value in list, but i want this list `outputted_keys` to be changed to dict. Is there some way to do `update` on dict from range? Nothing comes to my mind :smile: <https://github.com/pavell-hyuna/applied-python/blob/master/homeworks/grep/grep.py#L32>
2019-03-06T11:05:10.785700
Gema
pythondev_help_Gema_2019-03-06T11:05:10.785700
1,551,870,310.7857
12,365
pythondev
help
``` ol = win32.com.client.Dispatch('outlook.application') mail = ol.CreateItem(0) <http://mail.To|mail.To> = user_email mail.Subject = "Sub" mail.Body = "some text" mail.Send() ``` <@Marth> this is what is currently does
2019-03-06T11:06:06.786900
Arturo
pythondev_help_Arturo_2019-03-06T11:06:06.786900
1,551,870,366.7869
12,366
pythondev
help
for example I just sent one now, and nothing is received in the `user_email` inbox. But now as soon as I open outlook, it either sends it from the outbox or prompts me for "need password" but I thought it is meant to handle that on its own
2019-03-06T11:08:02.788600
Arturo
pythondev_help_Arturo_2019-03-06T11:08:02.788600
1,551,870,482.7886
12,367
pythondev
help
mm .. if you are running tests in parallel against the same db, even if first test would delete its data, you most likely could face problems... Maybe running the tests within transactions might help. Or just isolate the database for each test process into separate instances.
2019-03-06T11:08:31.788700
Eric
pythondev_help_Eric_2019-03-06T11:08:31.788700
1,551,870,511.7887
12,368
pythondev
help
it’s like create new list from range but check if some keys from this range was used before
2019-03-06T11:08:33.788900
Gema
pythondev_help_Gema_2019-03-06T11:08:33.788900
1,551,870,513.7889
12,369
pythondev
help
I wonder if there's a way to trigger "Send/Receive" ?
2019-03-06T11:10:18.789400
Marth
pythondev_help_Marth_2019-03-06T11:10:18.789400
1,551,870,618.7894
12,370
pythondev
help
<@Eric> Do you know to make each process have it's own db?
2019-03-06T11:10:30.789500
Minna
pythondev_help_Minna_2019-03-06T11:10:30.789500
1,551,870,630.7895
12,371
pythondev
help
if it prompts for the password maybe it doesn't send because it needs credentials
2019-03-06T11:11:07.790000
Jimmy
pythondev_help_Jimmy_2019-03-06T11:11:07.790000
1,551,870,667.79
12,372
pythondev
help
You can use a dictionary comprehension
2019-03-06T11:11:12.790100
Lillia
pythondev_help_Lillia_2019-03-06T11:11:12.790100
1,551,870,672.7901
12,373
pythondev
help
set up 4 different databases and pass each test setup a individual connection url ?
2019-03-06T11:11:16.790300
Eric
pythondev_help_Eric_2019-03-06T11:11:16.790300
1,551,870,676.7903
12,374
pythondev
help
that's a good point too <@Jimmy>
2019-03-06T11:12:04.790900
Marth
pythondev_help_Marth_2019-03-06T11:12:04.790900
1,551,870,724.7909
12,375
pythondev
help
I thought it was the case that it just sends it
2019-03-06T11:12:10.791000
Arturo
pythondev_help_Arturo_2019-03-06T11:12:10.791000
1,551,870,730.791
12,376
pythondev
help
but I get what you mean
2019-03-06T11:12:32.791600
Arturo
pythondev_help_Arturo_2019-03-06T11:12:32.791600
1,551,870,752.7916
12,377
pythondev
help
is there a way to pass crendentials too?
2019-03-06T11:13:27.792200
Arturo
pythondev_help_Arturo_2019-03-06T11:13:27.792200
1,551,870,807.7922
12,378
pythondev
help
<@Lillia> I need to do comprehension but serveral times, like `update` does it. Because it will overwrite it each time. Now I just extend my list with keys, so no keys will be lost. Or there is some way to do it with dict comprehension?
2019-03-06T11:13:39.792300
Gema
pythondev_help_Gema_2019-03-06T11:13:39.792300
1,551,870,819.7923
12,379
pythondev
help
no idea
2019-03-06T11:13:53.792500
Jimmy
pythondev_help_Jimmy_2019-03-06T11:13:53.792500
1,551,870,833.7925
12,380
pythondev
help
do you need to send the email from the user address ? it might be easier to connect to the company smtp relay with `<mailto:[email protected]|[email protected]>` address
2019-03-06T11:14:27.793400
Jimmy
pythondev_help_Jimmy_2019-03-06T11:14:27.793400
1,551,870,867.7934
12,381
pythondev
help
sadly I don't know either. I've done some credential passing in powershell, but haven't gotten there with python yet
2019-03-06T11:14:28.793500
Marth
pythondev_help_Marth_2019-03-06T11:14:28.793500
1,551,870,868.7935
12,382
pythondev
help
So you can use `setdefault` to avoid overwriting existing keys, or just `if key not in d:`
2019-03-06T11:15:29.793600
Lillia
pythondev_help_Lillia_2019-03-06T11:15:29.793600
1,551,870,929.7936
12,383
pythondev
help
One sec let me write up a snippet
2019-03-06T11:16:00.794400
Lillia
pythondev_help_Lillia_2019-03-06T11:16:00.794400
1,551,870,960.7944
12,384
pythondev
help
I need to reply to the senders address but we have to use outlook
2019-03-06T11:16:28.794900
Arturo
pythondev_help_Arturo_2019-03-06T11:16:28.794900
1,551,870,988.7949
12,385
pythondev
help
think I figured a way
2019-03-06T11:17:18.795100
Arturo
pythondev_help_Arturo_2019-03-06T11:17:18.795100
1,551,871,038.7951
12,386
pythondev
help
well report back shortly!
2019-03-06T11:17:27.795400
Arturo
pythondev_help_Arturo_2019-03-06T11:17:27.795400
1,551,871,047.7954
12,387
pythondev
help
but depending on the db itself and the business logic, using transactions/rollbacks should be good approach to isolate tests.
2019-03-06T11:19:39.795500
Eric
pythondev_help_Eric_2019-03-06T11:19:39.795500
1,551,871,179.7955
12,388
pythondev
help
Does anyone know why a script like this wouldn't return all the lines in a file that ends with the word 'endpoints.txt'? I keep getting a single letter result although I'm working with multiple '...endpoints.txt files' that have lots of lines
2019-03-06T11:36:02.797600
Granville
pythondev_help_Granville_2019-03-06T11:36:02.797600
1,551,872,162.7976
12,389
pythondev
help
`return lines` ends the function
2019-03-06T11:37:05.798100
Lillia
pythondev_help_Lillia_2019-03-06T11:37:05.798100
1,551,872,225.7981
12,390
pythondev
help
ohh, good call
2019-03-06T11:37:27.798400
Granville
pythondev_help_Granville_2019-03-06T11:37:27.798400
1,551,872,247.7984
12,391
pythondev
help
Also you need to iterate over the lines in the opened file, not `file_name`
2019-03-06T11:38:10.798900
Lillia
pythondev_help_Lillia_2019-03-06T11:38:10.798900
1,551,872,290.7989
12,392
pythondev
help
You're just returning the first letter in `file_name`
2019-03-06T11:38:27.799400
Lillia
pythondev_help_Lillia_2019-03-06T11:38:27.799400
1,551,872,307.7994
12,393
pythondev
help
Anyone have a resource on a more detailed doc for winreg?
2019-03-06T12:13:47.800700
Nieves
pythondev_help_Nieves_2019-03-06T12:13:47.800700
1,551,874,427.8007
12,394
pythondev
help
hey folks, i have 2 funcs, parent and a child, child raises and exception, i want to catch it and handle it on the parent, any stackoverflow links. Thanks again
2019-03-06T13:03:58.802800
Nena
pythondev_help_Nena_2019-03-06T13:03:58.802800
1,551,877,438.8028
12,395
pythondev
help
Threads?
2019-03-06T13:04:16.803000
Nieves
pythondev_help_Nieves_2019-03-06T13:04:16.803000
1,551,877,456.803
12,396
pythondev
help
nope
2019-03-06T13:04:20.803200
Nena
pythondev_help_Nena_2019-03-06T13:04:20.803200
1,551,877,460.8032
12,397
pythondev
help
Oh. Didn’t read carefully.
2019-03-06T13:04:36.803500
Nieves
pythondev_help_Nieves_2019-03-06T13:04:36.803500
1,551,877,476.8035
12,398
pythondev
help
If the child raises the exception it'll go up the stack until caught
2019-03-06T13:04:53.803900
Lillia
pythondev_help_Lillia_2019-03-06T13:04:53.803900
1,551,877,493.8039
12,399
pythondev
help
so how do i catch it on the parent, just the keyword is helpful, i will google it
2019-03-06T13:05:49.804500
Nena
pythondev_help_Nena_2019-03-06T13:05:49.804500
1,551,877,549.8045
12,400
pythondev
help
Try/except?
2019-03-06T13:06:03.804800
Lillia
pythondev_help_Lillia_2019-03-06T13:06:03.804800
1,551,877,563.8048
12,401
pythondev
help
None
2019-03-06T13:08:34.805100
Nena
pythondev_help_Nena_2019-03-06T13:08:34.805100
1,551,877,714.8051
12,402
pythondev
help
Gotcha
2019-03-06T13:09:12.805700
Lillia
pythondev_help_Lillia_2019-03-06T13:09:12.805700
1,551,877,752.8057
12,403
pythondev
help
Are you intentionally catching all exceptions and raising a specific one in `func2`?
2019-03-06T13:09:35.806600
Lillia
pythondev_help_Lillia_2019-03-06T13:09:35.806600
1,551,877,775.8066
12,404
pythondev
help
yup
2019-03-06T13:09:47.807000
Nena
pythondev_help_Nena_2019-03-06T13:09:47.807000
1,551,877,787.807
12,405
pythondev
help
Ok then you can `except some_exception_type:` and the parent will only catch that exception type
2019-03-06T13:10:12.807700
Lillia
pythondev_help_Lillia_2019-03-06T13:10:12.807700
1,551,877,812.8077
12,406
pythondev
help
Whatever type `some_exception` is
2019-03-06T13:10:38.808200
Lillia
pythondev_help_Lillia_2019-03-06T13:10:38.808200
1,551,877,838.8082
12,407
pythondev
help
okay <@Lillia> thanks again, let me try that out.
2019-03-06T13:10:57.808500
Nena
pythondev_help_Nena_2019-03-06T13:10:57.808500
1,551,877,857.8085
12,408
pythondev
help
Hello all. I wanted to know what is better to use if I'm starting out writing a command line interface in Python: `argparse` or `click`. If there is a suggestion that is neither of these two, it is also welcome. :slightly_smiling_face: Edit: It's for interacting with the News API: <https://newsapi.org/>
2019-03-06T13:12:55.809000
Jamey
pythondev_help_Jamey_2019-03-06T13:12:55.809000
1,551,877,975.809
12,409
pythondev
help
I like click but it's also an extra thing to install. `argparse` is just fine unless you're making something complex.
2019-03-06T13:14:32.809300
Lillia
pythondev_help_Lillia_2019-03-06T13:14:32.809300
1,551,878,072.8093
12,410
pythondev
help
It's a command line client to access a news API.
2019-03-06T13:18:39.809500
Jamey
pythondev_help_Jamey_2019-03-06T13:18:39.809500
1,551,878,319.8095
12,411
pythondev
help
Go with click then; it'll be more maintainable over time.
2019-03-06T13:20:43.809800
Lillia
pythondev_help_Lillia_2019-03-06T13:20:43.809800
1,551,878,443.8098
12,412
pythondev
help
Thanks <@Lillia> :taco:
2019-03-06T13:21:28.810000
Jamey
pythondev_help_Jamey_2019-03-06T13:21:28.810000
1,551,878,488.81
12,413
pythondev
help
Yw!
2019-03-06T13:25:43.810200
Lillia
pythondev_help_Lillia_2019-03-06T13:25:43.810200
1,551,878,743.8102
12,414
pythondev
help
Rando questions. Though im trying to implement something from a C# that uses the `ref` keyword. Which basically allows the value to be passed by reference so that all functions are working with the last modified value thru different functions/scopes. So Python doesnt have this, so Ive opted to use the variable in a `list()` and pass the list around in functions.....and it seems to mostly work fine? Although, Im having an issue that i havent been able to debug fully yet. Though im just curious, if there were known caveats that may cause it not to work as I expect?
2019-03-06T13:34:47.815100
Magan
pythondev_help_Magan_2019-03-06T13:34:47.815100
1,551,879,287.8151
12,415
pythondev
help
You should read about mutable and immutable types in Python. tl;dr immutable types are always by value and mutable types are always by reference. That's not quite how it works in Python but it's analogous to other languages.
2019-03-06T13:38:10.815200
Lillia
pythondev_help_Lillia_2019-03-06T13:38:10.815200
1,551,879,490.8152
12,416
pythondev
help
hi there , is there any way to compair
2019-03-06T14:09:13.816000
Carin
pythondev_help_Carin_2019-03-06T14:09:13.816000
1,551,881,353.816
12,417
pythondev
help
compare the content of a folder with another folder
2019-03-06T14:10:09.816700
Carin
pythondev_help_Carin_2019-03-06T14:10:09.816700
1,551,881,409.8167
12,418
pythondev
help
thank you
2019-03-06T14:10:17.817100
Carin
pythondev_help_Carin_2019-03-06T14:10:17.817100
1,551,881,417.8171
12,419
pythondev
help
file system folders?
2019-03-06T14:10:35.817600
Jenice
pythondev_help_Jenice_2019-03-06T14:10:35.817600
1,551,881,435.8176
12,420