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
Yeah it’s just a ttrigger
2017-09-28T16:58:08.000272
Patty
pythondev_help_Patty_2017-09-28T16:58:08.000272
1,506,617,888.000272
94,903
pythondev
help
You can set a periodic trigger to fire lambdas
2017-09-28T16:58:40.000137
Patty
pythondev_help_Patty_2017-09-28T16:58:40.000137
1,506,617,920.000137
94,904
pythondev
help
I removed my link because I think you can do it in the gui easier
2017-09-28T16:59:26.000101
Mallie
pythondev_help_Mallie_2017-09-28T16:59:26.000101
1,506,617,966.000101
94,905
pythondev
help
yup
2017-09-28T16:59:32.000370
Patty
pythondev_help_Patty_2017-09-28T16:59:32.000370
1,506,617,972.00037
94,906
pythondev
help
and yep <@Mallie> CloudWatch trigger it is, with the expression set to 5 mins in this case
2017-09-28T17:01:00.000244
Patty
pythondev_help_Patty_2017-09-28T17:01:00.000244
1,506,618,060.000244
94,907
pythondev
help
What’s a good way to measure coverage via integration tests ? Anyone got ideas on how to deal with a legacy Django app?
2017-09-28T17:52:34.000493
Simonne
pythondev_help_Simonne_2017-09-28T17:52:34.000493
1,506,621,154.000493
94,908
pythondev
help
I'm not entirely sure you can <@Simonne> - are you meaning "integration tests" via selenium, or something else?
2017-09-28T17:57:12.000236
Beula
pythondev_help_Beula_2017-09-28T17:57:12.000236
1,506,621,432.000236
94,909
pythondev
help
<@Patty> <@Mallie> <@Beula> Thanks! So, I have an AWS account already.. Sounds like "CloudWatch Events" is what I need to research?
2017-09-28T18:21:25.000137
Georgia
pythondev_help_Georgia_2017-09-28T18:21:25.000137
1,506,622,885.000137
94,910
pythondev
help
Yeah, or lambda scheduled job should do it <@Georgia>
2017-09-28T18:22:56.000151
Beula
pythondev_help_Beula_2017-09-28T18:22:56.000151
1,506,622,976.000151
94,911
pythondev
help
Nice! Thanks <@Beula> I also have a Raspberry Pi sitting around somewhere.. might give that a go too
2017-09-28T18:25:09.000286
Georgia
pythondev_help_Georgia_2017-09-28T18:25:09.000286
1,506,623,109.000286
94,912
pythondev
help
<@Georgia> you shouldn't have to get too deep into cloudwatch to do the schedule, you should be able to add the trigger within lambda, that's just the source/type.
2017-09-28T18:36:12.000170
Mallie
pythondev_help_Mallie_2017-09-28T18:36:12.000170
1,506,623,772.00017
94,913
pythondev
help
Just look at your *Triggers*
2017-09-28T18:37:05.000167
Mallie
pythondev_help_Mallie_2017-09-28T18:37:05.000167
1,506,623,825.000167
94,914
pythondev
help
<@Shanae> <#C0LMFRMB5|django> will be able to help :)
2017-09-28T18:47:38.000188
Patty
pythondev_help_Patty_2017-09-28T18:47:38.000188
1,506,624,458.000188
94,915
pythondev
help
<@Georgia> the pi is a great idea too. Either way we’ll be able to help :)
2017-09-28T18:48:28.000170
Patty
pythondev_help_Patty_2017-09-28T18:48:28.000170
1,506,624,508.00017
94,916
pythondev
help
<@Beula> for selenium that is
2017-09-28T20:04:10.000018
Simonne
pythondev_help_Simonne_2017-09-28T20:04:10.000018
1,506,629,050.000018
94,917
pythondev
help
I’m not entirely sure you can, it would be pretty hard to analyze any of the Ui interactions and which python code path it took. Instead you could just test views with various form data inputs (or whatever is appropriate) to make sure the view handles your input as expected. That depends on assuming that the framework does what it claims (which is fairly reasonable, IMO) and that a dev wired the pieces to the Ui properly (a little harder)
2017-09-28T20:07:25.000245
Beula
pythondev_help_Beula_2017-09-28T20:07:25.000245
1,506,629,245.000245
94,918
pythondev
help
Last question of today (I hope)
2017-09-28T20:43:02.000011
Lana
pythondev_help_Lana_2017-09-28T20:43:02.000011
1,506,631,382.000011
94,919
pythondev
help
Is this being "as simple" as Python demands? ``` def addAlumno(self, matricula, nombre, telefono, recargo = 0, observaciones = "Ninguna"): query = "INSERT INTO Alumno VALUES({}, '{}', '{}', {}, '{}')".format(matricula, nombre, telefono, recargo, observaciones) self.c.execute(query) self.conn.commit() ```
2017-09-28T20:43:35.000120
Lana
pythondev_help_Lana_2017-09-28T20:43:35.000120
1,506,631,415.00012
94,920
pythondev
help
I think I can reduce a line, what do you think?
2017-09-28T20:43:48.000095
Lana
pythondev_help_Lana_2017-09-28T20:43:48.000095
1,506,631,428.000095
94,921
pythondev
help
<#C07EFMZ1N|help> wow.. as a newbie to AWS attempting to work with lambda/cloudwatch to execute my python3 code was much harder than expected
2017-09-28T20:58:26.000014
Georgia
pythondev_help_Georgia_2017-09-28T20:58:26.000014
1,506,632,306.000014
94,922
pythondev
help
Aws isn’t the easiest to use a lot of the time, but the service and guarantees are quite good
2017-09-28T21:03:52.000005
Beula
pythondev_help_Beula_2017-09-28T21:03:52.000005
1,506,632,632.000005
94,923
pythondev
help
Sounds like a nice way to break your system's packages. Don't run pip as root.
2017-09-28T21:50:06.000103
Cynthia
pythondev_help_Cynthia_2017-09-28T21:50:06.000103
1,506,635,406.000103
94,924
pythondev
help
It's a lot to be sure
2017-09-28T21:54:32.000155
Mallie
pythondev_help_Mallie_2017-09-28T21:54:32.000155
1,506,635,672.000155
94,925
pythondev
help
Are you sure a release has been published on PyPI with that change? (Also, strictly speaking that python_version restriction is wrong, should be &lt; '3.4')
2017-09-28T21:58:21.000110
Cynthia
pythondev_help_Cynthia_2017-09-28T21:58:21.000110
1,506,635,901.00011
94,926
pythondev
help
Status active, so it may not be shipped yet (I think that would be accepted). So I may have mislead. You may need to do it in a setup.py and conditionally append the requirement on install
2017-09-28T22:03:34.000006
Beula
pythondev_help_Beula_2017-09-28T22:03:34.000006
1,506,636,214.000006
94,927
pythondev
help
<@Cynthia> I thought about that, but since the module doesn't say it support s python3.3, I left it.
2017-09-28T22:44:49.000129
Winnie
pythondev_help_Winnie_2017-09-28T22:44:49.000129
1,506,638,689.000129
94,928
pythondev
help
<@Beula> I don't know how PyPi works. I looked in the tar and found requires.txt doesn't have the condition. Is that an admin specific thing that needs to be changed?
2017-09-28T22:49:16.000204
Winnie
pythondev_help_Winnie_2017-09-28T22:49:16.000204
1,506,638,956.000204
94,929
pythondev
help
<@Lana> you should never ever use string formatting to generate SQL statements. Use <https://docs.python.org/3/library/sqlite3.html#sqlite3.Cursor.execute> with parameters
2017-09-29T00:40:13.000013
Collette
pythondev_help_Collette_2017-09-29T00:40:13.000013
1,506,645,613.000013
94,930
pythondev
help
Trying to figure out how to connect to a remote server via SSH and then upload the contents of a folder. I’m able to connect using pxssh, but it doesn’t seem like that library has the capability to send files. What’s the best way to handle this sort of thing without me having to go typing into terminal every time and upload by hand?
2017-09-29T07:51:03.000299
Zaida
pythondev_help_Zaida_2017-09-29T07:51:03.000299
1,506,671,463.000299
94,931
pythondev
help
filezilla?
2017-09-29T07:54:49.000163
Meg
pythondev_help_Meg_2017-09-29T07:54:49.000163
1,506,671,689.000163
94,932
pythondev
help
use some ftp client
2017-09-29T07:54:57.000147
Meg
pythondev_help_Meg_2017-09-29T07:54:57.000147
1,506,671,697.000147
94,933
pythondev
help
`paramiko`
2017-09-29T07:55:08.000187
Carri
pythondev_help_Carri_2017-09-29T07:55:08.000187
1,506,671,708.000187
94,934
pythondev
help
sftp client, or scp
2017-09-29T07:55:52.000036
Fleta
pythondev_help_Fleta_2017-09-29T07:55:52.000036
1,506,671,752.000036
94,935
pythondev
help
you could also do it with fabric which is pretty easy
2017-09-29T07:56:32.000066
Carri
pythondev_help_Carri_2017-09-29T07:56:32.000066
1,506,671,792.000066
94,936
pythondev
help
in case of sftp you don't need ftp server installed. filezilla can manage sftp connection.
2017-09-29T07:56:39.000176
Fleta
pythondev_help_Fleta_2017-09-29T07:56:39.000176
1,506,671,799.000176
94,937
pythondev
help
<@Meg> I know filezilla the stand alone app - are you saying there’s a filezilla library for python?
2017-09-29T08:35:20.000105
Zaida
pythondev_help_Zaida_2017-09-29T08:35:20.000105
1,506,674,120.000105
94,938
pythondev
help
<@Zaida> no, filezilla is just an alternative suggestion instead of a program.
2017-09-29T08:39:32.000117
Vada
pythondev_help_Vada_2017-09-29T08:39:32.000117
1,506,674,372.000117
94,939
pythondev
help
The problem is you are using SSH
2017-09-29T08:39:37.000512
Vada
pythondev_help_Vada_2017-09-29T08:39:37.000512
1,506,674,377.000512
94,940
pythondev
help
you should be using SFTP (the protocol filezilla uses)
2017-09-29T08:39:51.000206
Vada
pythondev_help_Vada_2017-09-29T08:39:51.000206
1,506,674,391.000206
94,941
pythondev
help
Paramiko is the most popular ssh/sftp lib that I know of
2017-09-29T08:41:11.000387
Vada
pythondev_help_Vada_2017-09-29T08:41:11.000387
1,506,674,471.000387
94,942
pythondev
help
<http://docs.paramiko.org/en/latest/api/sftp.html>
2017-09-29T08:41:12.000115
Vada
pythondev_help_Vada_2017-09-29T08:41:12.000115
1,506,674,472.000115
94,943
pythondev
help
an example usage: <https://stackoverflow.com/a/3635163>
2017-09-29T08:42:40.000026
Vada
pythondev_help_Vada_2017-09-29T08:42:40.000026
1,506,674,560.000026
94,944
pythondev
help
<@Zaida> is the real issue that you want to deploy your app to a server? Or are these just extraneous files to copy to a server?
2017-09-29T08:45:32.000429
Beula
pythondev_help_Beula_2017-09-29T08:45:32.000429
1,506,674,732.000429
94,945
pythondev
help
<@Zaida> Do you need Python for this ? It’s quite easy to automate through just bash scripting (just call scp or rsync with the local and remote folder)
2017-09-29T09:13:29.000074
Belva
pythondev_help_Belva_2017-09-29T09:13:29.000074
1,506,676,409.000074
94,946
pythondev
help
I might not need python for it. This is the series of tasks I have - from a spare laptop, scrape several websites (Can’t figure out how to make this headless as the sites are really complex and need Selenium as far as I can tell) - Upload that data to my remote server where my app is. - Trigger a Django management command that then processes that data and stores it to my database
2017-09-29T09:15:59.000250
Zaida
pythondev_help_Zaida_2017-09-29T09:15:59.000250
1,506,676,559.00025
94,947
pythondev
help
rsync over ssh might be a nice easy way to do it
2017-09-29T09:16:35.000250
Junita
pythondev_help_Junita_2017-09-29T09:16:35.000250
1,506,676,595.00025
94,948
pythondev
help
Hi
2017-09-29T09:17:00.000025
Cassaundra
pythondev_help_Cassaundra_2017-09-29T09:17:00.000025
1,506,676,620.000025
94,949
pythondev
help
Can any1 advise me whats the diff b/w Web Scraping and Web Crawling?
2017-09-29T09:17:35.000180
Cassaundra
pythondev_help_Cassaundra_2017-09-29T09:17:35.000180
1,506,676,655.00018
94,950
pythondev
help
I’m trying to make that all into one script that just loops on a spare laptop. I realize this is a super terrible setup, but it’s just gotta work haha. It’s a small project, not a full development setup or something.
2017-09-29T09:17:37.000386
Zaida
pythondev_help_Zaida_2017-09-29T09:17:37.000386
1,506,676,657.000386
94,951
pythondev
help
tq
2017-09-29T09:17:39.000567
Cassaundra
pythondev_help_Cassaundra_2017-09-29T09:17:39.000567
1,506,676,659.000567
94,952
pythondev
help
Short answer: Web crawling just indexes the information using bots, where as Web scraping aka web data extraction is an automated software technique of extracting information from web. Elaborated answer: Web crawling aka Indexing, is used to index the information on the page using bots also known as crawlers.
2017-09-29T09:18:18.000335
Zaida
pythondev_help_Zaida_2017-09-29T09:18:18.000335
1,506,676,698.000335
94,953
pythondev
help
The latter. Just little csv files that I scrape and need to be uploaded. If I could I’d scrape from my server but try as I might, I can’t get that to work, so this seems like the best holdover until then.
2017-09-29T09:20:05.000301
Zaida
pythondev_help_Zaida_2017-09-29T09:20:05.000301
1,506,676,805.000301
94,954
pythondev
help
typically the former downloads the pages and content to a storage container, where the latter handles parsing and analysis in-memory on the spot
2017-09-29T09:28:49.000295
Meg
pythondev_help_Meg_2017-09-29T09:28:49.000295
1,506,677,329.000295
94,955
pythondev
help
<@Zaida> What “data” is sent ? It looks like it’s more something that could be done with celery + rabbitmq (As the laptop(s) would be the worker(s)
2017-09-29T09:50:55.000391
Belva
pythondev_help_Belva_2017-09-29T09:50:55.000391
1,506,678,655.000391
94,956
pythondev
help
<@Zaida> The simple answer is to only rely on one machine, if I were you I would just set up a cron job to run on the server. You could use AWS lambda to do it even. If you want to just load from where you are at, I would go with <@Junita> 's option of rsync over ssh (<https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh>)
2017-09-29T10:01:07.000272
Beula
pythondev_help_Beula_2017-09-29T10:01:07.000272
1,506,679,267.000272
94,957
pythondev
help
The benefit of rsync is that it only syncs incremental files - so you get a redundancy locally
2017-09-29T10:01:24.000506
Beula
pythondev_help_Beula_2017-09-29T10:01:24.000506
1,506,679,284.000506
94,958
pythondev
help
Oh, yeah, you'll need to change setup.py, I'm pretty sure. There's a couple of different suggested ways of doing that in various docs.
2017-09-29T10:58:03.000710
Cynthia
pythondev_help_Cynthia_2017-09-29T10:58:03.000710
1,506,682,683.00071
94,959
pythondev
help
Thanks for the help, man. When you say “Run a chron job on the server” i assume you mean to do the web scraping? Unfortunately I’ve smashed my head against it but I just can’t get my webscraping to work with my remote server. It’s been a huge sticking point for me, making me spend ~10 minutes a day just to do the web scraping on my machine with Selenium. Part of the issue is the site I’m scraping. No API, and to quote a programmer friend who checked it out: &gt; I don’t see an xml request being made when the export button is clicked so I’m thinking they’re storing the data in cookies via JavaScript and then the export page is reading the cookies on the server side. Or it’s some kind of cool React shit that I don’t know about. So my selenium script has to click through the buttons one at a time and download a CSV from the site. I tried to get it up and going on my ubuntu server, but I couldn’t get firefox up and running well.
2017-09-29T11:02:15.000099
Zaida
pythondev_help_Zaida_2017-09-29T11:02:15.000099
1,506,682,935.000099
94,960
pythondev
help
Oh, my guess is the issue you are seeing is related to not having a "virtual framebuffer" (e.g. the browser needs libs to paint out the screen to work)
2017-09-29T11:03:41.000657
Beula
pythondev_help_Beula_2017-09-29T11:03:41.000657
1,506,683,021.000657
94,961
pythondev
help
Interesting… Honestly it’s been over a year since I’ve tried it, so I don’t even recall the errors I was getting. I might get some time to give it another shot. I think it was something to do with the rendering of images or some kind of color issue, so what you’re saying might be that.
2017-09-29T11:07:45.000552
Zaida
pythondev_help_Zaida_2017-09-29T11:07:45.000552
1,506,683,265.000552
94,962
pythondev
help
about 30 small CSV files. The results of webscraping that (as of now) can only be done from a local machine and not on my server, unfortunately.
2017-09-29T11:12:26.000203
Zaida
pythondev_help_Zaida_2017-09-29T11:12:26.000203
1,506,683,546.000203
94,963
pythondev
help
Chrome now has a headless one specifically built to work well for automated testing (chrome headless) - may be worth taking a look at
2017-09-29T11:13:47.000647
Beula
pythondev_help_Beula_2017-09-29T11:13:47.000647
1,506,683,627.000647
94,964
pythondev
help
this is an on going discussion in another group… but anyone care to help / chime in on what is happening? also have a stranger case that no one else has been able to reproduce… ``` &gt;&gt;&gt; import urllib &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] &gt;&gt;&gt; help(urllib) &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'parse'] &gt;&gt;&gt; help("modules") .... note* removed because this part is way too long .... &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'error', 'parse', 'request', 'response'] ```
2017-09-29T15:11:28.000151
Orpha
pythondev_help_Orpha_2017-09-29T15:11:28.000151
1,506,697,888.000151
94,965
pythondev
help
stranger case: ``` &gt;&gt;&gt; import urllib &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] &gt;&gt;&gt; urllib.parse Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; AttributeError: module 'urllib' has no attribute 'parse' &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'error', 'parse', 'request', 'response']```
2017-09-29T15:12:38.000110
Orpha
pythondev_help_Orpha_2017-09-29T15:12:38.000110
1,506,697,958.00011
94,966
pythondev
help
python version?
2017-09-29T15:14:19.000375
Antionette
pythondev_help_Antionette_2017-09-29T15:14:19.000375
1,506,698,059.000375
94,967
pythondev
help
3.5.1
2017-09-29T15:15:10.000314
Orpha
pythondev_help_Orpha_2017-09-29T15:15:10.000314
1,506,698,110.000314
94,968
pythondev
help
the stranger case… as i said i can’t reproduce, we only have the original person that asked being able to create
2017-09-29T15:16:05.000309
Orpha
pythondev_help_Orpha_2017-09-29T15:16:05.000309
1,506,698,165.000309
94,969
pythondev
help
i’ve been able to mimic what is going on in the stranger case by importing six and calling six.moves.urllib
2017-09-29T15:17:30.000461
Orpha
pythondev_help_Orpha_2017-09-29T15:17:30.000461
1,506,698,250.000461
94,970
pythondev
help
in the first one, im just assuming help() loads everything… the stranger case doesn’t make sense, its like its loading on AttributeError
2017-09-29T15:28:36.000323
Orpha
pythondev_help_Orpha_2017-09-29T15:28:36.000323
1,506,698,916.000323
94,971
pythondev
help
Are you using &lt;Tab&gt; completion at all? I could not reproduce, when doing things simply, e.g. ``` $ python Python 3.7.0a1+ (heads/master-dirty:0e950dd, Sep 26 2017, 07:35:27) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import urllib &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] &gt;&gt;&gt; import six &gt;&gt;&gt; six.moves.urllib &lt;module 'six.moves.urllib' (&lt;six._SixMetaPathImporter object at 0x10fd00390&gt;)&gt; &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] ``` But then trying a tab-completion seems to re-create ``` &gt;&gt;&gt; six.moves.url&lt;Tab&gt; six.moves.urllib ..._error ..._parse ..._robotparser &gt;&gt;&gt; six.moves.urllib &lt;module 'six.moves.urllib' (&lt;six._SixMetaPathImporter object at 0x10fd00390&gt;)&gt; &gt;&gt;&gt; dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'error', 'parse', 'request', 'response', 'robotparser'] ```
2017-09-29T15:28:44.000349
Earline
pythondev_help_Earline_2017-09-29T15:28:44.000349
1,506,698,924.000349
94,972
pythondev
help
^ thats even crazier
2017-09-29T15:29:24.000194
Orpha
pythondev_help_Orpha_2017-09-29T15:29:24.000194
1,506,698,964.000194
94,973
pythondev
help
but for that i’ll have to ask
2017-09-29T15:29:48.000511
Orpha
pythondev_help_Orpha_2017-09-29T15:29:48.000511
1,506,698,988.000511
94,974
pythondev
help
with no tab completion I'm able to recreate the second case
2017-09-29T15:29:52.000443
Antionette
pythondev_help_Antionette_2017-09-29T15:29:52.000443
1,506,698,992.000443
94,975
pythondev
help
on v3.4
2017-09-29T15:29:57.000324
Antionette
pythondev_help_Antionette_2017-09-29T15:29:57.000324
1,506,698,997.000324
94,976
pythondev
help
I think the tab completion and `help()` would have something in common: they would both require a “full” import of the module. (As would <@Antionette>’s example of accessing `urllib.parse`) Although that would suggest that the module in being “lazily” imported at first, which is not something I have heard of before
2017-09-29T15:32:04.000568
Earline
pythondev_help_Earline_2017-09-29T15:32:04.000568
1,506,699,124.000568
94,977
pythondev
help
asked, and the reply was that it didn’t seem to matter
2017-09-29T15:32:22.000571
Orpha
pythondev_help_Orpha_2017-09-29T15:32:22.000571
1,506,699,142.000571
94,978
pythondev
help
im on mac, no tab completion
2017-09-29T15:32:30.000170
Orpha
pythondev_help_Orpha_2017-09-29T15:32:30.000170
1,506,699,150.00017
94,979
pythondev
help
so i can’t test
2017-09-29T15:32:34.000534
Orpha
pythondev_help_Orpha_2017-09-29T15:32:34.000534
1,506,699,154.000534
94,980
pythondev
help
I’m on mac too, have tab completion
2017-09-29T15:32:48.000354
Earline
pythondev_help_Earline_2017-09-29T15:32:48.000354
1,506,699,168.000354
94,981
pythondev
help
weird… i hit tab and it just jumps over
2017-09-29T15:33:02.000173
Orpha
pythondev_help_Orpha_2017-09-29T15:33:02.000173
1,506,699,182.000173
94,982
pythondev
help
<@Antionette> any ideas on what is going on there?
2017-09-29T15:33:41.000309
Orpha
pythondev_help_Orpha_2017-09-29T15:33:41.000309
1,506,699,221.000309
94,983
pythondev
help
Might be different readline libs. I seem to remember getting fussy about that a few months back
2017-09-29T15:33:44.000073
Earline
pythondev_help_Earline_2017-09-29T15:33:44.000073
1,506,699,224.000073
94,984
pythondev
help
yea, just read something about that
2017-09-29T15:33:57.000246
Orpha
pythondev_help_Orpha_2017-09-29T15:33:57.000246
1,506,699,237.000246
94,985
pythondev
help
<@Earline> john’s example is really what were trying to figure out
2017-09-29T15:36:21.000389
Orpha
pythondev_help_Orpha_2017-09-29T15:36:21.000389
1,506,699,381.000389
94,986
pythondev
help
Appreciate that, just thought it interesting that it can be reproduced another way
2017-09-29T15:38:24.000533
Earline
pythondev_help_Earline_2017-09-29T15:38:24.000533
1,506,699,504.000533
94,987
pythondev
help
it matches the behavior described in <https://docs.python.org/3/reference/import.html#submodules> - notably that "For example, if package spam has a submodule foo, after importing spam.foo, spam will have an attribute foo which is bound to the submodule." - implying that if the submodule is not imported there will be no attribute
2017-09-29T15:39:54.000325
Antionette
pythondev_help_Antionette_2017-09-29T15:39:54.000325
1,506,699,594.000325
94,988
pythondev
help
oh no, im definitely interested in different ways to do it… but the core question is what is going on with the loading on attribute error
2017-09-29T15:40:28.000221
Orpha
pythondev_help_Orpha_2017-09-29T15:40:28.000221
1,506,699,628.000221
94,989
pythondev
help
yes, but why is it there after the error?
2017-09-29T15:40:57.000385
Orpha
pythondev_help_Orpha_2017-09-29T15:40:57.000385
1,506,699,657.000385
94,990
pythondev
help
not sure, it has to be that somehow trying to access the attribute causes the submodule to load
2017-09-29T15:48:50.000050
Antionette
pythondev_help_Antionette_2017-09-29T15:48:50.000050
1,506,700,130.00005
94,991
pythondev
help
yea
2017-09-29T15:51:32.000135
Orpha
pythondev_help_Orpha_2017-09-29T15:51:32.000135
1,506,700,292.000135
94,992
pythondev
help
just weird that it only happens on some machines / for some people
2017-09-29T15:51:45.000181
Orpha
pythondev_help_Orpha_2017-09-29T15:51:45.000181
1,506,700,305.000181
94,993
pythondev
help
its gotta be some sort of config somewhere, just trying to learn where that is / what it is exactly
2017-09-29T15:52:11.000490
Orpha
pythondev_help_Orpha_2017-09-29T15:52:11.000490
1,506,700,331.00049
94,994
pythondev
help
what version / os are you on?
2017-09-29T15:52:31.000061
Orpha
pythondev_help_Orpha_2017-09-29T15:52:31.000061
1,506,700,351.000061
94,995
pythondev
help
3.4, ubuntu
2017-09-29T15:55:26.000306
Antionette
pythondev_help_Antionette_2017-09-29T15:55:26.000306
1,506,700,526.000306
94,996
pythondev
help
wonder if its a difference between readline and libedit?
2017-09-29T15:55:33.000240
Orpha
pythondev_help_Orpha_2017-09-29T15:55:33.000240
1,506,700,533.00024
94,997
pythondev
help
but thats just for the cli though right?
2017-09-29T15:56:12.000078
Orpha
pythondev_help_Orpha_2017-09-29T15:56:12.000078
1,506,700,572.000078
94,998
pythondev
help
shouldnt make a difference
2017-09-29T15:56:24.000219
Orpha
pythondev_help_Orpha_2017-09-29T15:56:24.000219
1,506,700,584.000219
94,999
pythondev
help
not just for cli
2017-09-29T15:56:49.000538
Antionette
pythondev_help_Antionette_2017-09-29T15:56:49.000538
1,506,700,609.000538
95,000
pythondev
help
meaning it happens whether in cli or from file
2017-09-29T15:57:13.000074
Antionette
pythondev_help_Antionette_2017-09-29T15:57:13.000074
1,506,700,633.000074
95,001
pythondev
help
i know i also cant reproduce on centos
2017-09-29T15:58:25.000394
Orpha
pythondev_help_Orpha_2017-09-29T15:58:25.000394
1,506,700,705.000394
95,002