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 | by using PySimpleGUI i am able to display the selected pdf. | 2019-01-30T02:29:28.206700 | Riva | pythondev_help_Riva_2019-01-30T02:29:28.206700 | 1,548,815,368.2067 | 5,321 |
pythondev | help | But i want to display the list of pages in sidebar | 2019-01-30T02:30:43.207600 | Riva | pythondev_help_Riva_2019-01-30T02:30:43.207600 | 1,548,815,443.2076 | 5,322 |
pythondev | help | <@Nenita> Any luck with your SSH endeavours? The answer i posted should help you. With SSH you log in to the windows machine so even the linux to windows examples are valid - you are running the actual commands on the windows machine. You say that opening a folder does not work but SSH is not a GUI enabled system by de... | 2019-01-30T02:32:17.209100 | Leida | pythondev_help_Leida_2019-01-30T02:32:17.209100 | 1,548,815,537.2091 | 5,323 |
pythondev | help | Ok thank you | 2019-01-30T02:34:44.209400 | Riva | pythondev_help_Riva_2019-01-30T02:34:44.209400 | 1,548,815,684.2094 | 5,324 |
pythondev | help | how is it going with your piece of code? | 2019-01-30T02:35:12.209500 | Leida | pythondev_help_Leida_2019-01-30T02:35:12.209500 | 1,548,815,712.2095 | 5,325 |
pythondev | help | <@Riva> Here's some sample code you can use in your underlying PDF manipulation. | 2019-01-30T02:44:07.210400 | Carmen | pythondev_help_Carmen_2019-01-30T02:44:07.210400 | 1,548,816,247.2104 | 5,326 |
pythondev | help | Thank you but i want to display on windows application by using GUI .This i already tried. | 2019-01-30T05:38:08.212000 | Riva | pythondev_help_Riva_2019-01-30T05:38:08.212000 | 1,548,826,688.212 | 5,327 |
pythondev | help | hi <@Shena> Do you already have a working application with python gui? | 2019-01-30T05:40:02.213100 | Elene | pythondev_help_Elene_2019-01-30T05:40:02.213100 | 1,548,826,802.2131 | 5,328 |
pythondev | help | If you want to display list of pages as in previews in your sidebar then you'll probably need something like thumbnails which can be scrolled through | 2019-01-30T05:43:18.214200 | Elene | pythondev_help_Elene_2019-01-30T05:43:18.214200 | 1,548,826,998.2142 | 5,329 |
pythondev | help | So I have my main python file `main.py` which needs to import a module, `module.py`, located under `modules/module.py`. How can I do that? | 2019-01-30T06:00:13.217800 | Coleen | pythondev_help_Coleen_2019-01-30T06:00:13.217800 | 1,548,828,013.2178 | 5,330 |
pythondev | help | Create file `modules/__init__.py`
Then you should be able to do `import module` in your `main.py` file | 2019-01-30T06:03:41.219300 | Wilhelmina | pythondev_help_Wilhelmina_2019-01-30T06:03:41.219300 | 1,548,828,221.2193 | 5,331 |
pythondev | help | Just make an empty file called `__init__.py` there? | 2019-01-30T06:04:57.219700 | Coleen | pythondev_help_Coleen_2019-01-30T06:04:57.219700 | 1,548,828,297.2197 | 5,332 |
pythondev | help | Empty will do just for it to be a "module" dir.
More info for example here `<https://stackoverflow.com/questions/4383571/importing-files-from-different-folder>` | 2019-01-30T06:06:05.220000 | Wilhelmina | pythondev_help_Wilhelmina_2019-01-30T06:06:05.220000 | 1,548,828,365.22 | 5,333 |
pythondev | help | so do i `import modules.module` after creating init there? | 2019-01-30T06:12:02.220500 | Coleen | pythondev_help_Coleen_2019-01-30T06:12:02.220500 | 1,548,828,722.2205 | 5,334 |
pythondev | help | or just `import module` | 2019-01-30T06:12:11.220700 | Coleen | pythondev_help_Coleen_2019-01-30T06:12:11.220700 | 1,548,828,731.2207 | 5,335 |
pythondev | help | ```
project
└── app
├── modules
│ ├── __init__.py
│ └── module.py
└── main.py```
In `main.py` I'd need to add `import modules.module` | 2019-01-30T06:21:35.221000 | Wilhelmina | pythondev_help_Wilhelmina_2019-01-30T06:21:35.221000 | 1,548,829,295.221 | 5,336 |
pythondev | help | awesome, thanks! | 2019-01-30T06:23:12.221200 | Coleen | pythondev_help_Coleen_2019-01-30T06:23:12.221200 | 1,548,829,392.2212 | 5,337 |
pythondev | help | There are other ways so to accomplish this, as with sys paths etc, but this is the simplest one by far imho. | 2019-01-30T06:23:30.221400 | Wilhelmina | pythondev_help_Wilhelmina_2019-01-30T06:23:30.221400 | 1,548,829,410.2214 | 5,338 |
pythondev | help | Your import statement depends on the location of the file where you are importing it. | 2019-01-30T06:25:09.221600 | Malika | pythondev_help_Malika_2019-01-30T06:25:09.221600 | 1,548,829,509.2216 | 5,339 |
pythondev | help | Guys, how remove these reversed backlashes from url? | 2019-01-30T07:01:25.222200 | Jolanda | pythondev_help_Jolanda_2019-01-30T07:01:25.222200 | 1,548,831,685.2222 | 5,340 |
pythondev | help | None | 2019-01-30T07:01:35.222300 | Jolanda | pythondev_help_Jolanda_2019-01-30T07:01:35.222300 | 1,548,831,695.2223 | 5,341 |
pythondev | help | try string.replace(“\”,“”) | 2019-01-30T07:06:01.222600 | Malika | pythondev_help_Malika_2019-01-30T07:06:01.222600 | 1,548,831,961.2226 | 5,342 |
pythondev | help | How did you make that string in the first place? | 2019-01-30T07:09:28.223500 | Hiroko | pythondev_help_Hiroko_2019-01-30T07:09:28.223500 | 1,548,832,168.2235 | 5,343 |
pythondev | help | I scraped from the site | 2019-01-30T07:09:45.223800 | Jolanda | pythondev_help_Jolanda_2019-01-30T07:09:45.223800 | 1,548,832,185.2238 | 5,344 |
pythondev | help | Solved with: re.sub(r'\"',r'',re.sub(r'\\', r'', url)) | 2019-01-30T07:27:54.223900 | Jolanda | pythondev_help_Jolanda_2019-01-30T07:27:54.223900 | 1,548,833,274.2239 | 5,345 |
pythondev | help | I suspect that will be _extremely_ brittle… Are you scraping it from a JSON source? Looks valid to me, and Python itself: ```>>> import json
>>> x = u'\\"https:\\/\\/imoveissaojose.com\\/imovel\\/venda-apartamento-almirante_tamandare_pr-lamenha_pequena-Web-Imoveis\\/1914623\\/4\\"'
>>> json.l... | 2019-01-30T07:51:19.224300 | Melynda | pythondev_help_Melynda_2019-01-30T07:51:19.224300 | 1,548,834,679.2243 | 5,346 |
pythondev | help | Need some advice on this. I have a table that stores user events e.g. event_id = 0 might be an entry and event_id = 1 might be an exit.
I was wondering how best in sqlalchemy to prevent duplicate inserts based on the last event id when working with time. e.g. exit can come after entry but no 2 exits in a row or no 2 e... | 2019-01-30T08:27:56.224700 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T08:27:56.224700 | 1,548,836,876.2247 | 5,347 |
pythondev | help | <@Jacelyn> hey sean, is there a reason you don't have unique timestamps? | 2019-01-30T08:53:25.227400 | Elene | pythondev_help_Elene_2019-01-30T08:53:25.227400 | 1,548,838,405.2274 | 5,348 |
pythondev | help | I use timestamps and events using timescale db extension on postgres, where the table has a unique constraint on (timestamp, event_id).
Then a simple insert statement works fine for me, you can use insert on conflict do nothing and it will skip those entries | 2019-01-30T08:55:17.229400 | Elene | pythondev_help_Elene_2019-01-30T08:55:17.229400 | 1,548,838,517.2294 | 5,349 |
pythondev | help | No, is pure html, you approach is a better solution, less complex, less code. Thanks <@Melynda> | 2019-01-30T08:56:03.229600 | Jolanda | pythondev_help_Jolanda_2019-01-30T08:56:03.229600 | 1,548,838,563.2296 | 5,350 |
pythondev | help | I think you can even do that here, if you add a unique constraint on `time,user_id,event_id` | 2019-01-30T08:58:24.232200 | Elene | pythondev_help_Elene_2019-01-30T08:58:24.232200 | 1,548,838,704.2322 | 5,351 |
pythondev | help | <@Elene> yeah you’re right! I need to introduce a unique constraint. | 2019-01-30T08:58:36.232400 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T08:58:36.232400 | 1,548,838,716.2324 | 5,352 |
pythondev | help | <http://www.postgresqltutorial.com/postgresql-upsert/> | 2019-01-30T08:59:01.233200 | Elene | pythondev_help_Elene_2019-01-30T08:59:01.233200 | 1,548,838,741.2332 | 5,353 |
pythondev | help | Checkout the do nothing statement, it can even help with upserts | 2019-01-30T08:59:20.233800 | Elene | pythondev_help_Elene_2019-01-30T08:59:20.233800 | 1,548,838,760.2338 | 5,354 |
pythondev | help | <@Elene> awesome, thanks for your help! | 2019-01-30T09:00:48.234700 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:00:48.234700 | 1,548,838,848.2347 | 5,355 |
pythondev | help | Cheers :beers: | 2019-01-30T09:01:05.235000 | Elene | pythondev_help_Elene_2019-01-30T09:01:05.235000 | 1,548,838,865.235 | 5,356 |
pythondev | help | <@Elene> just following up on this, the unique constraint would prevent duplicate events being inserted at the same time, correct? | 2019-01-30T09:03:38.235900 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:03:38.235900 | 1,548,839,018.2359 | 5,357 |
pythondev | help | <@Elene> what about in the scenario that a duplicate event happens a millisecond later, i don’t think a unique constraint would catch that? | 2019-01-30T09:04:41.236800 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:04:41.236800 | 1,548,839,081.2368 | 5,358 |
pythondev | help | <@Elene> the event_id isn’t unique itself, it could be in the table lots of times | 2019-01-30T09:07:42.238300 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:07:42.238300 | 1,548,839,262.2383 | 5,359 |
pythondev | help | <@Jolanda> Are you sure that the backslashes are actually there in the string, as opposed to just a printing artifact from REPL display? | 2019-01-30T09:08:48.239100 | Carmen | pythondev_help_Carmen_2019-01-30T09:08:48.239100 | 1,548,839,328.2391 | 5,360 |
pythondev | help | When you create a unique constraint on 3 columns (time,user_id,event_id) and your timstamp has a unique value then the constraint should catch it | 2019-01-30T09:14:25.239400 | Elene | pythondev_help_Elene_2019-01-30T09:14:25.239400 | 1,548,839,665.2394 | 5,361 |
pythondev | help | Further if you use, insert do nothing then you won't end up with duplicate values in your table | 2019-01-30T09:14:58.239600 | Elene | pythondev_help_Elene_2019-01-30T09:14:58.239600 | 1,548,839,698.2396 | 5,362 |
pythondev | help | Yeah but I’ve seen this happen where the time might be a millisecond later and then in that case it would still insert. | 2019-01-30T09:16:21.239900 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:16:21.239900 | 1,548,839,781.2399 | 5,363 |
pythondev | help | If you're using timestamp with timezone it can be upto microsecond | 2019-01-30T09:16:36.240100 | Elene | pythondev_help_Elene_2019-01-30T09:16:36.240100 | 1,548,839,796.2401 | 5,364 |
pythondev | help | Can you give me an example? of 2 timestamps that are unique upto millseconds? | 2019-01-30T09:17:03.240300 | Elene | pythondev_help_Elene_2019-01-30T09:17:03.240300 | 1,548,839,823.2403 | 5,365 |
pythondev | help | I can check if one is ignored or not | 2019-01-30T09:17:14.240500 | Elene | pythondev_help_Elene_2019-01-30T09:17:14.240500 | 1,548,839,834.2405 | 5,366 |
pythondev | help | Is it the same as the bad table example? | 2019-01-30T09:17:38.240700 | Elene | pythondev_help_Elene_2019-01-30T09:17:38.240700 | 1,548,839,858.2407 | 5,367 |
pythondev | help | Yeah it’d be the same as that. | 2019-01-30T09:17:46.240900 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:17:46.240900 | 1,548,839,866.2409 | 5,368 |
pythondev | help | So can you specify the unique precision on a timestamp? | 2019-01-30T09:17:56.241100 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:17:56.241100 | 1,548,839,876.2411 | 5,369 |
pythondev | help | i have a unique string and wat to convert it to a unique INT to put away. no need to be crypto | 2019-01-30T09:18:23.241800 | Bernita | pythondev_help_Bernita_2019-01-30T09:18:23.241800 | 1,548,839,903.2418 | 5,370 |
pythondev | help | what would be the way to go? | 2019-01-30T09:18:27.242100 | Bernita | pythondev_help_Bernita_2019-01-30T09:18:27.242100 | 1,548,839,907.2421 | 5,371 |
pythondev | help | <https://www.postgresql.org/docs/9.1/datatype-datetime.html> | 2019-01-30T09:18:28.242200 | Elene | pythondev_help_Elene_2019-01-30T09:18:28.242200 | 1,548,839,908.2422 | 5,372 |
pythondev | help | I currently have a setup for user events and i haven't ended up with a duplicate value yet | 2019-01-30T09:19:08.242400 | Elene | pythondev_help_Elene_2019-01-30T09:19:08.242400 | 1,548,839,948.2424 | 5,373 |
pythondev | help | so you need to convert a string to int? i don't understand the unique part | 2019-01-30T09:19:57.242700 | Elene | pythondev_help_Elene_2019-01-30T09:19:57.242700 | 1,548,839,997.2427 | 5,374 |
pythondev | help | well with every scrape I have a title. with this title I want to make a unique ID | 2019-01-30T09:20:27.242900 | Bernita | pythondev_help_Bernita_2019-01-30T09:20:27.242900 | 1,548,840,027.2429 | 5,375 |
pythondev | help | since an int is way faster to put away in sql | 2019-01-30T09:20:36.243100 | Bernita | pythondev_help_Bernita_2019-01-30T09:20:36.243100 | 1,548,840,036.2431 | 5,376 |
pythondev | help | so `" this is a title"`, and when I hash it to an int will be `"34504038584"` (example) | 2019-01-30T09:21:06.243300 | Bernita | pythondev_help_Bernita_2019-01-30T09:21:06.243300 | 1,548,840,066.2433 | 5,377 |
pythondev | help | why not make a hash? | 2019-01-30T09:22:01.243600 | Hiroko | pythondev_help_Hiroko_2019-01-30T09:22:01.243600 | 1,548,840,121.2436 | 5,378 |
pythondev | help | that’ll be fast, with low collision probability | 2019-01-30T09:22:36.243900 | Hiroko | pythondev_help_Hiroko_2019-01-30T09:22:36.243900 | 1,548,840,156.2439 | 5,379 |
pythondev | help | <@Hiroko> and ofcourse python gots a function `hash()`. did not know about it | 2019-01-30T09:23:31.244100 | Bernita | pythondev_help_Bernita_2019-01-30T09:23:31.244100 | 1,548,840,211.2441 | 5,380 |
pythondev | help | thanks | 2019-01-30T09:23:32.244300 | Bernita | pythondev_help_Bernita_2019-01-30T09:23:32.244300 | 1,548,840,212.2443 | 5,381 |
pythondev | help | yeah, that’s whats used for dicts | 2019-01-30T09:24:56.244500 | Hiroko | pythondev_help_Hiroko_2019-01-30T09:24:56.244500 | 1,548,840,296.2445 | 5,382 |
pythondev | help | sometimes you’ll come across “object is not hashable” errors | 2019-01-30T09:25:07.244700 | Hiroko | pythondev_help_Hiroko_2019-01-30T09:25:07.244700 | 1,548,840,307.2447 | 5,383 |
pythondev | help | it will be titles from ebay. all string | 2019-01-30T09:26:22.244900 | Bernita | pythondev_help_Bernita_2019-01-30T09:26:22.244900 | 1,548,840,382.2449 | 5,384 |
pythondev | help | ```
create table unique_event_issue(
event_time timestamp,
event_user int,
event_id int,
unique(event_time,event_user,event_id)
)
``` | 2019-01-30T09:31:25.245100 | Elene | pythondev_help_Elene_2019-01-30T09:31:25.245100 | 1,548,840,685.2451 | 5,385 |
pythondev | help | ```
insert into unique_event_issue(event_time,event_user,event_id) values ('2019-01-22 07:18:20.498533',1,1)
on conflict (event_time,event_user,event_id)
do nothing
``` | 2019-01-30T09:31:47.245300 | Elene | pythondev_help_Elene_2019-01-30T09:31:47.245300 | 1,548,840,707.2453 | 5,386 |
pythondev | help | Run the insert twice, the next time 0 values are inserted | 2019-01-30T09:32:12.245500 | Elene | pythondev_help_Elene_2019-01-30T09:32:12.245500 | 1,548,840,732.2455 | 5,387 |
pythondev | help | Without on conflict do nothing | 2019-01-30T09:32:42.245700 | Elene | pythondev_help_Elene_2019-01-30T09:32:42.245700 | 1,548,840,762.2457 | 5,388 |
pythondev | help | with on conflict do nothing | 2019-01-30T09:33:08.246100 | Elene | pythondev_help_Elene_2019-01-30T09:33:08.246100 | 1,548,840,788.2461 | 5,389 |
pythondev | help | Hope this helps | 2019-01-30T09:33:13.246500 | Elene | pythondev_help_Elene_2019-01-30T09:33:13.246500 | 1,548,840,793.2465 | 5,390 |
pythondev | help | What happens if you run this on your table?
```
insert into unique_event_issue(event_time,event_user,event_id) values ('2019-01-22 07:18:20.598533',1,1)
on conflict (event_time,event_user,event_id)
do nothing
``` | 2019-01-30T09:42:56.246700 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T09:42:56.246700 | 1,548,841,376.2467 | 5,391 |
pythondev | help | I thought eBay already had a unique ID for each listing. | 2019-01-30T09:44:59.246900 | Carmen | pythondev_help_Carmen_2019-01-30T09:44:59.246900 | 1,548,841,499.2469 | 5,392 |
pythondev | help | Yeah, so looking at a few examples randomly grabbed from the site, the URL has an ID in the path, and that's sufficient for pulling up the listing, so it's their unique identifier for the listing. | 2019-01-30T09:47:53.247100 | Carmen | pythondev_help_Carmen_2019-01-30T09:47:53.247100 | 1,548,841,673.2471 | 5,393 |
pythondev | help | Example: <https://www.ebay.com/itm/Samsung-M393B2G70AH0-YH9-16Gb-2Rx4-PC3L-10600R-DDR3-1333MHz-ECC-Server-Memory/192805094956?hash=item2ce414462c:g:CpQAAOSw~sJcJp3R> | 2019-01-30T09:47:57.247300 | Carmen | pythondev_help_Carmen_2019-01-30T09:47:57.247300 | 1,548,841,677.2473 | 5,394 |
pythondev | help | If you remove the hash query parameter, no harm no foul. | 2019-01-30T09:48:38.247700 | Carmen | pythondev_help_Carmen_2019-01-30T09:48:38.247700 | 1,548,841,718.2477 | 5,395 |
pythondev | help | If you remove the `Samsung-M393B2G70AH0-YH9-16Gb-2Rx4-PC3L-10600R-DDR3-1333MHz-ECC-Server-Memory/` portion, it still loads the listing. | 2019-01-30T09:49:06.247900 | Carmen | pythondev_help_Carmen_2019-01-30T09:49:06.247900 | 1,548,841,746.2479 | 5,396 |
pythondev | help | But if you remove the `/192805094956` portion, it fails to find the listing. | 2019-01-30T09:49:35.248100 | Carmen | pythondev_help_Carmen_2019-01-30T09:49:35.248100 | 1,548,841,775.2481 | 5,397 |
pythondev | help | Of course, if you *only* have the titles, and you don't have access to the URLs, that doesn't really help much, and you're back to hashing. | 2019-01-30T09:50:48.248300 | Carmen | pythondev_help_Carmen_2019-01-30T09:50:48.248300 | 1,548,841,848.2483 | 5,398 |
pythondev | help | I have 2 entries, but that’s because the timestamps are unique, if you wish you can completely ignore the milliseconds | 2019-01-30T09:51:38.248500 | Elene | pythondev_help_Elene_2019-01-30T09:51:38.248500 | 1,548,841,898.2485 | 5,399 |
pythondev | help | ```
create table unique_event_issue2(
event_time timestamp(0),
event_user int,
event_id int,
unique(event_time,event_user,event_id)
)
``` | 2019-01-30T09:52:06.248700 | Elene | pythondev_help_Elene_2019-01-30T09:52:06.248700 | 1,548,841,926.2487 | 5,400 |
pythondev | help | `timestamp(0)` ignores the milliseconds completely, | 2019-01-30T09:52:38.248900 | Elene | pythondev_help_Elene_2019-01-30T09:52:38.248900 | 1,548,841,958.2489 | 5,401 |
pythondev | help | for the better part it rounds them up, if you insert it with milliseconds | 2019-01-30T09:53:19.249100 | Elene | pythondev_help_Elene_2019-01-30T09:53:19.249100 | 1,548,841,999.2491 | 5,402 |
pythondev | help | <@Carmen> how I scrape now is that i dont dive into each ad | 2019-01-30T09:55:11.249400 | Bernita | pythondev_help_Bernita_2019-01-30T09:55:11.249400 | 1,548,842,111.2494 | 5,403 |
pythondev | help | this is superfast, but does not give my unique stuff since i dont request and dive | 2019-01-30T09:55:37.249600 | Bernita | pythondev_help_Bernita_2019-01-30T09:55:37.249600 | 1,548,842,137.2496 | 5,404 |
pythondev | help | You shouldn't need to dive into the ad itself to pull the URL. Wherever you're scraping the title from should also have the URL. | 2019-01-30T09:56:23.249800 | Carmen | pythondev_help_Carmen_2019-01-30T09:56:23.249800 | 1,548,842,183.2498 | 5,405 |
pythondev | help | Oke, your right. I see it now in the html | 2019-01-30T09:58:07.250000 | Bernita | pythondev_help_Bernita_2019-01-30T09:58:07.250000 | 1,548,842,287.25 | 5,406 |
pythondev | help | hashing the title is what i was doing now. but this could skip the hash step | 2019-01-30T09:58:23.250200 | Bernita | pythondev_help_Bernita_2019-01-30T09:58:23.250200 | 1,548,842,303.2502 | 5,407 |
pythondev | help | Perfect - that along with the unique constraint is what I require - many thanks for your help, much appreciated :grinning: | 2019-01-30T10:01:08.250900 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T10:01:08.250900 | 1,548,842,468.2509 | 5,408 |
pythondev | help | Happy to help, just a suggestion though, using pure sql expressions is supported in sql alchemy and should be used whenever possible, makes things much easier and if you’re dealing with event data a lot give <http://timescale.com|timescale.com> a try, its a time-series extension for postgres. your queries will be much ... | 2019-01-30T10:07:37.251100 | Elene | pythondev_help_Elene_2019-01-30T10:07:37.251100 | 1,548,842,857.2511 | 5,409 |
pythondev | help | Will check this out - thanks for the advice, owe you a :coffee: or :beers:! | 2019-01-30T10:15:44.251400 | Jacelyn | pythondev_help_Jacelyn_2019-01-30T10:15:44.251400 | 1,548,843,344.2514 | 5,410 |
pythondev | help | And it also guarantees you uniqueness, which is what you really care about. | 2019-01-30T10:16:11.251600 | Carmen | pythondev_help_Carmen_2019-01-30T10:16:11.251600 | 1,548,843,371.2516 | 5,411 |
pythondev | help | Hello everyone. I'm new here and also a bit of a newbie to coding in general. I'm wondering if anyone can help me with my project.
I'm trying to run my first website using Flask and storing user information with Flask-sqlalchemy.
When I run my script the website works perfectly fine. The user can go to the correct pa... | 2019-01-30T10:27:11.252600 | Randal | pythondev_help_Randal_2019-01-30T10:27:11.252600 | 1,548,844,031.2526 | 5,412 |
pythondev | help | Not appearing in directory folder on the left hand side in pycharm when script it run | 2019-01-30T10:28:35.252900 | Randal | pythondev_help_Randal_2019-01-30T10:28:35.252900 | 1,548,844,115.2529 | 5,413 |
pythondev | help | This is a common issue with PyCharm | 2019-01-30T10:29:26.253300 | Jonas | pythondev_help_Jonas_2019-01-30T10:29:26.253300 | 1,548,844,166.2533 | 5,414 |
pythondev | help | when you run your app it is likely running it in a different directory. If you select the 'website' run from the top-right dropdown and edit it | 2019-01-30T10:29:52.253900 | Jonas | pythondev_help_Jonas_2019-01-30T10:29:52.253900 | 1,548,844,192.2539 | 5,415 |
pythondev | help | check the `working directory` option and ensure it is pointing to the path of your project | 2019-01-30T10:30:15.254500 | Jonas | pythondev_help_Jonas_2019-01-30T10:30:15.254500 | 1,548,844,215.2545 | 5,416 |
pythondev | help | Yes it is pointing to the correct directory | 2019-01-30T10:32:58.255100 | Randal | pythondev_help_Randal_2019-01-30T10:32:58.255100 | 1,548,844,378.2551 | 5,417 |
pythondev | help | None | 2019-01-30T10:33:43.255200 | Randal | pythondev_help_Randal_2019-01-30T10:33:43.255200 | 1,548,844,423.2552 | 5,418 |
pythondev | help | You may have an extra slash in your path. Try `<sqlite://sqlite.db>`? | 2019-01-30T10:39:42.255900 | Jonas | pythondev_help_Jonas_2019-01-30T10:39:42.255900 | 1,548,844,782.2559 | 5,419 |
pythondev | help | not 100% sure, but it might be creating the file in `/sqlite.db` | 2019-01-30T10:39:59.256200 | Jonas | pythondev_help_Jonas_2019-01-30T10:39:59.256200 | 1,548,844,799.2562 | 5,420 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.