Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Cannot find py credentials file
Post: RE: Cannot find py credentials file
I have seen the documentation you were referring to. Seems you used the right code. Only thing I would check twice: is that particular file really existing? Or maybe the documentation is referring to ... |
|
Jeff900 |
General Coding Help |
5 |
1,646 |
Feb-25-2023, 08:30 PM |
|
|
Thread: Cannot find py credentials file
Post: RE: Cannot find py credentials file
Did you have a look already at the filename mentioned in the error: C:\\Users\\stand\\PDFExtractTest\\./pdfservices-api-credentials.json
That doesn´t look like a valid filename for Windows. I usually... |
|
Jeff900 |
General Coding Help |
5 |
1,646 |
Feb-22-2023, 07:40 PM |
|
|
Thread: Strange/odd outcome in decimals
Post: RE: Strange/odd outcome in decimals
Quote:In most cases it doesn't matter as it close enough
Yes, in my case too and probably it has never been an issue anyway in my projects. Still good to know, thank you for sharing the links, that c... |
|
Jeff900 |
News and Discussions |
2 |
2,178 |
Dec-27-2021, 12:22 PM |
|
|
Thread: Strange/odd outcome in decimals
Post: Strange/odd outcome in decimals
A few weeks ago I wanted to simply print the outcome of some calculations, just as a reference at that moment. But ever since I am still wondering why some of the results has 16 decimals with the last... |
|
Jeff900 |
News and Discussions |
2 |
2,178 |
Dec-27-2021, 10:30 AM |
|
|
Thread: django - reset password template
Post: RE: django - reset password template
Could be because you are using relative paths somewhere in your code? |
|
Jeff900 |
Web Scraping & Web Development |
2 |
1,999 |
Dec-26-2021, 09:09 PM |
|
|
Thread: now i wish Python had a way to add commands
Post: RE: now i wish Python had a way to add commands
How would you see the concept of adding commands? I was thinking there should be something possible, in a not so elegant way.
def random():
return 'random stuff'If you would load/import such func... |
|
Jeff900 |
News and Discussions |
15 |
3,646 |
Dec-26-2021, 08:56 PM |
|
|
Thread: now i wish Python had a way to add commands
Post: RE: now i wish Python had a way to add commands
Great, now I can't lose that thought tonight... **dodgy**
There must be some way.. right? |
|
Jeff900 |
News and Discussions |
15 |
3,646 |
Dec-26-2021, 08:50 PM |
|
|
Thread: Registration Form Fields
Post: RE: Registration Form Fields
I think Corey Schafer already has a good tutorial for user profiles in Django: https://www.youtube.com/watch?v=FdVuKt_i...4p&index=8. If I remember correctly, he added data to the standard availab... |
|
Jeff900 |
Web Scraping & Web Development |
2 |
1,900 |
Dec-26-2021, 08:38 PM |
|
|
Thread: Compare filename with folder name and copy matching files into a particular folder
Post: RE: Compare filename with folder name and copy mat...
Well, offcourse there will be a better way or at least a different way. But I think I would be helpfull to organize your code a little first. I'm sure your code will work eventually, but putting al th... |
|
Jeff900 |
General Coding Help |
2 |
4,484 |
Dec-18-2021, 11:44 AM |
|
|
Thread: Help with string formatting in classes
Post: RE: Help with string formatting in classes
(Dec-17-2021, 04:27 PM)BashBedlam Wrote: The difference is, You wrote:
tire = ('P', 205, 55, 15)Where as the instructor wrote:
tire = Tire('P', 205, 55, 15)
Sharp! I didn't saw it either. But that e... |
|
Jeff900 |
General Coding Help |
6 |
9,209 |
Dec-17-2021, 04:35 PM |
|
|
Thread: Help with string formatting in classes
Post: RE: Help with string formatting in classes
(Dec-17-2021, 04:19 PM)brthurr Wrote: I expected this:
Output:A car with a 4-cylinder engine, and [P205/55R15, P205/55R15, P205/55R15, P205/55R15] tiresI got this:
Output:A car with a 4-cylinder en... |
|
Jeff900 |
General Coding Help |
6 |
9,209 |
Dec-17-2021, 04:33 PM |
|
|
Thread: Help with string formatting in classes
Post: RE: Help with string formatting in classes
Is there a particular output you expect? Other than what you get? This is in fact pretty correct what is printed. Because it is printing the whole object (meaning it is printing al the items from the ... |
|
Jeff900 |
General Coding Help |
6 |
9,209 |
Dec-17-2021, 04:10 PM |
|
|
Thread: How to efficiently average same entries of lists in a list
Post: RE: How to efficiently average same entries of lis...
(Dec-17-2021, 03:54 PM)xquad Wrote: The first case: The average from every item on the same position from the lists.
Have you tried something with pandas or something already? Maybe you can convert ... |
|
Jeff900 |
General Coding Help |
5 |
2,122 |
Dec-17-2021, 03:58 PM |
|
|
Thread: How to efficiently average same entries of lists in a list
Post: RE: How to efficiently average same entries of lis...
Do you mean like the average from the every item on the same position from the lists? Or in other words, the average from all first items for example? |
|
Jeff900 |
General Coding Help |
5 |
2,122 |
Dec-17-2021, 03:52 PM |
|
|
Thread: GitHub question
Post: RE: GitHub question
(Feb-07-2021, 06:02 PM)AnunnakiKungFu Wrote: I didn't see a specific section for this question, I think. Before I ask, please know that I am new to programming, I am not the smartest person in the w... |
|
Jeff900 |
News and Discussions |
5 |
2,572 |
Feb-07-2021, 06:27 PM |
|
|
Thread: Trouble reading files using pyexcel
Post: RE: Trouble reading files using pyexcel
[EDIT] I just see that you are reffering to a row, not column. Is that what you want?
I don't have any experience with pyexcel. But have you tried to use index numbers instead of column names? The e... |
|
Jeff900 |
General Coding Help |
2 |
2,194 |
Feb-06-2021, 07:45 PM |
|
|
Thread: Simple calculation using datetime
Post: RE: Simple calculation using datetime
In fact, the way you try to do this (with only the birthyear), will not always give the exact result. Because it will basically look to the age the subject will reach the particular year. But besides ... |
|
Jeff900 |
Data Science |
2 |
1,890 |
Feb-06-2021, 07:34 PM |
|
|
Thread: Understand what it means that everything in Python is an object...
Post: RE: Understand what it means that everything in Py...
(Feb-06-2021, 12:33 AM)bytecrunch Wrote: Thanks Jeff900,
Sorry, I am a beginner. What do you mean exactly when you say "just" Python scripts? To me, a script is how we call a Python program.
And ... |
|
Jeff900 |
General Coding Help |
8 |
3,794 |
Feb-06-2021, 07:05 PM |
|
|
Thread: Wiring DHT11 to Raspberry pi
Post: RE: Wiring DHT11 to Raspberry pi
And have you checked the wiring already? **smile** |
|
Jeff900 |
General Coding Help |
3 |
4,107 |
Feb-05-2021, 10:12 PM |
|
|
Thread: Understand what it means that everything in Python is an object...
Post: RE: Understand what it means that everything in Py...
(Feb-05-2021, 09:18 PM)bytecrunch Wrote: Thank you,
So is it correct to say that Python is inherently an object oriented programming language?
I think the problem is that Python is often used as a ... |
|
Jeff900 |
General Coding Help |
8 |
3,794 |
Feb-05-2021, 09:33 PM |