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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

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

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
43 minutes ago
» Replies: 3
» Views: 98
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
50 minutes ago
» Replies: 2
» Views: 69
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
4 hours ago
» Replies: 6
» Views: 3,176
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 242
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 128
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,524
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 173
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,146

 
  How replace Unnamed header column with previous
Posted by: SriMekala - Aug-14-2019, 03:12 PM - Forum: Data Science - Replies (3)

Hi,
I have excel file with merged columns as below:

[python]Category Group Sub_valid
Name Item Value Color Status
Group1 VGT ..... More

Print this item

  Validation checking
Posted by: Help_me_Please - Aug-14-2019, 01:31 PM - Forum: Homework - Replies (25)

Can I please have some help, I am passing in variables correctly and I am trying to check if the column is within the correct table (6 by 6) and I am ..... More

Print this item

  Catch all cookies from any website
Posted by: Chuky - Aug-14-2019, 01:14 PM - Forum: Web Scraping & Web Development - Replies (8)

Hey,

first of all sorry for my bad english but i trials it.

I try to create a cookie scanner that get all cookies (first and third party) from a..... More

Print this item

  How to modify df column
Posted by: SriMekala - Aug-14-2019, 11:54 AM - Forum: Data Science - Replies (1)

I have data in excel and want to modify one column:

[python]Name Design Category Rank
DUT UIK Group2 5
HYT TYAHU Group1 1..... More

Print this item

  Asking for help in my code for a "Guess the number" game.
Posted by: Domz - Aug-14-2019, 09:54 AM - Forum: Homework - Replies (5)

Hey all, I'm pretty new to Python, well new might be an understatement.
I've been tasked to create one of those guess the number games. One of my fri..... More

Print this item

  Bouncing Rectangles
Posted by: headkase - Aug-14-2019, 09:45 AM - Forum: Code sharing - No Replies

[python]import pygame
from pygame import QUIT
from sys import exit
from time import time
from random import randint, choice


class Entity:
..... More

Print this item

  Removing hyphens and adding zeros
Posted by: sidney - Aug-14-2019, 09:18 AM - Forum: Data Science - Replies (3)

