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,276
» Latest member: eastnoob
» Forum threads: 38,789
» Forum posts: 175,864

Full Statistics

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

Latest Threads
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
1 hour ago
» Replies: 11
» Views: 5,945
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
1 hour ago
» Replies: 2
» Views: 4,272
[BeautifulSoup] A few que...
Forum: Web Scraping & Web Development
Last Post: Winfried
4 hours ago
» Replies: 0
» Views: 29
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 3
» Views: 250
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 118
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 190
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,102
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 225
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 159
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 222

 
  Extract the largest value from a group without replacement (beginner)
Posted by: preliator - Aug-12-2020, 10:53 AM - Forum: General Coding Help - Replies (1)

I have a dataframe that represents different combinations of people (11 people in total), with a score per combination ranging from 0 (bad) to 20 (ver..... More

Print this item

  help code python QT Designer
Posted by: yan_mhb - Aug-12-2020, 09:32 AM - Forum: GUI - No Replies

Hello,

I have created an interface with buttons and comboBoxes and I want to change the value of DATA [1] which is in the send.py file every time I..... More

Print this item

  Please help me to ask to enter again itself when value entered is not a number.
Posted by: sunil422 - Aug-12-2020, 06:51 AM - Forum: General Coding Help - Replies (5)

I want the following program to ask to enter again without ending if entered value is not a integer. please help.

[python]x=input('ENTER SUM')
try..... More

Print this item

  Python TDD
Posted by: mcmxl22 - Aug-12-2020, 05:44 AM - Forum: General Coding Help - Replies (3)

I am trying to go through Test-Driven Development with Python.
I am currently in sectio..... More

Print this item

  cant loop through scraped site
Posted by: matt42 - Aug-12-2020, 05:00 AM - Forum: Web Scraping & Web Development - Replies (3)

hi there, I have the following scraping code which gets the information I want for the first game but when I try to loop through the page, to get the ..... More

Print this item

  keepassx - questions
Posted by: gonzo01 - Aug-12-2020, 02:56 AM - Forum: News and Discussions - Replies (4)

i've been trying to understand how keepassx works

i've installed (keepassx
(mxlinux 18.2) and it runs fine

using synaptic i've obtained a list ..... More

Print this item

  Pulling Information Out of Dictionary
Posted by: Griever - Aug-12-2020, 02:07 AM - Forum: General Coding Help - Replies (4)

Hello there!

Please forgive me if this is a basic question...

Long story short, I'm trying to pull out this specific number value ([u]htt..... More

Print this item

  Automating to save generated data
Posted by: Robotguy - Aug-11-2020, 09:49 PM - Forum: Data Science - Replies (3)

Hey everyone:

I want to save a particular number of values in maps I create. For example, when creating (4064x1) values, I want to save first (1000..... More

Print this item

  Adapting a dataframe to the some of columns
Posted by: flyway - Aug-11-2020, 05:55 PM - Forum: Data Science - Replies (2)

Hello to all,

I need to automate my Var X = df.iloc[; , [i[0]], [i[1]],...
Depending on len of i[n]
Something like;

i = [5, 16, 20, ... ]

if len(i)..... More

Print this item

  Web Scrapping Through API
Posted by: krishgokul29 - Aug-11-2020, 05:30 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi team, Im new to python/development. As i started to read the requests module, i came across this weird website terion.in. Its a game website were t..... More

Print this item

  python frontend workout plan
Posted by: karateobituary - Aug-11-2020, 05:13 PM - Forum: News and Discussions - Replies (1)

I have worked in python backends for a number of years and write many many helpful tools that are CLI based. In the era of data visualizations, I find..... More

Print this item

  Read strings and numbers in columns from a file
Posted by: suvadip - Aug-11-2020, 05:00 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have a .txt file which has two columns. the first column is string and the second column is number. The structure of the .txt file is the..... More

Print this item

  Feature Scaling with Partitions
Posted by: rocketfish - Aug-11-2020, 04:59 PM - Forum: Data Science - Replies (3)

I would like to apply normalization to a column in a Pandas DataFrame. However, I would like partition the table into shop_id values and apply..... More

Print this item

  The 'b' Word
Posted by: Harshil - Aug-11-2020, 04:29 PM - Forum: General Coding Help - Replies (5)

Another Project I Am Working On Here The Problem Is:
How To Remove That 'b' Word In Binary
[output]Please Type The Number: 0x3
The 0x3 In De..... More

Print this item

  Looking for a sleeker way to code this function
Posted by: CJHUND - Aug-11-2020, 03:05 PM - Forum: General Coding Help - Replies (5)

Hello friends,

I am wondering if anyone could suggest a more simple way of coding this function? I am building a formatted string for a report bas..... More

Print this item

  Execute DBCC CHECKDB from python script
Posted by: susja - Aug-11-2020, 01:23 PM - Forum: General Coding Help - Replies (1)

I have to run this query from inside the python script using pyodbc (python 3):

DBCC CHECKDB ('database_name') WITH ESTIMATEONLY
In code I have th..... More

Print this item

  Tkinter window anomaly.
Posted by: Astrikor - Aug-11-2020, 01:03 PM - Forum: News and Discussions - Replies (2)

I am running a data processing program which has a Tkinter window displaying running results and the current time.
I am puzzled that occasionally the..... More

Print this item

  Django serving wrong template at the wrong address with malformed urls.py (redactor a
Posted by: Drone4four - Aug-11-2020, 12:22 PM - Forum: Web Scraping & Web Development - Replies (2)

I’ve got a small experimental Django project which accepts a user’s fake Chuckee Cheese membership card number on the landing page, redacts the first ..... More

Print this item

  Iterating over word vs. character
Posted by: Mark17 - Aug-11-2020, 11:35 AM - Forum: General Coding Help - Replies (6)

This:

[Python]
mutants = ['charles xavier',
'bobby drake',
'kurt wagner',
'max eisenhardt',
'k..... More

Print this item

  Function will not return variable that I think is defined
Posted by: Oldman45 - Aug-11-2020, 09:05 AM - Forum: General Coding Help - Replies (6)

I am teaching myself python and have this function in a programme:

[python]
x1 = 1
x2 = 2
y1 = 4
y2 = 6

def distance(x1, y1, x2, y2):
d..... More

Print this item

  command line options
Posted by: Skaperen - Aug-11-2020, 06:48 AM - Forum: News and Discussions - Replies (5)

the arguments can include AWS region names or their abbreviations. each name needs to be verified against the official list. the official list is ob..... More

Print this item

  Name error
Posted by: Sky737 - Aug-11-2020, 03:04 AM - Forum: General Coding Help - Replies (1)

Hi I am new to python and can't figure out why my code is not working. Here is my code...

[python]def packet_1(packet_1_LOC, packet_1_name):
..... More

Print this item

  waiting to connect
Posted by: Skaperen - Aug-11-2020, 01:52 AM - Forum: General Coding Help - Replies (9)

i am calling a library that connects to some site and gets some data. sometimes it is slow. i would like for my code to output a message to stderr i..... More

Print this item

  check if letters in a words
Posted by: Vimart - Aug-10-2020, 08:00 PM - Forum: General Coding Help - Replies (4)

I have a file containing words, a word in a line.
I try to print a words containing specific letters ( if all letters given in input are in a word: p..... More

Print this item

  using pudb on python2 code
Posted by: ErnestTBass - Aug-10-2020, 07:01 PM - Forum: General Coding Help - Replies (2)

I have removed pudb for python 3.7.3 from my pc windows install. A previous post informed me that the code that I was trying to run was python 2.7 cod..... More

Print this item

  Keep Toggle View through Slider Steps
Posted by: yourboyjoe - Aug-10-2020, 06:42 PM - Forum: General Coding Help - Replies (1)

I have a 3-D model that has many layers that I toggle on and off from the legends view. There is also a slider to view different groupings of the mode..... More

Print this item

  Python Open And Read It Get Into A Var
Posted by: Harshil - Aug-10-2020, 06:10 PM - Forum: General Coding Help - Replies (8)

[python]import secrets
import sys
import time
import string
from tenacity import (retry , stop_after_attempt)
#Required Defs
var = open('conf.t..... More

Print this item

  [WinError 10057]
Posted by: lolloiltizio - Aug-10-2020, 05:57 PM - Forum: Networking - No Replies

HI fellow nerds,
I was playing with sockets when this 10057 error occured.
The description by microsoft is:

A request to send or receive data was..... More

Print this item

  Syntax error in python code sample
Posted by: ErnestTBass - Aug-10-2020, 05:26 PM - Forum: General Coding Help - Replies (5)

I need to know what is the syntax error in this python code. I am using python 3.5.

[code]

# example program to demonstrate PuDB debugger; finds..... More

Print this item

  Looking for a company to grow and expand with.
Posted by: Donovan - Aug-10-2020, 05:26 PM - Forum: Jobs - Replies (4)

I don't know if there is a place looking for a developer of my caliber but, I will at least try. I have spent a lot of my young adult years working in..... More


Attached Files

Thumbnail(s)
   
Print this item

  Getting Correct Creation Time
Posted by: JohnVogel - Aug-10-2020, 04:51 PM - Forum: General Coding Help - Replies (14)

Hey, guys,

Very much a beginner at coding.

I was trying to rename image files by extracting their creation date using the "[b]os.path.getctime..... More

Print this item

  How can i add multithreading in this example
Posted by: WoodyWoodpecker1 - Aug-10-2020, 04:01 PM - Forum: General Coding Help - Replies (3)

How can i add multithreading in this example
[python]
import xml.etree.ElementTree as et
import requests
from bs4 import BeautifulSoup
import th..... More

Print this item

  Kids Tutorial - Functions
Posted by: wellsie1607 - Aug-10-2020, 03:25 PM - Forum: Tutorial Requests and Submissions - No Replies

Kids Demo! Learn ascii-art with Python Functions - https://youtu.be/pQG4BSa8F0Q

Print this item

  Listing files with glob.
Posted by: MathCommander - Aug-10-2020, 02:47 PM - Forum: General Coding Help - Replies (9)

Hi. I have a directory wich contains a set of files with the following format

"name" + "six digits number" + ".txt"

The fo..... More

Print this item

  Trying to reply to an email instead of sending a new mail using python
Posted by: elenaflorence87 - Aug-10-2020, 02:46 PM - Forum: News and Discussions - No Replies

I want to reply to an email as a thread using python SMTP, I wrote the following code and that does not reply, instead it sends a new mail to the reci..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to put my game loop i... 1 hour ago temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 1 hour ago Barber532 SledgeNE Game Developm...
  [BeautifulSoup] A few que... 4 hours ago Winfried Winfried Web Scraping ...
  Graph Interpolate Difficu... 9 hours ago Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
Most views
  The best Prog... 579157
  Tutorial Requ... 511690
  Web Scraping ... 442122
  Newbie with P... 386193
  New Users Int... 378893
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
cruisesfares Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18

User Panel Messages

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