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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 28 Guest(s)
Bing, Google, AOL, Apple, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
2 hours ago
» Replies: 0
» Views: 12
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 113
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 48
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,482
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 142
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,070
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,299
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 367
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 206

 
  unable to automate table creation with crosstab
Posted by: larryb - Jan-29-2020, 02:27 PM - Forum: Data Science - No Replies

So i'm able to automate parts of the code, but for the actual table creation with "crosstab" i can't quite figure it out. Please help me automate the ..... More

Print this item

  Read csv file data
Posted by: parthi1705 - Jan-29-2020, 01:42 PM - Forum: General Coding Help - No Replies

Hi All,
I have a case where i need to find any wrong in the csv file.
Detailed info:

There are some 20 set of CSV files are there each has unique..... More

Print this item

  Dyanmically Naming Files
Posted by: ovidius - Jan-29-2020, 01:41 PM - Forum: General Coding Help - Replies (3)

Hello Everybody

I wrote this code which takes 2 files removes any letters inside of them keeping only the phone numbers, then removes any duplicate..... More

Print this item

  Get form data
Posted by: JohnnyCoffee - Jan-29-2020, 01:39 PM - Forum: Web Scraping & Web Development - No Replies

How do I get html form field data ?

Print this item

  User defined functions inside other user defined functions
Posted by: WildP - Jan-29-2020, 12:52 PM - Forum: General Coding Help - Replies (1)

I want to make use of a function I have defined inside another function. But I can't figure out how.

I have defined a function in for the turtle-wo..... More

Print this item

  click drag
Posted by: olivers - Jan-29-2020, 12:33 PM - Forum: GUI - Replies (1)

I wonder if I could be pointed towards what is probably a simple coding solution. I am trying to automate a click and drag on a GUI for an audio loope..... More

Print this item

  deleting git branches
Posted by: metulburr - Jan-29-2020, 12:17 PM - Forum: General Coding Help - Replies (16)

So in one of my tutorials i use git branches to show code as there are numerous modules not illustrating it well on the forums posts. So each branch i..... More

Print this item

  object base multi threading
Posted by: maboobelahi93 - Jan-29-2020, 11:21 AM - Forum: General Coding Help - No Replies

Hi,
I am trying to automate the production system using multi-threading. I have a class workstation and it has a function "drawing_thread" that runs ..... More

Print this item

  Interactive online python learning environment freely available
Posted by: kenttong - Jan-29-2020, 03:49 AM - Forum: News and Discussions - No Replies

Hi,

I've made an online python learning environment available at
https://p4kweb.appspot.com

Please take a look and let me know what you think ..... More

Print this item

  HELP! unindent does not match any outer indentation level
Posted by: blackjesus24 - Jan-29-2020, 02:43 AM - Forum: General Coding Help - Replies (2)

Hi everyone i'm trying to print my code, but it's telling me:
"unindent does not match any outer indentation level"


Here is my code:[python]#Add..... More

Print this item

  Help with Python Inheritance (One parent, two children)
Posted by: b_salm - Jan-29-2020, 12:40 AM - Forum: Homework - Replies (3)

[python]
class Question:
def __init__(self, prompt, answer):
self.prompt = prompt
self.answer = answer


ques..... More

Print this item

  How to print cache from Decorators with Memoization
Posted by: OlgaM - Jan-28-2020, 11:46 PM - Forum: General Coding Help - Replies (2)

Hello!

I use this decorator for memoization. But how i can check if results number is really cached?
When i try to print fib.cache or cache[n] i g..... More

Print this item

  Function that searches and shows all socket hosts
Posted by: shaanukstar123 - Jan-28-2020, 10:44 PM - Forum: Networking - Replies (1)

Hi,
I'm currently developing a local client-server multiplayer game using sockets, where the client has to manually connect to a server that is runni..... More

Print this item

  Scraping from multiple URLS to print in a single line.
Posted by: jb89 - Jan-28-2020, 10:36 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi there,

Please forgive me if I have trouble explaining myself, i'm quite new to Python.

Basically I've been tasked with scraping some informat..... More

Print this item

  Lambda function error
Posted by: localsystemuser - Jan-28-2020, 09:03 PM - Forum: General Coding Help - Replies (3)

First of all: I am not familiar with Python, so I am asking for help to fix the existing script. There is a Python script (Lambda function) for deleti..... More

Print this item

  Help coding graph
Posted by: breme57 - Jan-28-2020, 08:26 PM - Forum: Data Science - Replies (1)

hello,
I'm a beginner and i must draw a graph

[img]https://zupimages.net/up/20/05/4tsd.jp[url=https://python-forum.io/thread-24047.html]..... More

Print this item

  random.sample raises OverflowError
Posted by: sky3141 - Jan-28-2020, 06:43 PM - Forum: General Coding Help - Replies (4)

from random import sample