What is the meaning of the following code from the Learn Data Analysis with Python book? Can someone elaborate on the first 10-12 lines. Why return s[..... More

Print this item

  FAST algorithm of checkSamecircularList(x, y) without L CircularList ref but find ref
Posted by: lsepolis123 - Aug-14-2019, 07:51 AM - Forum: General Coding Help - No Replies

My book has this exercise:

R-7.6 Suppose that x and y are references to nodes of circularly linked lists,
although not necessarily the same list. ..... More

Print this item

  Operations on indexed variables in loop
Posted by: Fibulavie - Aug-14-2019, 05:36 AM - Forum: General Coding Help - Replies (1)

Hello,
Beginner in Python and having spent about 4 hours in this very simple operation, I now rely on your expertise. I'm used to Javascript and in J..... More

Print this item

  Recording audio to file until no dialogue.
Posted by: diffLocks16 - Aug-14-2019, 04:47 AM - Forum: General Coding Help - Replies (1)

Is there a way in Python that I can call a function to start recording audio to a file, which will then only stop when it can't make out any other wor..... More

Print this item

  simplifying a stack of elifs
Posted by: Skaperen - Aug-14-2019, 04:23 AM - Forum: General Coding Help - Replies (8)

i have a thread function with a role of handling some commands it gets from a queue. there a lot of statement groups like:
[python] elif msg[0] =..... More

Print this item

  modifying variables in local or global space
Posted by: Skaperen - Aug-14-2019, 03:55 AM - Forum: General Coding Help - Replies (2)

you can't modify variables in local space using they dictionary you get from locals() or the reference you can track down from inspect.currentframe()...... More

Print this item

  How can I increment a List item with in a "for in"
Posted by: msteffes - Aug-13-2019, 09:11 PM - Forum: General Coding Help - Replies (4)

This is likely Python 101.

I have searched for a straight forward simple answer to no avail.
How can I increment a list item while inside a "for..... More

Print this item

  Identifying string success flag
Posted by: graham23s - Aug-13-2019, 05:07 PM - Forum: General Coding Help - Replies (4)

Hi Guys,

I have a string of text seperated by a pipe symbol like:

[python]
# a list of flags to look for on success ...
submit_success = "TEXT..... More

Print this item

  can't get rid of '?' within my df!
Posted by: brkolvr - Aug-13-2019, 05:07 PM - Forum: Data Science - Replies (5)

Just gotten back on the laptop after an extended break and can't seem to complete this simple task! I've got a large dataset, and just going about my ..... More

Print this item

  Building a 2D array
Posted by: Help_me_Please - Aug-13-2019, 03:52 PM - Forum: General Coding Help - Replies (4)

I am trying to build a game board as part of my Computer Science A-level NEA, I don't know what I am doing wrong can someone please help and fix my co..... More

Print this item

  Cant's get accurate unbiased variance.
Posted by: Alex009988 - Aug-13-2019, 02:41 PM - Forum: Data Science - Replies (1)

Hello. So that I use that code
[python]
import numpy as np
import math
t=[0.10,0.15,0.16]
Y=10000000; n=56
t1=[0]*n
m=len(t)
t1[0:m-1]=t
s=math.sqrt(Y..... More

Print this item

  'int' object does not support item assignment
Posted by: shane1236 - Aug-13-2019, 12:17 PM - Forum: General Coding Help - Replies (5)

Can someone correct that kind of error?



def new(app):
    app=0
    for i in range(10):
      app[i]=i+1
      print(app)

Print this item

  2D BoardGame Pygame
Posted by: Josh_Python890 - Aug-13-2019, 11:59 AM - Forum: Game Development - Replies (5)

Hi all,

I'm trying to develop a 2D board game using PyGame. I'm new to using pygame though and there doesn't seem to be any easy tools for working ..... More

Print this item

  Looking for App developer. Will pay hourly
Posted by: reviewmonitr - Aug-13-2019, 11:48 AM - Forum: Jobs - Replies (8)

Hi there

I am looking for help building an app.

You would need experience in building an app with a server backend.

thanks.
Adam

Print this item

  How many times it was pressed the button
Posted by: chano - Aug-13-2019, 11:41 AM - Forum: Homework - Replies (4)

Hello,
I have a few buttons and I want to understand how many times they push these buttons, can it write in a file and it send via email this file ..... More

Print this item

  Problem with PySimpleGui
Posted by: apowell - Aug-13-2019, 11:07 AM - Forum: General Coding Help - Replies (6)

Tried to install the PySimpleGui and failed miserably.
First I ran the following code that I copied from the Cookbook
[python]
import PySimpleGUI a..... More

Print this item

  Camera animation to Text file (CINEMA 4D)
Posted by: vbz - Aug-13-2019, 07:39 AM - Forum: General Coding Help - No Replies

I'm trying to find a way to export moving camera data (rotation and position) from cinema 4d to a csv file.
I have found a python script on how to ge..... More

Print this item

  Return code when closing the dialog
Posted by: ioprst - Aug-13-2019, 06:50 AM - Forum: GUI - Replies (1)

There is own dialogue which is inherited from wx.Dialog.

There is one button:

button_ok = wx.Button (self, wx.ID_OK, "OK")
Buttons..... More

Print this item

  using a try/except in a conditional expression
Posted by: Skaperen - Aug-13-2019, 02:45 AM - Forum: News and Discussions - Replies (9)

i needed to make a conditional expression that included testing if a file exists. so i wrote a small function to call os.lstat() in a try/except retu..... More

Print this item

  How to open a program with python without freezing
Posted by: LavaCreeperKing - Aug-12-2019, 09:46 PM - Forum: GUI - Replies (9)

Hi, can someone tell me how I can open a program with python without it freezing my program? What I am trying to do is create a program with some quic..... More

Print this item

  Python QGIS tool that replaces layout text labels with attributes from an input table
Posted by: geodenn92 - Aug-12-2019, 07:12 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm writing a QGIS tool and I think I got it but it doesn't work. Maybe someone can help me.

In the Qgs Project is a .csv tabl..... More

Print this item

  Basic one: Aggregating from a dictionary
Posted by: Mustey - Aug-12-2019, 07:00 PM - Forum: General Coding Help - Replies (1)

I am so sorry, that's a stupid mistake (I forgot to return!). Feel free to delete!


Sorry, I haven't coded for 2 years (and I wasn't any good ..... More

Print this item

  Question Regarding the == Operator
Posted by: majorjohnusa - Aug-12-2019, 06:29 PM - Forum: General Coding Help - Replies (4)

Hi, all.
I am a new learner here and have a question regarding the "==" operator, I couldn't find answer in Google, thus, I post here.

Why:
usi..... More

Print this item

  HTML Styling Not Working
Posted by: yoitspython - Aug-12-2019, 06:24 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am trying to embed an HTML table in an Outlook email using smtplib within Python. I have customized it but am having trouble modifying the ro..... More

Print this item

  python file output to log file
Posted by: Rsh - Aug-12-2019, 04:15 PM - Forum: General Coding Help - Replies (4)

>python logzip.py > /var/cron/log
I need to capture of logzip.py output to /var/cron/log.
Above shows how to do in linux pmpt.
..... More

Print this item

  Detect finger clicks/snaps using Python
Posted by: fwinter102 - Aug-12-2019, 04:02 PM - Forum: General Coding Help - No Replies

I would like a program to detect when someone nearby clicks their fingers using the mic.

I'm not completely sure how to approach this, and am fairl..... More

Print this item

  Send smtp message
Posted by: barry - Aug-12-2019, 02:38 PM - Forum: Networking - Replies (2)

I am stumped with trying to use the Python smtplib module. I have followed the instructions via https://pymotw.com/2/smtplib/. I am using the exampl..... More

Print this item

  TypeError: '>=' not supported between instances of 'str' and 'int'
Posted by: AsadZ - Aug-12-2019, 02:09 PM - Forum: General Coding Help - Replies (8)

num0 = input("Enter a Number: ")
if not(num0>=0):
    print("Please enter a Valid Number >=0.")
else:
    print(num0)
I need..... More

Print this item

  slected points to dataframe in Plotly
Posted by: douwey - Aug-12-2019, 01:42 PM - Forum: General Coding Help - No Replies

Hi,
I'm new to this forum and I hope you can help me with the following:
I'm looking for a way to make an interactive chart with points from a dataf..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 43 minutes ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 50 minutes ago Bummibaer Bummibaer News and Disc...
  best way to learn python 4 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579358
  Tutorial Requ... 512308
  Web Scraping ... 442275
  Newbie with P... 386330
  New Users Int... 380146
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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