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,941
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, AOL, AOL, Mojeek

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
3 hours ago
» Replies: 1
» Views: 150
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 8
» Views: 309
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,500
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 894
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,713
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,244
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,772
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,568
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,670
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,855

 
  numpyxl cell values
Posted by: supuflounder - Mar-14-2021, 06:25 PM - Forum: General Coding Help - Replies (1)

OK, I am trying to use numpyxl for the first time. Here are some factoids

The input file looks like this (well, this is the .csv, because I can't ..... More

Print this item

  ValueError: x and y must have same first dimension, but have shapes (11,) and (15406,
Posted by: hobbyist - Mar-14-2021, 05:45 PM - Forum: General Coding Help - Replies (17)

Hello, any idea how can I fix this error?

Error:
ValueError: x and y must have same first dimension, but have shapes (11,) and (15406, 1)
..... More

Print this item

Question I can't understand how to
Posted by: Dayago - Mar-14-2021, 05:20 PM - Forum: General Coding Help - Replies (1)

This is my code:
[python]name = input("What is your name? ")
print( "Hello " + name )
Age = input("What is your age? ")
if Age = < 60:
print..... More

Print this item

  Searching for parts of a string or word
Posted by: Ulumulu - Mar-14-2021, 12:33 PM - Forum: Homework - Replies (8)

Hello,

I´m trying to write a code create a little searching mashine. The code should be able to tell me by finding parts of a string or word that i..... More

Print this item

  HTML multi select HTML listbox with Flask/Python
Posted by: rfeyer - Mar-14-2021, 12:23 PM - Forum: Web Scraping & Web Development - No Replies

I have stumbled through creating a python tkinter program which plays multiple video clips (captured by motion surveillance app). Works very well but ..... More

Print this item

Star Little help with my code - Linked List
Posted by: SantiagoPB - Mar-14-2021, 11:03 AM - Forum: Homework - Replies (1)

Hi everyone Big Grin , I'm Santiago,

I have a small problem that I cannot detect in my code Confused .

It is a [b]..... More

Print this item

  Help with requests module
Posted by: 0xB9 - Mar-14-2021, 05:13 AM - Forum: General Coding Help - Replies (3)

Hi, I have a program I'm trying to switch modules from http.client to requests. The program takes a website through input ..... More

Print this item

  Printing a specific line from a JSON
Posted by: serpiente - Mar-13-2021, 08:47 PM - Forum: General Coding Help - Replies (4)

Hi all! I'm new to Python and programming, so please bear with me :-)

I'm doing a project at home in my spare time where I want to get the next dep..... More

Print this item

  Zlib tutorials
Posted by: Vwjap - Mar-13-2021, 06:57 PM - Forum: General Coding Help - Replies (2)

So just started playing with python, and hit a wall with zlib, just running through tutorials and came across this
[python]
import zlib

MESSAGE..... More

Print this item

  Real Time Audio Processing with Python Sound-Device not working
Posted by: Slartybartfast - Mar-13-2021, 01:34 PM - Forum: General Coding Help - Replies (2)

Hello, Python community!

I would like to record audio from my microphone and transcribe it in (almost) real-time via a speech-to-text API. The STT ..... More

Print this item

  Values not updating for restful call
Posted by: boomramada - Mar-13-2021, 01:08 PM - Forum: General Coding Help - No Replies

Hi, I got following code to get the values from GPOI from raspberry pi then post it on restful.
Code is working but I noticed, values are not updati..... More

Print this item

  AttributeError: 'Message' object has no attribute 'split'
Posted by: helpme1 - Mar-13-2021, 12:38 PM - Forum: General Coding Help - Replies (2)

I just don't know how to describe anything, because I'm too confused, But all I know is it's supposed to make it into a string but it didn't work. Her..... More

Print this item

Smile A basic question from a noob
Posted by: AncientMantra - Mar-13-2021, 12:37 PM - Forum: Homework - Replies (3)

Hi, everyone!
It is my first time here, sorry for the stupid questions.
Wrote a code for the Euclid’s algorithm, used to find the greatest common di..... More

Print this item

  How display matrix on canvas
Posted by: eedenj - Mar-13-2021, 11:53 AM - Forum: GUI - Replies (9)

Hi All,

I am having troubles with Tkinter and tables.
Tkinter has limited possibilities for creating tables, so I create one with this ' program'...... More

Print this item

Star Auto Updater!
Posted by: Oshadha - Mar-13-2021, 09:38 AM - Forum: General Coding Help - Replies (6)

Do any of you know how to make a python app, update itself?

Example:
Example1.py is version 1
I release version 2 on github - Example2.py
Examp..... More

Print this item

  I can't open a python file :(
Posted by: Oshadha - Mar-13-2021, 09:02 AM - Forum: General Coding Help - Replies (2)

I have been coding python for almost 10 months, and up to now, I was fine.
But now when I try to open a python file, an error pops up.
Before Openin..... More

Print this item

  Hosting a script on a VPS, and on a schedule?
Posted by: oldguy - Mar-13-2021, 02:46 AM - Forum: General Coding Help - No Replies

A friend helped me by writing a python script. Basically, it opens a browser, navigates to a website, opens several pages on the site looking for spe..... More

Print this item

  OOP vs functional - - elaborate turn based RPG game (Derek Banas Udemy course again)
Posted by: Drone4four - Mar-12-2021, 11:56 PM - Forum: General Coding Help - Replies (6)

I’m learning OOP. Derek Banas is the instructor in the online (self directed, non-credit) Udemy course titled, “..... More

Print this item

  Calculating surface area - - OOP or functional? Derek Banas Udemy course
Posted by: Drone4four - Mar-12-2021, 09:57 PM - Forum: General Coding Help - Replies (5)

I’m taking a Udemy course by Derek Banas titled, Python Programming Bootcamp. Derek ..... More

Print this item

  Question
Posted by: Dayago - Mar-12-2021, 08:23 PM - Forum: General Coding Help - Replies (2)

Hi I've already installed Python put on my computer there are two wich is the correct one? I have to disinstall some files?
Thank you[attachment=1054..... More


Attached Files

Thumbnail(s)
   
Print this item

  Attribute Error
Posted by: Raiden_Arctica - Mar-12-2021, 05:18 PM - Forum: Data Science - Replies (4)

Hi everyone,

I have this error message: AttributeError: 'NoneType' object has no attribute 'items'

when I run the code below:

[[python]imp..... More

Print this item

  Tkinter guide?
Posted by: Mondata - Mar-12-2021, 02:07 PM - Forum: GUI - Replies (16)

I´m starting learning tkinter and trying to make some sense of it.
I´d like to know if there is a good manual or guide with all the options, etc.?
For..... More

Print this item

  Outliers remain in the scatterplot even after removal
Posted by: d8a988 - Mar-12-2021, 12:58 PM - Forum: Data Science - No Replies

I am currently using the 'train.csv' file found here: https://www.kaggle.com/c/house-prices-ad...=train.csv

af..... More

Print this item

  Code folding in Sublime Text
Posted by: Mondata - Mar-12-2021, 06:44 AM - Forum: General Coding Help - Replies (2)

Sublime Text automatically adds a fold/unfold block when detecting commands like:
if
while
def
try

I´d like to override this behaviour and define my ..... More

Print this item

  help ! selenium and google sheet
Posted by: puttimet38 - Mar-12-2021, 06:15 AM - Forum: Web Scraping & Web Development - Replies (2)

I want to check the data and send it to write it on Google sheet.
And want to find information for specific words written on Google sheet .

[pytho..... More

Print this item

  calculate daily return in percent in forex as to some strategy?
Posted by: alen - Mar-12-2021, 03:43 AM - Forum: General Coding Help - Replies (1)

Hi

I am wondering if there is candle return in forex as to some strategy? not buy and hold strategy.

If there is would you please show me how to cal..... More

Print this item

  Send UDP packet after bind
Posted by: pacmyc - Mar-11-2021, 10:28 PM - Forum: Networking - No Replies

I want to send a UDP packet to 192.168.0.155 and then listen for replies on the same port as I sent the packet from.
The below code doesn't work. I c..... More

Print this item

  passing token to requests
Posted by: alejandroot - Mar-11-2021, 09:40 PM - Forum: Web Scraping & Web Development - Replies (4)

I am trying to use the requests library to hit some endpoints, but I am having problems passing the auth token. This curl works just fine:

[output]..... More

Print this item

  error trying to install sslstrip
Posted by: NullAdmin - Mar-11-2021, 09:30 PM - Forum: General Coding Help - Replies (1)

I was trying to install sslstrip in my computer, so this is what i did:
Downloaded sslstrip-master.zip from github
Downloaded and install airgeddon..... More

Print this item

  Listening for broadcasts on port 0
Posted by: pacmyc - Mar-11-2021, 09:09 PM - Forum: Networking - Replies (6)

Hi.
I have a device that send some data via broadcast to port 0 in my network.
I can listen to the traffic with wireshark.
Is it possible to get Py..... More

Print this item

  I cannot install this library. Can someone show me how?
Posted by: Led_Zeppelin - Mar-11-2021, 05:31 PM - Forum: General Coding Help - Replies (8)

How in the world does one import this file. I have tried many things and nothing so far has worked. I even Googled the subject and again nothing. So h..... More

Print this item

  Get return value from a threaded function
Posted by: Reverend_Jim - Mar-11-2021, 05:04 PM - Forum: General Coding Help - Replies (3)

I have the following function that builds a file list.

[python]
import os
import fnmatch
import threading

def getFiles(root='..... More

Print this item

  problem with sphinx and file directory in script
Posted by: kiyoshi7 - Mar-11-2021, 03:52 PM - Forum: General Coding Help - No Replies

Hi, I am trying to use sphinx to document some of my code but I'm having problems getting my files directories. I dont want to write down the full pat..... More

Print this item

  Flask request object None
Posted by: muckypup - Mar-11-2021, 12:32 PM - Forum: Networking - No Replies

I am trying to set up a simple Flash app to receive sensor data from a microcontroller.

Simplified code:

[python]
from flask import Flask, req..... More

Print this item

  Python Versions
Posted by: ThatTamyBot - Mar-11-2021, 05:58 AM - Forum: General Coding Help - Replies (2)

Guys I needd help I am on macos and i installed python (using homebrew) and anaconda at the same time . I want my homebrew installation to be the defa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 3 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 7 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576563
  Tutorial Requ... 498545
  Web Scraping ... 440432
  Newbie with P... 384334
  New Users Int... 367537
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+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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