Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Nameparser - Traceback error
Post: RE: Nameparser - Traceback error
I've tried uninstalling Python. Installing pip nameparser with the new installation of Python as well as the other two modules this file uses. This works on other machines of the same setup (model, OS... |
|
tjnichols |
General Coding Help |
2 |
2,784 |
Feb-28-2020, 04:16 PM |
|
|
Thread: Nameparser - Traceback error
Post: Nameparser - Traceback error
Greetings!
I'm getting the following error when I try to run a python file based on data in an Excel spreadsheet. I have installed the modules under C:\Users\Spec User\.
Traceback (most recent call ... |
|
tjnichols |
General Coding Help |
2 |
2,784 |
Feb-24-2020, 11:29 PM |
|
|
Thread: Step through process
Post: Step through process
Does anyone know of software that would allow me to see what is going on with my code line by line so I can see where it hangs up? What's actually working?
Thanks in advance! |
|
tjnichols |
General Coding Help |
4 |
3,518 |
Dec-10-2018, 11:16 PM |
|
|
Thread: File pointers
Post: RE: File pointers
Ok perfect! That worked! Thank you for your help! |
|
tjnichols |
Web Scraping & Web Development |
2 |
2,978 |
Dec-07-2018, 06:33 PM |
|
|
Thread: File pointers
Post: File pointers
Good morning. I am getting an error telling me BeautifulSoup isn't installed. Yet, I've installed it several times. I'm stuck.
import bs4 BeautifulSoup
import re
WOGCC_API{49005244950000,
4900524500... |
|
tjnichols |
Web Scraping & Web Development |
2 |
2,978 |
Dec-06-2018, 12:48 PM |
|
|
Thread: Bringing two files together
Post: RE: Bringing two files together
nilamo - that did it! THANK YOU!!!
Lars60+ - I would still like to know where you got the code you posted. I understand you wrote it, but I would be very interested to know where you learned.
Thank ... |
|
tjnichols |
Homework |
8 |
3,706 |
Oct-12-2018, 04:57 PM |
|
|
Thread: Bringing two files together
Post: RE: Bringing two files together
Lars60+ - I'm sorry I missed your post.
import a
class B:
def __init__(self):
self.a = a.A()
def bar(self):
print('B.bar')
def bspam(self):
self.a.spam(... |
|
tjnichols |
Homework |
8 |
3,706 |
Oct-12-2018, 03:55 PM |
|
|
Thread: Bringing two files together
Post: RE: Bringing two files together
I must be missing something because I've done as you instructed.
from a import A
class B(A)
def bar(self):
print('B.bar')and this is the error I get. I also tried copying yours - still... |
|
tjnichols |
Homework |
8 |
3,706 |
Oct-12-2018, 02:21 PM |
|
|
Thread: Bringing two files together
Post: Bringing two files together
I have 2 files that I'm trying to join. I've tried this with the files below. I've also tried this with the files provided by the instructor - still no dice. I've set this up in a virtual environment ... |
|
tjnichols |
Homework |
8 |
3,706 |
Oct-12-2018, 11:49 AM |
|
|
Thread: I have no idea
Post: RE: I have no idea
So here is my latest draft:
from bs4 import BeautifulSoup
import requests
import re
apis = ['49005253730000','49005255270000']
def wogcc_completions_scraper():
x = 0
while x < len(apis)... |
|
tjnichols |
Web Scraping & Web Development |
3 |
3,053 |
Oct-07-2018, 04:00 PM |
|
|
Thread: I have no idea
Post: I have no idea
Ok - I'm trying (and failing) to write my version of what I want my download file to obtain completion files from our oil and gas commission. I admit it's very much cobbled together. Its a mashup betw... |
|
tjnichols |
Web Scraping & Web Development |
3 |
3,053 |
Oct-05-2018, 05:01 PM |
|
|
Thread: Traceback error
Post: RE: Traceback error
Now that is REALLY COOL! Thank you! That went further than the YouTube video I've been watching.
Thanks again! |
|
tjnichols |
Homework |
8 |
4,776 |
Sep-26-2018, 07:13 PM |
|
|
Thread: Traceback error
Post: RE: Traceback error
Both of you - thank you for your help!
icabod801 - thank you for pointing that out. I should have caught that!
ThiefOfTime - thank you. Both of these possibilities seemed to work in that they proces... |
|
tjnichols |
Homework |
8 |
4,776 |
Sep-26-2018, 05:10 PM |
|
|
Thread: Traceback error
Post: RE: Traceback error
Ok - cool - I've made the changes you've suggested. Now I'm getting another error.
My code for students: I've tried changing 'students' with 'student' and either way I get this error. I am using PyCh... |
|
tjnichols |
Homework |
8 |
4,776 |
Sep-26-2018, 02:40 PM |
|
|
Thread: Traceback error
Post: Traceback error
I'm trying to import a class into another Python file. The previous example I have for this is something that Larz60+ built for me but he didn't set it up this way.
In any event, this is what I'm fac... |
|
tjnichols |
Homework |
8 |
4,776 |
Sep-26-2018, 12:51 PM |
|
|
Thread: Traceback error
Post: RE: Traceback error
Ok - I'm trying to append the records to the file and it works with the code I provided. It just had the traceback error. As it turns out - I shouldn't have had the print command where it was. It work... |
|
tjnichols |
Homework |
3 |
3,050 |
Sep-24-2018, 07:18 PM |
|
|
Thread: Traceback error
Post: Traceback error
This runs, as in it appends the file. The problem is I get this traceback error and I don't know why.
employee_file = open("Employees.txt", "a")
employee_file.write("\nToby - Human resources")
emplo... |
|
tjnichols |
Homework |
3 |
3,050 |
Sep-24-2018, 04:44 PM |
|
|
Thread: Setting up virtual environment
Post: RE: Setting up virtual environment
Ok - I'm working on my own version. I've completed my 'rush' project so this is a perfect time to do it. Currently, I'm simply working on a wish list!
Thank you for your support! |
|
tjnichols |
Web Scraping & Web Development |
6 |
4,329 |
Sep-18-2018, 05:18 PM |
|
|
Thread: Setting up virtual environment
Post: RE: Setting up virtual environment
Ok - I'm on page 16 of the 'Python Packaging User Guide'. I used DOS to do the command 'pip install --user pipenv'. It seemed to run OK as in I had no errors but I didn't see anything either. The thin... |
|
tjnichols |
Web Scraping & Web Development |
6 |
4,329 |
Sep-13-2018, 03:04 PM |
|
|
Thread: Setting up virtual environment
Post: RE: Setting up virtual environment
Ok - I have my new virtual environment setup. How do I setup my Python project? Is there a special way to run it? I simply copied my folder into my new virtualenv folder. I'm still getting the same er... |
|
tjnichols |
Web Scraping & Web Development |
6 |
4,329 |
Sep-12-2018, 10:05 PM |