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 | Then yeah, you could potentially implement the entire thing in a single Python file. | 2019-02-09T13:48:05.449900 | Carmen | pythondev_help_Carmen_2019-02-09T13:48:05.449900 | 1,549,720,085.4499 | 7,421 |
pythondev | help | thank you | 2019-02-09T13:57:18.450600 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:57:18.450600 | 1,549,720,638.4506 | 7,422 |
pythondev | help | <@Deangelo> if you're interested in having async, you can make your own pretty easily with aiohttp or quart | 2019-02-09T14:10:22.452400 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:10:22.452400 | 1,549,721,422.4524 | 7,423 |
pythondev | help | Quart is basically flask on asyncio | 2019-02-09T14:10:38.452800 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:10:38.452800 | 1,549,721,438.4528 | 7,424 |
pythondev | help | thanks <@Hiroko> I'm currently looking at integrating a swagger generator and either flask or falcon using the generated client to implement the api endpoints | 2019-02-09T14:18:49.453900 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:18:49.453900 | 1,549,721,929.4539 | 7,425 |
pythondev | help | reason I pointed out async is you described your desires as
>just a plain rest interface to do some calcs, call another service and return back numbers | 2019-02-09T14:19:38.454300 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:19:38.454300 | 1,549,721,978.4543 | 7,426 |
pythondev | help | which, to me, means lots of blocking actions | 2019-02-09T14:19:46.454600 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:19:46.454600 | 1,549,721,986.4546 | 7,427 |
pythondev | help | if you’re able to do them concurrently, means better workload overall and more efficiency | 2019-02-09T14:20:11.455100 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:20:11.455100 | 1,549,722,011.4551 | 7,428 |
pythondev | help | that's a good point. I'm surprised python can do async. does it implement an event loop to achieve this? | 2019-02-09T14:22:08.456300 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:22:08.456300 | 1,549,722,128.4563 | 7,429 |
pythondev | help | yes | 2019-02-09T14:22:22.456500 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:22:22.456500 | 1,549,722,142.4565 | 7,430 |
pythondev | help | but unlike node, python has multithreading and multiprocessing | 2019-02-09T14:22:39.457000 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:22:39.457000 | 1,549,722,159.457 | 7,431 |
pythondev | help | so you can kick off the compute intensive futures to threads and processes to execute | 2019-02-09T14:22:59.457600 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:22:59.457600 | 1,549,722,179.4576 | 7,432 |
pythondev | help | whereas with node, you’re all single threaded in the event loop, which means if you’re doing compute with IO returns, that’s clogging up the event loop | 2019-02-09T14:23:25.458500 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:23:25.458500 | 1,549,722,205.4585 | 7,433 |
pythondev | help | Threading can be a bit tricky though, as technically python itself is single threaded | 2019-02-09T14:26:36.459600 | Jonas | pythondev_help_Jonas_2019-02-09T14:26:36.459600 | 1,549,722,396.4596 | 7,434 |
pythondev | help | correct. but you can also set it up so one asyncio event loop exists per thread | 2019-02-09T14:27:08.461200 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:27:08.461200 | 1,549,722,428.4612 | 7,435 |
pythondev | help | <https://stackoverflow.com/questions/52298922/how-do-i-set-the-asyncio-event-loop-for-a-thread-in-python/52301233#52301233> | 2019-02-09T14:27:09.461400 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:27:09.461400 | 1,549,722,429.4614 | 7,436 |
pythondev | help | So you need to be somewhat careful about what you offload to a thread, if it calls a C function that doesn't release the GIL then bad things can happen | 2019-02-09T14:27:13.461700 | Jonas | pythondev_help_Jonas_2019-02-09T14:27:13.461700 | 1,549,722,433.4617 | 7,437 |
pythondev | help | :point_up: | 2019-02-09T14:27:36.462300 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:27:36.462300 | 1,549,722,456.4623 | 7,438 |
pythondev | help | as always, there’s no silver bullet. there’s always caveats and edge cases | 2019-02-09T14:27:53.462900 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:27:53.462900 | 1,549,722,473.4629 | 7,439 |
pythondev | help | so this looks like something you can easily introduce to an existing flask application, or does it have to be setup when creating the project? | 2019-02-09T14:30:00.464300 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:30:00.464300 | 1,549,722,600.4643 | 7,440 |
pythondev | help | check out <https://github.com/pgjones/quart> | 2019-02-09T14:31:00.465700 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:31:00.465700 | 1,549,722,660.4657 | 7,441 |
pythondev | help | I was just looking there | 2019-02-09T14:31:34.466100 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:31:34.466100 | 1,549,722,694.4661 | 7,442 |
pythondev | help | it's not usually something you can just plug into an existing app | 2019-02-09T14:31:47.466700 | Jonas | pythondev_help_Jonas_2019-02-09T14:31:47.466700 | 1,549,722,707.4667 | 7,443 |
pythondev | help | you'd need to make big changes to how it works. For example, you can't do `requests.get()` in the service | 2019-02-09T14:32:07.467200 | Jonas | pythondev_help_Jonas_2019-02-09T14:32:07.467200 | 1,549,722,727.4672 | 7,444 |
pythondev | help | if you're interacting with a database, that needs to be changed | 2019-02-09T14:32:15.467500 | Jonas | pythondev_help_Jonas_2019-02-09T14:32:15.467500 | 1,549,722,735.4675 | 7,445 |
pythondev | help | it's well worth it though. 90+% of the time spent in a flask app is just networking stuff: redis, the database, receiving/reading the response | 2019-02-09T14:32:53.468200 | Jonas | pythondev_help_Jonas_2019-02-09T14:32:53.468200 | 1,549,722,773.4682 | 7,446 |
pythondev | help | > It should be possible to migrate to Quart from Flask by a find and replace of flask to quart and then adding async and await keywords. See the docs for full details. | 2019-02-09T14:33:39.468600 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:33:39.468600 | 1,549,722,819.4686 | 7,447 |
pythondev | help | FWIW, Quart is the Flask API ported to use asyncio and aiohttp | 2019-02-09T14:34:02.469100 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:34:02.469100 | 1,549,722,842.4691 | 7,448 |
pythondev | help | <https://pgjones.gitlab.io/quart/flask_migration.html> | 2019-02-09T14:34:02.469200 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:34:02.469200 | 1,549,722,842.4692 | 7,449 |
pythondev | help | I personally have issues with Flask architecture, including the use of globals | 2019-02-09T14:34:31.469800 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:34:31.469800 | 1,549,722,871.4698 | 7,450 |
pythondev | help | so for me, it made more sense to build with aiohttp. | 2019-02-09T14:34:44.470200 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:34:44.470200 | 1,549,722,884.4702 | 7,451 |
pythondev | help | also, aiohttp is compatible with uwsgi, whereas quart will need to use uvloop, Daphene, or another ASGI compatible server | 2019-02-09T14:35:20.471000 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:35:20.471000 | 1,549,722,920.471 | 7,452 |
pythondev | help | ^ | 2019-02-09T14:37:09.471600 | Jonas | pythondev_help_Jonas_2019-02-09T14:37:09.471600 | 1,549,723,029.4716 | 7,453 |
pythondev | help | is there a project boilerplate with quart and a hello world endpoint? | 2019-02-09T14:37:16.471900 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:37:16.471900 | 1,549,723,036.4719 | 7,454 |
pythondev | help | the globals always smelled weird to me. I get that it looks nice in a small, 1 file app | 2019-02-09T14:37:29.472400 | Jonas | pythondev_help_Jonas_2019-02-09T14:37:29.472400 | 1,549,723,049.4724 | 7,455 |
pythondev | help | but ergh, it's really too magical | 2019-02-09T14:37:41.472900 | Jonas | pythondev_help_Jonas_2019-02-09T14:37:41.472900 | 1,549,723,061.4729 | 7,456 |
pythondev | help | That flask migration page is really way to short | 2019-02-09T14:38:19.473200 | Jonas | pythondev_help_Jonas_2019-02-09T14:38:19.473200 | 1,549,723,099.4732 | 7,457 |
pythondev | help | for a hello-world "read a response, output a template" app sure, but for any flask app that does _anything_, it will need more work than is described there | 2019-02-09T14:38:56.473900 | Jonas | pythondev_help_Jonas_2019-02-09T14:38:56.473900 | 1,549,723,136.4739 | 7,458 |
pythondev | help | <@Jonas> :+1: | 2019-02-09T14:40:03.474000 | Corey | pythondev_help_Corey_2019-02-09T14:40:03.474000 | 1,549,723,203.474 | 7,459 |
pythondev | help | That's why I picked Sanic- replace the globals with function arguments, which made me happy | 2019-02-09T14:46:30.474600 | Selene | pythondev_help_Selene_2019-02-09T14:46:30.474600 | 1,549,723,590.4746 | 7,460 |
pythondev | help | Of course, the use case for my async app is pretty low surface, so can't really speak on whether it was a good choice or not haha | 2019-02-09T14:46:58.475200 | Selene | pythondev_help_Selene_2019-02-09T14:46:58.475200 | 1,549,723,618.4752 | 7,461 |
pythondev | help | there was an interesting breakdown about sanic on reddit abut 8 months or so ago | 2019-02-09T14:48:47.475600 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:48:47.475600 | 1,549,723,727.4756 | 7,462 |
pythondev | help | basically, the premise was that its fail fast tendency and speed of breaking changes increased the instability of apps built on it | 2019-02-09T14:49:23.476400 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:49:23.476400 | 1,549,723,763.4764 | 7,463 |
pythondev | help | Yeah, I could see that, although it's still like 0.3 or something, right :slightly_smiling_face: weird to complain too much about that | 2019-02-09T14:50:08.478000 | Selene | pythondev_help_Selene_2019-02-09T14:50:08.478000 | 1,549,723,808.478 | 7,464 |
pythondev | help | ah, here we go. <https://www.reddit.com/r/Python/comments/876msl/sanic_python_web_server_thats_written_to_die_fast/>
written by the author of aiohttp | 2019-02-09T14:50:12.478300 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:50:12.478300 | 1,549,723,812.4783 | 7,465 |
pythondev | help | dumb question: what's the relationship between quart and this: <https://docs.aiohttp.org/en/stable/web.html> | 2019-02-09T14:50:22.478800 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:50:22.478800 | 1,549,723,822.4788 | 7,466 |
pythondev | help | but there’s also no mention of aiohttp, just a critique | 2019-02-09T14:50:25.479000 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:50:25.479000 | 1,549,723,825.479 | 7,467 |
pythondev | help | <@Deangelo> its effectively flask + aiohttp | 2019-02-09T14:50:38.479500 | Hiroko | pythondev_help_Hiroko_2019-02-09T14:50:38.479500 | 1,549,723,838.4795 | 7,468 |
pythondev | help | I have issues with the Flask architecture, but honestly I continue to use it because in the end they aren't that large. I'd definitely recommend someone new stick to one of the main offerings like Flask or Django, and not use one of the more niche things. | 2019-02-09T14:50:48.479900 | Karoline | pythondev_help_Karoline_2019-02-09T14:50:48.479900 | 1,549,723,848.4799 | 7,469 |
pythondev | help | the ability to find a million articles describing what you want to do or help here has a lot of value | 2019-02-09T14:51:12.480500 | Karoline | pythondev_help_Karoline_2019-02-09T14:51:12.480500 | 1,549,723,872.4805 | 7,470 |
pythondev | help | ok, thanks | 2019-02-09T14:51:20.480700 | Deangelo | pythondev_help_Deangelo_2019-02-09T14:51:20.480700 | 1,549,723,880.4807 | 7,471 |
pythondev | help | Indeed- async for a web server is in my mind a niche thing if you need to handle some specific use cases. Otherwise, use flask. | 2019-02-09T15:00:39.481300 | Selene | pythondev_help_Selene_2019-02-09T15:00:39.481300 | 1,549,724,439.4813 | 7,472 |
pythondev | help | so I still havent been able to do this. how do I read a text file `f` into a `list` array, where each element on the `list` matches a paragraph that starts with a unique, but same string “^L”? any help would be really appreciated | 2019-02-09T15:08:33.483600 | Alise | pythondev_help_Alise_2019-02-09T15:08:33.483600 | 1,549,724,913.4836 | 7,473 |
pythondev | help | the text file in question | 2019-02-09T15:10:15.483800 | Alise | pythondev_help_Alise_2019-02-09T15:10:15.483800 | 1,549,725,015.4838 | 7,474 |
pythondev | help | I need the paragraph from January 1-January 2 to be one item on the list, and January 2 to January 3 another item, and so on and so forth until the `EOF` | 2019-02-09T15:11:07.484800 | Alise | pythondev_help_Alise_2019-02-09T15:11:07.484800 | 1,549,725,067.4848 | 7,475 |
pythondev | help | Maybe `items = open('filename.txt').read().split('\x0C')`. That'll probably give you a blank entry at the start, but easy to deal with. | 2019-02-09T15:15:14.486300 | Sasha | pythondev_help_Sasha_2019-02-09T15:15:14.486300 | 1,549,725,314.4863 | 7,476 |
pythondev | help | the goal is to ultimately be able to use indexes to manipulate/retrieve each entries | 2019-02-09T15:15:48.486700 | Alise | pythondev_help_Alise_2019-02-09T15:15:48.486700 | 1,549,725,348.4867 | 7,477 |
pythondev | help | let me try :slightly_smiling_face: | 2019-02-09T15:15:57.487000 | Alise | pythondev_help_Alise_2019-02-09T15:15:57.487000 | 1,549,725,357.487 | 7,478 |
pythondev | help | ```python
selenium:~ edur$ python3 sample.py
^LJANUARY 1
"I AM A MIRACLE"
The central fact of our lives today is the absolute certainty
that our Creator has entered into our hearts and lives in a
way which is indeed miraculous. He has commenced to
accomplish those things for us which we could never do by
ourselves.
A... | 2019-02-09T15:18:28.487300 | Alise | pythondev_help_Alise_2019-02-09T15:18:28.487300 | 1,549,725,508.4873 | 7,479 |
pythondev | help | wow that worked :slightly_smiling_face: | 2019-02-09T15:18:30.487500 | Alise | pythondev_help_Alise_2019-02-09T15:18:30.487500 | 1,549,725,510.4875 | 7,480 |
pythondev | help | Cool. I am slightly puzzled by the `^L` in the output there. Is it possible for you to attach the text file (or a section of it) here for me to examine? | 2019-02-09T15:21:29.489300 | Sasha | pythondev_help_Sasha_2019-02-09T15:21:29.489300 | 1,549,725,689.4893 | 7,481 |
pythondev | help | sure | 2019-02-09T15:31:11.489500 | Alise | pythondev_help_Alise_2019-02-09T15:31:11.489500 | 1,549,726,271.4895 | 7,482 |
pythondev | help | None | 2019-02-09T15:31:46.489600 | Alise | pythondev_help_Alise_2019-02-09T15:31:46.489600 | 1,549,726,306.4896 | 7,483 |
pythondev | help | the next goal is to get todays `date`, and compare it to each element in the `list`, and if the element matches todays date, print it. otherwise close the file :slightly_smiling_face: | 2019-02-09T15:32:52.490600 | Alise | pythondev_help_Alise_2019-02-09T15:32:52.490600 | 1,549,726,372.4906 | 7,484 |
pythondev | help | None | 2019-02-09T15:36:24.492000 | Alise | pythondev_help_Alise_2019-02-09T15:36:24.492000 | 1,549,726,584.492 | 7,485 |
pythondev | help | Okay, that explains it. The first entry has a literal `"^L"` at the start for some reason, but all of the others have a linefeed character `"\x0C"` between them. You may just want to edit that first one out if it bothers you. | 2019-02-09T15:36:40.492400 | Sasha | pythondev_help_Sasha_2019-02-09T15:36:40.492400 | 1,549,726,600.4924 | 7,486 |
pythondev | help | ah I see. probably just gibberish when converting from pdf to text.. | 2019-02-09T15:37:26.493300 | Alise | pythondev_help_Alise_2019-02-09T15:37:26.493300 | 1,549,726,646.4933 | 7,487 |
pythondev | help | That could very well be it | 2019-02-09T15:37:50.493900 | Hiroko | pythondev_help_Hiroko_2019-02-09T15:37:50.493900 | 1,549,726,670.4939 | 7,488 |
pythondev | help | Pdf processing is a PITA | 2019-02-09T15:38:10.494300 | Hiroko | pythondev_help_Hiroko_2019-02-09T15:38:10.494300 | 1,549,726,690.4943 | 7,489 |
pythondev | help | it is. luckily with linux, it didnt do as bad a job as I thought. I used `poppler-utils` | 2019-02-09T15:39:03.496200 | Alise | pythondev_help_Alise_2019-02-09T15:39:03.496200 | 1,549,726,743.4962 | 7,490 |
pythondev | help | If you know the layout and its constant, you might be better off using pdfminer or equivalent lib to do the text checking in Python | 2019-02-09T15:39:16.496800 | Hiroko | pythondev_help_Hiroko_2019-02-09T15:39:16.496800 | 1,549,726,756.4968 | 7,491 |
pythondev | help | None | 2019-02-09T16:16:47.497200 | Alise | pythondev_help_Alise_2019-02-09T16:16:47.497200 | 1,549,729,007.4972 | 7,492 |
pythondev | help | couldnt really get it to print based on matching todays date, so used random instead :slightly_smiling_face: | 2019-02-09T16:17:06.497800 | Alise | pythondev_help_Alise_2019-02-09T16:17:06.497800 | 1,549,729,026.4978 | 7,493 |
pythondev | help | ```python
#!/usr/bin/env python3
import os
from datetime import time
from datetime import date
from datetime import datetime
from random import randrange
items = open('alcoholics-anonymous-daily-reflections.txt').read().split('\x0C')
random_index = randrange(len(items))
final_quote = (items[random_index])
render... | 2019-02-09T16:18:15.498200 | Alise | pythondev_help_Alise_2019-02-09T16:18:15.498200 | 1,549,729,095.4982 | 7,494 |
pythondev | help | looks something like this. | 2019-02-09T16:18:19.498400 | Alise | pythondev_help_Alise_2019-02-09T16:18:19.498400 | 1,549,729,099.4984 | 7,495 |
pythondev | help | How do I do recursive regex in python?
``` json_regex = '\{(?:[^{}]|(?R))*\}'
json_strings = re.findall('{((?:[^{}]|(?R))*)}', "test me {'1', '2'}")```
This throws: a {error}unknown extension ?R | 2019-02-09T17:37:28.499800 | Sherman | pythondev_help_Sherman_2019-02-09T17:37:28.499800 | 1,549,733,848.4998 | 7,496 |
pythondev | help | It looks like it's not supported in the built-in `re` module, but there is a `regex` module available which extends the functionality. <https://pypi.org/project/regex/> | 2019-02-09T17:53:12.500800 | Sasha | pythondev_help_Sasha_2019-02-09T17:53:12.500800 | 1,549,734,792.5008 | 7,497 |
pythondev | help | hey guys anyone here work with scrapy and regex? trying to extract something out of the source code of a page with scrapy | 2019-02-09T18:03:49.501400 | Concha | pythondev_help_Concha_2019-02-09T18:03:49.501400 | 1,549,735,429.5014 | 7,498 |
pythondev | help | Are you targeting the html? | 2019-02-09T18:05:01.501800 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:05:01.501800 | 1,549,735,501.5018 | 7,499 |
pythondev | help | here is the source code of the page | 2019-02-09T18:05:31.501900 | Concha | pythondev_help_Concha_2019-02-09T18:05:31.501900 | 1,549,735,531.5019 | 7,500 |
pythondev | help | trying to get the value that's in data-creation-date | 2019-02-09T18:05:49.502400 | Concha | pythondev_help_Concha_2019-02-09T18:05:49.502400 | 1,549,735,549.5024 | 7,501 |
pythondev | help | for example it would be '2018-10-15 11:35:06' | 2019-02-09T18:05:58.502600 | Concha | pythondev_help_Concha_2019-02-09T18:05:58.502600 | 1,549,735,558.5026 | 7,502 |
pythondev | help | response.xpath("//*[contains('data-creation')]") is what i was trying which is obviously wrong | 2019-02-09T18:06:11.503100 | Concha | pythondev_help_Concha_2019-02-09T18:06:11.503100 | 1,549,735,571.5031 | 7,503 |
pythondev | help | My default would be to use beautifulsoup | 2019-02-09T18:06:45.503800 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:06:45.503800 | 1,549,735,605.5038 | 7,504 |
pythondev | help | Also, we have a <#C5PHT9EGK|webscraping> channel here | 2019-02-09T18:06:59.504300 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:06:59.504300 | 1,549,735,619.5043 | 7,505 |
pythondev | help | It’s a little quiet, especially on the weekends but some pretty knowledgeable people are in there | 2019-02-09T18:07:31.505500 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:07:31.505500 | 1,549,735,651.5055 | 7,506 |
pythondev | help | ok yeah i have everything in scrapy right now and this is the only thing i am missing | 2019-02-09T18:07:44.505800 | Concha | pythondev_help_Concha_2019-02-09T18:07:44.505800 | 1,549,735,664.5058 | 7,507 |
pythondev | help | ok let me get in that channel, sorry about that, thanks for your help though | 2019-02-09T18:07:51.506100 | Concha | pythondev_help_Concha_2019-02-09T18:07:51.506100 | 1,549,735,671.5061 | 7,508 |
pythondev | help | thanks <@Carmen>! This SO article seem to be describing solution to a more generic case of building a library with dependencies. In my case I need to create a wheel package in a way that when it's installed on a system with `pip install` it does not try to download anything from the internet | 2019-02-09T18:07:59.506400 | Rubi | pythondev_help_Rubi_2019-02-09T18:07:59.506400 | 1,549,735,679.5064 | 7,509 |
pythondev | help | No worries! | 2019-02-09T18:08:00.506600 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:08:00.506600 | 1,549,735,680.5066 | 7,510 |
pythondev | help | Ive managed to avoid xpath, which is probably both good and bad | 2019-02-09T18:08:33.507600 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:08:33.507600 | 1,549,735,713.5076 | 7,511 |
pythondev | help | So it's describing the general case, but if you read the attached article, it goes into the reasonings behind it. Ultimately, what you're wanting to do is package everything up so it can be installed without an internet connection. The method that answer describes will do that for you. | 2019-02-09T18:12:18.507800 | Carmen | pythondev_help_Carmen_2019-02-09T18:12:18.507800 | 1,549,735,938.5078 | 7,512 |
pythondev | help | You're not going to get a single wheel that has all of the dependencies + your library, but you will get a combined folder that you can transfer over and point pip at to do the install in an offline fashion. | 2019-02-09T18:13:03.508000 | Carmen | pythondev_help_Carmen_2019-02-09T18:13:03.508000 | 1,549,735,983.508 | 7,513 |
pythondev | help | Oh, sorry, should have opened the article! Thanks! | 2019-02-09T18:15:00.508200 | Rubi | pythondev_help_Rubi_2019-02-09T18:15:00.508200 | 1,549,736,100.5082 | 7,514 |
pythondev | help | to me the biggest issue is that wheels are just an archive, and there is no way to add pre-install logic, because `pip install <library.whl>` simply extracts all contents of an archive. Logic for eggs is different though, when pip installs eggs, it also calls `setup.py install`. | 2019-02-09T18:18:53.508400 | Rubi | pythondev_help_Rubi_2019-02-09T18:18:53.508400 | 1,549,736,333.5084 | 7,515 |
pythondev | help | hi all. can anyone help a noob here? | 2019-02-09T18:30:32.509000 | Tisa | pythondev_help_Tisa_2019-02-09T18:30:32.509000 | 1,549,737,032.509 | 7,516 |
pythondev | help | I'm not a in school, but am a self-learner/autodidact. Any help would be nice. | 2019-02-09T18:33:58.510200 | Tisa | pythondev_help_Tisa_2019-02-09T18:33:58.510200 | 1,549,737,238.5102 | 7,517 |
pythondev | help | <@Tisa> what’s the question? | 2019-02-09T18:35:33.510900 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:35:33.510900 | 1,549,737,333.5109 | 7,518 |
pythondev | help | Oh, you want to print to file | 2019-02-09T18:35:55.511400 | Hiroko | pythondev_help_Hiroko_2019-02-09T18:35:55.511400 | 1,549,737,355.5114 | 7,519 |
pythondev | help | Trying to print to a .csv. However, a tough slog. | 2019-02-09T20:06:34.512000 | Tisa | pythondev_help_Tisa_2019-02-09T20:06:34.512000 | 1,549,742,794.512 | 7,520 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.