Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Condensed sqlite tutorial (riff on sebastian raschka's) - part 1
Post: Condensed sqlite tutorial (riff on sebastian rasch...

This is part 1 of a tutorial on sqlite3 (part of the standard library and widely used). Sebastian Saschka wrote the original in 2014 and can be found here. For this 'series' I've incorporated python...
mepyyeti Tutorial Requests and Submissions 0 3,056 Apr-30-2018, 06:12 AM
    Thread: populating csv and searching the file
Post: populating csv and searching the file

So this has been a long term project I can't seem to crack. I've decided to post the problem start from the initial 'bad' function, then the traceback. Finally the whole code. I hope isolating the...
mepyyeti General Coding Help 1 2,999 Apr-26-2018, 01:44 AM
    Thread: quick deep learning sim...
Post: quick deep learning sim...

on github So this code is the result of an after class 'discussion' with a prof. Can AI (already devolved into 'deep-learning') escape the Turing test constraints (not pass, mind u lol)? I say no, ...
mepyyeti Code sharing 1 2,976 Apr-19-2018, 11:44 PM
    Thread: for loop and list populating
Post: for loop and list populating

Ok I built a very basic caesar wheel...(w/out modules/classes). There was more trial/error than I care to admit **tongue** . But, I came across something I couldn't figure out. Here is the relevant ...
mepyyeti General Coding Help 3 3,518 Apr-12-2018, 01:23 AM
    Thread: a rudimentary caesar wheel
Post: a rudimentary caesar wheel

so this is a rudimentary caesar wheel built 'from the ground up'. No classes, functions, or imported modules (other than random from the std lib). It proved significantly more time consuming and dif...
mepyyeti Code sharing 1 2,887 Apr-12-2018, 01:14 AM
    Thread: MASH -- terminal based
Post: MASH -- terminal based

a simple mash game...it should work. source is on github I did run into trouble/difficulty with mainly lns 79-87...pls feel free to streamline (?) #unable to find better alternative to 'eliminate'...
mepyyeti Code sharing 0 2,600 Apr-08-2018, 04:51 AM
    Thread: user defined list-based calculator
Post: user defined list-based calculator

Just a simple, strange calc...basic functions.I haven't taken it for a spin as yet, but it is simple... Pt of it is to use reduce() and lambda since its pretty much the only function that can't easily...
mepyyeti Code sharing 1 2,710 Mar-31-2018, 02:05 PM
    Thread: What Is Best/Easiest IDE To Install?
Post: RE: What Is Best/Easiest IDE To Install?

If you're a beginner I suggest Geany and/or Atom. Geany is fairly simple (f5) saves/runs active tab. It will automatically run script in a terminal. And Geany is pretty light. Atom (from Atom.io) ...
mepyyeti Bar 12 6,485 Mar-26-2018, 03:53 AM
    Thread: csv.reader vs csv.dictReader
Post: RE: csv.reader vs csv.dictReader

(Mar-19-2018, 06:52 AM)mepyyeti Wrote: readme = csv.DictReader(openme, delimiter='-')#this refuses to work...it simply reprint my 'fieldnames' So the line above won't work b/c I'm missing fieldnames...
mepyyeti General Coding Help 3 21,011 Mar-19-2018, 09:55 PM
    Thread: csv.reader vs csv.dictReader
Post: csv.reader vs csv.dictReader

I'm having a lot of difficulty understanding the difference between csv.reader and csv.dictReader. The Python docs didn't shed much light for me on this point... Basically when would I elect to use c...
mepyyeti General Coding Help 3 21,011 Mar-19-2018, 06:52 AM
    Thread: GITHUB help -- pls
Post: RE: GITHUB help -- pls

(Mar-17-2018, 11:43 PM)metulburr Wrote: Local is your computer. That's what I figured. It seems 2.14, which i have, is the latest stable version EDIT: apparently I needed to update to 2.16 Seems ...
mepyyeti News and Discussions 6 4,368 Mar-18-2018, 01:09 AM
    Thread: GITHUB help -- pls
Post: RE: GITHUB help -- pls

(Mar-17-2018, 11:31 PM)metulburr Wrote: It looks like your local is not up to date with the repo. Did you change something on the site? You need to do a git pull to update your local, then change yo...
mepyyeti News and Discussions 6 4,368 Mar-17-2018, 11:38 PM
    Thread: GITHUB help -- pls
Post: GITHUB help -- pls

This board seemed the appropriate place to post this. I figured to throw up some of (working) python script on github (git version 2.14 on my linux). I set up an acct AND base repository (just the...
mepyyeti News and Discussions 6 4,368 Mar-17-2018, 11:04 PM
    Thread: PDF page extractor
Post: PDF page extractor

Hi - This script allows you to extract any range(s) of pages from a pdf file into a new pdf. Feedback is deeply deeply appreciated...plagiarism even more so!!! **lol** **lol** #!usr/bin/env pyt...
mepyyeti Code sharing 0 2,022 Mar-17-2018, 09:23 PM
    Thread: PyPDF2 script problem
Post: EXTRACT pdf PAGES into NEW pdf file

Just a script that extracts full PAGES from a pdf and creates a new pdf file from the extraction. It uses PyPDF2. import PyPDF2, os from functools import partial def my_user_input(question, type, ...
mepyyeti General Coding Help 7 5,237 Mar-13-2018, 03:42 AM
    Thread: PyPDF2 script problem
Post: RE: PyPDF2 script problem

Except I'm trying to extract whole pages from pdf into 1 separate pdf file. I love the use of re in your referenced code...very handy indeed. Unfortunately, it is also a bit above my pay grade (but ...
mepyyeti General Coding Help 7 5,237 Mar-13-2018, 03:37 AM
    Thread: PyPDF2 script problem
Post: PyPDF2 script problem

So I wrote this up. It should work but it doesn't. I have labeled my questions (A) and (B) as comments in the script? I feel the logic is correct...yet the script falls apart... Intent: script is ...
mepyyeti General Coding Help 7 5,237 Mar-13-2018, 12:18 AM
    Thread: desktop icon for python app
Post: desktop icon for python app

This is a step-by-step tutorial to place an icon on your desktop that enables you to open a python app, run on your terminal, through a picture icon. I decided to set this up because I wanted a way t...
mepyyeti Tutorial Requests and Submissions 0 2,453 Mar-11-2018, 11:02 PM
    Thread: pricing app (technically it estimates home prices but it is tweakable)
Post: pricing app (technically it estimates home prices ...

Here's a piece I wrote up a while back. Been wanting to post it. Haven't really had the chance... It basically estimates what a reasonable home price is. Figured it was a decent application of code. ...
mepyyeti Code sharing 0 1,931 Mar-11-2018, 10:10 PM
    Thread: lambda v list comp
Post: RE: lambda v list comp

(Mar-10-2018, 09:35 PM)buran Wrote: (Mar-10-2018, 08:56 PM)mepyyeti Wrote: spaces v tabsthere is no such thing as spaces vs. tabs PEP8 is pretty clear on the subject - spaces https://www.python.or...
mepyyeti News and Discussions 5 4,402 Mar-11-2018, 09:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020