sample(range(2 ** 63 - 1), 3) # OK
sample(range(2 ** 63), 3) # OverflowError
[error]
Traceback (m..... More

Print this item

  Problem with delimiters
Posted by: johnprada - Jan-28-2020, 04:39 PM - Forum: General Coding Help - Replies (5)

Hello everyone
I am quite stuck. i am trying to get a message from a TCP communication protocol, this message is converted in a list of strings and t..... More

Print this item

  Pygame, how to run an if statement only once, help!
Posted by: Kris1996 - Jan-28-2020, 04:32 PM - Forum: Game Development - Replies (5)

Hey guys.

I have been struggling with this problem for some time now, so i have to ask for help.
I got this game i am developing. You play as a sp..... More

Print this item

  Graph that shows predicted vs true values
Posted by: donnertrud - Jan-28-2020, 04:04 PM - Forum: Data Science - Replies (1)

Hey guys,

I have a simple Random Forest Regression Model which is supposed to predict the Number of Likes of an Instagram Picture based on given fe..... More

Print this item

  Problem with delimiters
Posted by: johnprada - Jan-28-2020, 03:59 PM - Forum: General Coding Help - Replies (1)

Hello everyone
I am quite stuck. i am trying to get a message from a TCP communication protocol, this message is converted in a list of strings and t..... More

Print this item

  timedelta object cannot be interpreted as integer
Posted by: palladium - Jan-28-2020, 02:50 PM - Forum: General Coding Help - Replies (5)

The purpose of the code is to parse a text file (output from another program) which contains two date strings and a grade (string), check the interval..... More

Print this item

  Distribution Package Nomenclature
Posted by: OldSubSailor - Jan-28-2020, 02:40 PM - Forum: Bar - Replies (2)

Howdy,
I have just started to study Python in my old age.
As I understand things, Python is named after Monty Python and at times I do see Monty Py..... More

Print this item

  handy network analysts tools
Posted by: KipCarter - Jan-28-2020, 02:20 PM - Forum: News and Discussions - Replies (2)

With all the wealth of code floating around I was a bit surprised that I haven't been able to find an assortment of python based network tools. It may..... More

Print this item

  Insert data into sql after joining two excel data from python
Posted by: NeerajYadav - Jan-28-2020, 01:56 PM - Forum: General Coding Help - Replies (2)

How to insert FinalData into sql table through python ? In finaldata i have joining data of two excel.
[python]import pandas as pd
import pandas.io..... More

Print this item

  if-loop does not respond to input
Posted by: Kmarstein - Jan-28-2020, 01:27 PM - Forum: General Coding Help - Replies (1)

Hey, I recently bought a dobot magician and have been playing around with controlling it using python. However, I`m very new to this programming langu..... More

Print this item

  while after while
Posted by: WildP - Jan-28-2020, 01:19 PM - Forum: General Coding Help - Replies (2)

I am new to Python and I am trying to make a program that lets the user input positive numbers. The program should then return a list of the numbers a..... More

Print this item

  coding help -python
Posted by: rs08 - Jan-28-2020, 01:18 PM - Forum: General Coding Help - Replies (2)

[python]#!/usr/bin/env python3

import sys
import math

print("BMI calculator")

#Defining BMI Class
class Bmi():
#Setting Values for BMI Cla..... More

Print this item

  Cannot package application using pip; ModuleNotFoundError
Posted by: axcore - Jan-28-2020, 01:08 PM - Forum: General Coding Help - No Replies

I have been trying for months to work out how to correctly package my python application for use with pip.

I can upload the application to pypi wi..... More

Print this item

  Highscore problem, need to print top 5
Posted by: Camiosobro123 - Jan-28-2020, 12:19 PM - Forum: General Coding Help - Replies (5)

I need for it to print the top 5 scores, but at the moment it is only printing the highest scores that have ever been the top scores, if that makes se..... More

Print this item

  I need help making this game.
Posted by: ZodiacZNaim - Jan-28-2020, 12:01 PM - Forum: Game Development - Replies (1)

So I want to create a simple game in python, possibly with a GUI. But, for now i need to work on the actual game. I just started using python and I kn..... More

Print this item

  Help! new to python
Posted by: Hafiz - Jan-28-2020, 11:33 AM - Forum: Homework - Replies (3)

can someone help me to solve this



1. Given a four-digit number, perform its cyclic rotation by two digits. Try to solve it only by using numeri..... More

Print this item

  installing openpyxl
Posted by: delahug - Jan-28-2020, 09:58 AM - Forum: General Coding Help - Replies (2)

Hi,

Total python newbie here; nearly 20 years since I've done any programming...

I've managed to install python on my pc and run 'Hello, World!'..... More

Print this item

  pandas.read_sas with chunksize: IndexError list index out of range
Posted by: axelle - Jan-28-2020, 09:29 AM - Forum: Data Science - No Replies

Good morning,

I have read the rules about posting but i cannot attach a sample of my data or reproduce the entire error message as the data i am wo..... More

Print this item

  Do Calculation between Rows based on Column values - Pandas Dataframe
Posted by: ahmedwaqas92 - Jan-28-2020, 06:55 AM - Forum: General Coding Help - No Replies

Hello, I have a sharepoint list that I am importing in as a Pandas dataframe. The resulting code generates a df which looks something like below

[c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 2 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579258
  Tutorial Requ... 512104
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379608
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexferrina Yesterday
MattCarters 11-22
drakhsin 11-22
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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