Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    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 803 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 584 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 628 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 1,181 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 1,051 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 1,181 Feb-05-2021, 09:33 PM
    Thread: pairing in a list
Post: RE: making unique pairs in a list

(Feb-05-2021, 08:08 PM)jakemace Wrote: (Feb-05-2021, 07:52 PM)Jeff900 Wrote: Have you considered using a module or something that is a little bit more focused on handling data structures? Such as ...
Jeff900 Homework 17 2,063 Feb-05-2021, 08:32 PM
    Thread: Installing Modules / packages
Post: RE: Installing Modules / packages

I have found this code earlier to do so (not my work though, but it worked for me) import subprocess import sys def install(package): subprocess.check_call( [sys.executable, "-m", "pip",...
Jeff900 General Coding Help 1 489 Feb-05-2021, 08:04 PM
    Thread: pairing in a list
Post: RE: making unique pairs in a list

Have you considered using a module or something that is a little bit more focused on handling data structures? Such as pandas or something similar. I think it would be a lot easier to 'query' on your ...
Jeff900 Homework 17 2,063 Feb-05-2021, 07:52 PM
    Thread: What reason have you quit a job?
Post: RE: What reason have you quit a job?

(Feb-02-2021, 09:21 AM)manas41 Wrote: I'm about to quit my job and second guessing whether my reason is "good enough" to leave this job which is good in some ways, not so good in other ways. What re...
Jeff900 Bar 6 840 Feb-03-2021, 08:15 PM
    Thread: Does a pandas have a date without a time?
Post: RE: Does a pandas have a date without a time?

I've tried to reproduce your issue, but in almost all my cases I do not get the time at all if I don't want to. I usually prefer to work with the 'standard' datetime object, which works fine as an obj...
Jeff900 Data Science 6 1,501 Feb-03-2021, 08:07 PM
    Thread: Issue in Tkinter with winfo_class() and LabelFrame
Post: RE: Issue in Tkinter with winfo_class() and LabelF...

Hi ReDefendeur, I'm not really familiar with tkinter. So I can't tell if this is really a bug. Anyway, this forum is not really the place for reporting potential bugs. Probably this is the right place...
Jeff900 GUI 1 1,042 Oct-05-2020, 05:52 AM
    Thread: Error while humansize module import.
Post: RE: Error while humansize module import.

I tried it too but for some reason I cannot find any code intalled after the installation, but indeed humansize is in pip list... i can only find the zipfile with some metadata and stuff. On PyPi the...
Jeff900 General Coding Help 3 1,499 Apr-25-2020, 08:39 PM
    Thread: Which app do I import to fix this error?
Post: RE: Which app do I import to fix this error?

Are you sure Imputer exists in sklearn.preprocessing? Maybe you can have a look on the actual source code from sklearn.preprocessing. Perhaps you can find out what Imputer is supposed to be.
Jeff900 General Coding Help 6 1,801 Apr-25-2020, 08:12 PM
    Thread: not abel to run selenium automation one by one in loop
Post: RE: not abel to run selenium automation one by one...

I that case you should share the output you get, and explain where it is going wrong. Explain what output you expect. That will probably makes it a lot easier to understand the problem.
Jeff900 Web Scraping & Web Development 5 805 Apr-25-2020, 07:35 PM
    Thread: Getting a variable from one class to another class
Post: RE: Getting a variable from one class to another c...

Can you be more specific about the classes you are reffering to. Ofcourse you can use variables as argument in classes. Just like you did here: class RootWindow: '''RootWindow''' def __init__...
Jeff900 GUI 6 1,114 Apr-25-2020, 07:14 PM
    Thread: not abel to run selenium automation one by one in loop
Post: RE: not abel to run selenium automation one by one...

OK, maybe you can use an if statement that will look if i (from the loop) is odd or even. You can use modulus for that. if i % 2 == 0: # execute function 2 else: # excute function 1If you c...
Jeff900 Web Scraping & Web Development 5 805 Apr-25-2020, 07:07 PM
    Thread: not abel to run selenium automation one by one in loop
Post: RE: not abel to run selenium automation one by one...

OK, I'm getting kind of confused while reading your post. So mayby I do not fully understand it well. Are you saying that both of the site functions should NOT run 10 times, but just once? Because b...
Jeff900 Web Scraping & Web Development 5 805 Apr-25-2020, 06:49 PM
    Thread: Documentation
Post: RE: Documentation

metulburr, you are making a good point here. It made me thinking about what is really the point when programming software. It is not just about the actual code, functions etc. You can learn those from...
Jeff900 Bar 4 1,157 Apr-25-2020, 06:31 PM
    Thread: Pandas Help
Post: RE: Python help...

OK, and what went wrong exactly? Do you get an error message? Do you get the wrong output? And if one of those is the case, share something about the error, or explain what kind of output you do expec...
Jeff900 Homework 9 2,948 Apr-24-2020, 08:48 PM

User Panel Messages

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