Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,959
» Latest member: Xuitar
» Forum threads: 38,728
» Forum posts: 175,532

Full Statistics

Online Users
There are currently 46 online users.
» 2 Member(s) | 39 Guest(s)
Applebot, Bing, AOL, Google, Gribouillis

Latest Threads
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
1 minute ago
» Replies: 6
» Views: 4,749
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 1
» Views: 1,430
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
9 hours ago
» Replies: 1
» Views: 2,484
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 158
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 333
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 396
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 01:04 AM
» Replies: 0
» Views: 503
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,692
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,584
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 445

 
  Issue with HX711 reading
Posted by: duckredbeard - Aug-28-2020, 02:47 AM - Forum: General Coding Help - No Replies

I am getting the following error when running my code. I have a functioning version of this script, but this one is edited to include more LEDs and d..... More

Print this item

  List Identification
Posted by: Tbot1000 - Aug-28-2020, 01:44 AM - Forum: General Coding Help - Replies (2)

Hello! I've gotten back into python coding, and have been coding a text game, here is the code.

[python]#imports here
import random
import time
..... More

Print this item

  flask webhook response
Posted by: onicode5476 - Aug-28-2020, 01:19 AM - Forum: Web Scraping & Web Development - Replies (1)

hey, new to python and trying to get the data from my webhook response, tried a bunch of methods all not changing the result.

[python]from actions i..... More

Print this item

  sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation)
Posted by: py_kt - Aug-28-2020, 12:11 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I'm trying learn python and flask by building a simple web application.

The user will enter the product details in web application form whi..... More

Print this item

  Calculating consecutive days in a 3D array
Posted by: chai0404 - Aug-27-2020, 10:28 PM - Forum: Data Science - No Replies

I am trying to calculate the duration of consecutive days for a multidimensional array (latitude, longitude and time).
I have a piece of code that wo..... More

Print this item

  Smoothing Applications in Python
Posted by: xZeroCoolx - Aug-27-2020, 09:17 PM - Forum: Data Science - Replies (1)

Hello all.

New to the board.

I was wondering if anyone has experience or if there is any documentation anywhere around smoothing specifically ar..... More

Print this item

  Removing items from list if containing a substring
Posted by: pythonnewbie138 - Aug-27-2020, 09:10 PM - Forum: General Coding Help - Replies (2)

I'm trying to identify a file within a directory by removing list items containing an unwanted substring. When the script finishes running, list2 only..... More

Print this item

  Python Class and Object Parameters
Posted by: JoeDainton123 - Aug-27-2020, 08:58 PM - Forum: General Coding Help - Replies (5)

Hello all

Just a quick regarding classes and objects.

I have created a python file called Arm, which contains a class as shown below:-

