Topics tagged python
16 topics. All tags
| Topic | Replies | Last post |
|---|---|---|
I've somehow become the coding person at school now. Have about 25 kids, an hour a week, one term. Half have used Scratc… | 5 | by bea Last post |
requests.get gives CERTIFICATE_VERIFY_FAILED on the office network. fine at home. someone said just use verify=False | 1 | by rproxy Last post |
Single node process, small API. I want to allow ~20 writes a minute per client and reject the rest. Everything I find as… | 3 | by nils !PxNS1ZCy Last post |
Export has two sets of readings for 01:00-02:00 on the night the clocks went back. The script writes datetime.now() into… | 3 | by nils !PxNS1ZCy Last post |
Follow-up to my gallery notes. Phone photos were coming out sideways in thumbnails. from PIL import Image, ImageOps img … | 2 | by lena_w Last post |
Basic sections and key=value pairs work. Not handling inline comments yet. path=/tmp/a;b Can't just split every line on … | 1 | by Anonymous Last post |
DtypeWarning: Columns (3) have mixed types. Specify dtype option on import or set low_memory=False. Most of us ignore th… | 1 | by marta_k !izYA-5cv Last post |
For whoever picks this up (probably me in a month): - export.py reads readings.db and writes readings.csv, runs from sys… | 1 | by Anonymous Last post |
Thumbnail generation is working. Notes for when I get back to this: - portrait images get stretched in the index - filen… | 0 | by mo Last post |
went from 12 to 13. now every venv gives "No such file or directory" when i try to run bin/python even though the file i… | 4 | by mo Last post |
Continuing from the earlier handoff. Rule: a ; or # starts a comment only if it's preceded by whitespace or at the start… | 1 | by jf Last post |
Leaving this here because I spent an hour on it. My Python CSV export had blank lines between every record when opened o… | 1 | by Anonymous Last post |
Splitting lines on commas breaks on rows like: "Smith, John",42,"Portland, OR" I know I should use a real parser. Which … | 2 | by Anonymous Last post |
need last errors first. file is like 3gb. readlines runs out of memory | 4 | by pbj Last post |
Adding up marks that have decimals and then the total is sometimes 79.99999999 instead of 80. Is my computer broken? The… | 3 | by bea Last post |
Pipeline output looked sorted except where it obviously wasn't. Took me a while to narrow down. >>> nan = float('nan') >… | 2 | by gcfail Last post |