[pytho..... More


Attached Files

Thumbnail(s)
   
Print this item

  [PyKML] Loop through all Placemarks; Remove namespace
Posted by: Winfried - Aug-27-2020, 07:53 PM - Forum: General Coding Help - Replies (2)

Hello,

The documentation on the PyKML site is a bit sparse for newbies, and I'm having two iss..... More

Print this item

  pip install scrapy fail
Posted by: Barak - Aug-27-2020, 07:40 PM - Forum: Web Scraping & Web Development - Replies (10)

Hi all
I am new to the forum

my computer runs win10.
I added python and conda to the path using this manual :
..... More

Print this item

  Stein's GCD according to given pseudo code
Posted by: wanttolearn - Aug-27-2020, 06:57 PM - Forum: Homework - Replies (2)

Hi,
I have an assignment where I was given a pseudo code based off of Stein's algorithm to get GCD. The pseudo code provided was:
k := 0
while x an..... More

Print this item

  Dataframe mean calculation problem: do we have to loop?
Posted by: sparkt - Aug-27-2020, 05:44 PM - Forum: General Coding Help - Replies (1)

Suppose we have a very simple dataframe.

[python]import pandas as pd
df = pd.DataFrame({'A': [1, 2, 5, 6, 7], 'B': [20, 30, 50, 90, 80]})
print(..... More

Print this item

  list indices must be integers or slices, not lists error
Posted by: djwilson0495 - Aug-27-2020, 04:21 PM - Forum: General Coding Help - Replies (2)

For the following code:
[python]
def create_ID(tmp):
try_again = True
in_list = False
while try_again == True:
New_ID = inpu..... More

Print this item

  Which GUI toolkit to use if less resource consumption is a priority.
Posted by: NIHILIST - Aug-27-2020, 04:12 PM - Forum: GUI - Replies (1)

I believe the tittle itself is sufficient.
I'm currently learning gui programming using tkinter.
I hope to do a web browser project if I ever atta..... More

Print this item

  Odd behavior with Rock Paper Scissor game
Posted by: DustinKlent - Aug-27-2020, 03:31 PM - Forum: General Coding Help - Replies (2)

I am following a tutorial for a rock paper scissor game and I made some changes to it to stray from the tutorial. Everything works except for the fact..... More

Print this item

  .loc with Booleans
Posted by: Mark17 - Aug-27-2020, 02:14 PM - Forum: General Coding Help - Replies (1)

Can someone explain the mechanism of this output?

[Python]
df = pd.DataFrame([[1, 2], [4, 5], [7, 8]],
index=['cobra', 'viper', 'sidewinder'..... More

Print this item

  while loop not closing
Posted by: djwilson0495 - Aug-27-2020, 02:14 PM - Forum: General Coding Help - Replies (4)

I'm using a code with a while loop:

[python]
def main():
print("1) Create a new user ID") # prints this menu
print("2) Change a password..... More

Print this item

  Openpyxl
Posted by: PTPeter - Aug-27-2020, 01:31 PM - Forum: General Coding Help - Replies (4)

Rather simple question: I already opened an Excel file.
How do I address it in Openpyxl?

Print this item

  features examples by release
Posted by: costa_shul - Aug-27-2020, 01:31 PM - Forum: News and Discussions - Replies (2)

I develop Python features examples by release:
https://github.com/makelinux/examples/bl.../README.md

Most valuable features of each..... More

Print this item

  python3 convert hex to binary 32 bit
Posted by: Mkt - Aug-27-2020, 12:32 PM - Forum: General Coding Help - Replies (3)

data_in_hex64digits='d0e66bfafaf5253157d1b5464e34b0d8d1b53bafc88ae4b7adb0f62d6812c24c'

data_out_bin32bit = 'đŠk ̇ ̇§%1WĐÁFN4░ěĐÁ;»╚ŐńĚş░÷-h↕┬L'

..... More

Print this item

  Python gives " -0.0 " as solution for an equation
Posted by: akar - Aug-27-2020, 11:15 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning Python (3.7) and I have sometimes strange results, for example when using code to find the real roots of a single univariate quadrat..... More

Print this item

  bad input line 3 how t fix it
Posted by: youssef210 - Aug-27-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

hrs = input("Enter Hours:")
h = float(hrs)
if h <= 40:
rate = 1.5
print(" h * rate")
elif h > 40.0 :
rate = 10.5
print..... More

Print this item

  read terminal text from running program
Posted by: AArdvark_UK - Aug-27-2020, 09:03 AM - Forum: General Coding Help - Replies (2)

i have a requirement to run badblocks on a raspberry pi checking a usb stick. this is not my requirement so please don't advise to change this as i c..... More

Print this item

  Translation of R Code to Python for Statistical Learning Course
Posted by: SterlingAesir - Aug-27-2020, 08:21 AM - Forum: General Coding Help - Replies (2)

Hi everyone, I'm totally new to Python and am currently taking a course on Statistical Learning which utilizes the Introduction to Statistical Learnin..... More

Print this item

  waiting for barcode scanner output, while main program continues to run
Posted by: lightframe109 - Aug-27-2020, 07:40 AM - Forum: General Coding Help - Replies (3)

Hi,

I am trying to accomplish the following situation.
I have a barcodescanner connected by USB to a raspberry pi 4 and I am able to capture the o..... More

Print this item

  Scrapy-Splash installation on windows 10
Posted by: dsuk - Aug-27-2020, 05:45 AM - Forum: Web Scraping & Web Development - No Replies

I want to install scrapy-splash on my windows 10 pc. Is there any way to inst..... More

Print this item

  extract tabe from nested dictionary, find generic approach,clever way
Posted by: tonycat - Aug-27-2020, 03:33 AM - Forum: Data Science - Replies (4)

Hi, I extract information from dictionary, step by steps, in stupid way...

can anyone provide clever way, or generic way to solve the problem. or ..... More

Print this item

  my code is messy .. how do i not get messy
Posted by: syafiq14 - Aug-27-2020, 03:25 AM - Forum: Code Review - Replies (3)

I've heard about modular programming where we break the code into a separate module but I don't understand which parts I have to separate and where th..... More

Print this item

  How to Split Output Audio on Text to Speech Code
Posted by: Base12 - Aug-26-2020, 11:39 PM - Forum: General Coding Help - Replies (2)

Hello, this is my first post here and I have extremely little Python experience.

My goal is to use IBM Watson Text to Speech to read a .TXT file a..... More

Print this item

  Listing Attributes of Objects & Classes
Posted by: JoeDainton123 - Aug-26-2020, 11:26 PM - Forum: General Coding Help - Replies (4)

Hello all

I have started to create classes and objects in python, progress is slow but i am getting there.

I wanted to ask the community whether..... More

Print this item

  How can I download Python files from GitHub?
Posted by: bitcoin10mil - Aug-26-2020, 06:26 PM - Forum: General Coding Help - Replies (2)

Hi. I'm a newbie and I'm trying to trade bitcoin automatically by using API modules.

I need to download these modules from this GitHub webpage:

..... More

Print this item

  llokking forpyhon programer to update
Posted by: xstation - Aug-26-2020, 05:08 PM - Forum: Jobs - Replies (2)

have a source file written 2010
needs rewritting
thanks
xstation

Print this item

  TemplateNotFound error with flask
Posted by: Veztar - Aug-26-2020, 04:14 PM - Forum: Web Scraping & Web Development - Replies (4)

I am learning python and testing the new things, but I ran into a template error this morning, and so far I haven't found any answers to the problem. ..... More

Print this item

  My code isn't excecuting
Posted by: saratha - Aug-26-2020, 02:22 PM - Forum: General Coding Help - Replies (5)

Hello,
I have excecuted my function but it doesn't run. Does anyone know why?
[python]def randword():
from random import choice
from string impo..... More

Print this item

  How to skip LinkedIn signup link using python script?
Posted by: Mangesh121 - Aug-26-2020, 01:22 PM - Forum: General Coding Help - No Replies

Hello All,

I am fetching messages data from LinkIn site using Python script. After LinkedIn login using python script, gives LinkedIn signup script..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pdf file processing: how ... 1 minute ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 3 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... 9 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Yesterday, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
Most views
  The best Prog... 576965
  Tutorial Requ... 499651
  Web Scraping ... 440725
  Newbie with P... 384703
  New Users Int... 368744
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday

User Panel Messages

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