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,968
» Latest member: Seu12Jorge
» Forum threads: 38,730
» Forum posts: 175,550

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
5 hours ago
» Replies: 6
» Views: 334
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
9 hours ago
» Replies: 7
» Views: 2,789
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 653
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,189
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,751
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 645
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,138
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,115
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,403
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,965

 
  CSV import by Pandas
Posted by: maryam88 - May-17-2020, 05:13 PM - Forum: General Coding Help - Replies (3)

I want to import a csv file by pd.read_csv and I put the file on site-pakages but python gives the error that the file doesn't exist, would uou please..... More

Print this item

  Loss and Accuracy Figures.
Posted by: Hani - May-17-2020, 04:16 PM - Forum: Data Science - Replies (3)

Anyone can help me understand the following figures?

https://drive.google.com/open?id=1YZmVh7...sB9-cTelVT

https://drive.google.com..... More

Print this item

  Updating a matrix in a time interval inside a for loop
Posted by: vp1989 - May-17-2020, 03:43 PM - Forum: General Coding Help - Replies (4)

I would like to get a maximum of a matrix in intervals inside for loop.

Matrix K has dimension (N,3,3). I like to have a matrix P (Max of K) betwee..... More

Print this item

  How to call a routine in another Python program
Posted by: kenwatts275 - May-17-2020, 03:31 PM - Forum: General Coding Help - Replies (1)

Hello all,
The following two programs, test31.py and test32.py have a pre_entry and post_entry routines.

[python]# test31.py
def pre_entry(values):
..... More

Print this item

  Gui slot machine-out of memory error
Posted by: steve_shambles - May-17-2020, 01:40 PM - Forum: General Coding Help - Replies (12)

Python V3.72
Windows 7\Linux Mint 19.1

A game I am working on called Freespin Frenzy
crashes after a while with either an "out of memory"
messag..... More

Print this item

  HELP: String indices must be integers
Posted by: animrehrm - May-17-2020, 01:09 PM - Forum: General Coding Help - Replies (6)

Good evening, I recently been studying regarding about ChatBots using the Multinomial Naive Bayes approach and I got this problem the code when collec..... More

Print this item

  Need a nice guy to help!
Posted by: Rasmus - May-17-2020, 12:58 PM - Forum: Jobs - Replies (2)

I have a huge project I want to pursue. Problem is that, I know nothing about python and this business I want to create requires high skilled python d..... More

Print this item

  Help with pandas
Posted by: palladium - May-17-2020, 11:16 AM - Forum: General Coding Help - Replies (3)

Hi all

I have the following dataframe that has been extracted from an Excel spreadsheet that I need to manipulate in code.
[code]
..... More

Print this item

  How do I change wx version dependency?
Posted by: belfacode - May-17-2020, 09:18 AM - Forum: General Coding Help - No Replies

Hello,
First off, I'm not a coder and know nothing about python language.
I want to run trelby, a writing program written in python, on void linux...... More

Print this item

  Sorting nested lists in ascending order
Posted by: jszum - May-17-2020, 08:55 AM - Forum: Homework - Replies (2)

Hi everyone,
I need some help with writing a function that takes ones argument (list) and sorts out nested lists in ascending order.

This is wha..... More

Print this item

  Remove from end of string up to and including some character
Posted by: lbtdne - May-17-2020, 08:31 AM - Forum: General Coding Help - Replies (2)

Hi all,

I'm trying to take some string, stri_ , and iterate through it until I find a particular character. Then, I will update the stri_ to be st..... More

Print this item

  How to close all windows when exit program
Posted by: scratchmyhead - May-17-2020, 07:19 AM - Forum: GUI - Replies (3)

I was just wondering if there is a way to close all open windows upon program exit?

Print this item

  Default Values for radiobuttons
Posted by: xuraax - May-17-2020, 06:40 AM - Forum: GUI - Replies (2)

I am learning to use tkinter and I have a program which includes Radiobuttons and Entry. These work well if I press buttons and insert text into the a..... More

Print this item

  Problematic Assignment
Posted by: EB22 - May-17-2020, 06:33 AM - Forum: Homework - Replies (3)

Hello, I m stuck here, I dont know whats missing or whats wrong with it. Please, if anyoane have any suggestions, I literally cant continue. Thanks!
..... More

Print this item

  FutureWarning: pandas.util.testing is deprecated
Posted by: buunaanaa - May-17-2020, 05:48 AM - Forum: General Coding Help - Replies (3)

I am using anaconda3 windows10
I am coding main.ipynb using jupyter notebook
I wrote a function in 2.py which is in the same folder as the main.ipyn..... More

Print this item

  Print the frequency of each coin for the combinations that sum to the amount N
Posted by: Pranav - May-17-2020, 05:32 AM - Forum: Homework - Replies (3)

Description:

The different combinations of the coins in the range of 1 to N that sum to the amount N needs to be printed. I have used recursiv..... More

Print this item

  Changing the name of a windows class?
Posted by: tibegato - May-16-2020, 11:49 PM - Forum: General Coding Help - Replies (4)

If you have a handle of a window from ANY application, is there a way to rename it's classname?

Print this item

  Loop triggered by button help
Posted by: Purple0 - May-16-2020, 10:13 PM - Forum: GUI - Replies (1)

Hi, I need help. I'm trying to make a loop, triggered by a button, that:

First press: Relay goes on and off intermittently
Second press: Turns rel..... More

Print this item

  User Update in Mysql with python
Posted by: oguzcan - May-16-2020, 06:43 PM - Forum: Homework - Replies (3)

Hi,

I have a problem. My library mysql-connector

my code working but doesnt updating table

[python]if passentry != "":
query=("UPDATE cu..... More

Print this item

  stop cycle while
Posted by: windows11 - May-16-2020, 02:42 PM - Forum: General Coding Help - Replies (1)

Hello people, I dont know how to stop/pass this cycle while.
the situation is the next:
In one web page I need to click few times until reload the n..... More

Print this item

  if condition not behaving as expected
Posted by: EricBHK - May-16-2020, 10:44 AM - Forum: General Coding Help - Replies (10)

I have a while loop in which I check if a certain geographic point is located within any of the 7 regions of a given province (using PostGis ST_WITHIN..... More

Print this item

  Netmiko Program ssh from the Jumpssh ( host -> Jumphost -> Network Device
Posted by: matya0403 - May-16-2020, 10:38 AM - Forum: Networking - Replies (3)

I am getting error like below
TypeError: 'TerminalServerSSH' object is not callable
[python]
from netmiko import ConnectHandler
from getpass import ..... More

Print this item

  Data placement
Posted by: nboogerz - May-16-2020, 10:18 AM - Forum: General Coding Help - Replies (1)

Hi,

I was just wondering if 'Declaring variables' close to each other in Python scripts results in their memory location being close to each other ..... More

Print this item

  Help with Code
Posted by: darkc0de - May-16-2020, 10:04 AM - Forum: General Coding Help - Replies (1)

Hello everyone, need some help with my code below. The objective of the code is to take input for 3 sides of a triangle from the user and print the ar..... More

Print this item

  Checkbox snippet
Posted by: menator01 - May-16-2020, 08:26 AM - Forum: Code sharing - No Replies

A tkinter checkbox snippet I wrote and am playing around with. Maybe it will be useful for someone learning tkinter checkboxes and passing their value..... More

Print this item

  C style strings
Posted by: deanhystad - May-16-2020, 06:06 AM - Forum: General Coding Help - Replies (2)

I have a Python program that communicates with a C program over a socket connection. The C program sends a "message" which contains floats and ints a..... More

Print this item

  ChatterBot: How to store unanswered question in a text file?
Posted by: animrehrm - May-16-2020, 06:00 AM - Forum: General Coding Help - No Replies

Hello, how do i store an unanswered question in chatterbot? I have a here a code for my file, but it wont store in my text file. Cry

[b]app.p..... More

Print this item

  How to implement the if then else statement properly.
Posted by: scratchmyhead - May-16-2020, 05:39 AM - Forum: GUI - Replies (5)

I have a small program that enters room numbers of a motel. Basically what I want to achieve is to not re-enter the room twice into the database. It's..... More

Print this item

  Need Assistance
Posted by: Jack_Daniels - May-16-2020, 05:35 AM - Forum: Homework - Replies (4)

I'm taking an Introductory course and I'm having a really hard time.

I need assistance simulating a check out process at a restaurant

I'm able ..... More

Print this item

  how to create my own custom logging message
Posted by: maiya - May-16-2020, 02:48 AM - Forum: General Coding Help - Replies (4)

Hi All,

Could any one please let me know, how to create my own custom logging.

For example below:

2020-05-15 11:55:17,823: [action_done] Pyth..... More

Print this item

  Python re.sub text manipulation on matched contents before substituting
Posted by: xilex - May-16-2020, 02:35 AM - Forum: General Coding Help - Replies (2)

Hi, I have the following code below:

[python]import re

t = '<img data src="some-thing">'
pattern = '(<img ).*?(src=")(.*?)(">)'
u = re.sub(pat..... More

Print this item

  Turtle Long Press Lag
Posted by: Jimmy_Py - May-16-2020, 01:52 AM - Forum: Game Development - Replies (4)

Below is some code from a tutorial for making pong with Turtle. I noticed that the short presses of "w" and "s" move the left paddle instantaneously, ..... More

Print this item

  How to verify the give number is valid
Posted by: Mekala - May-16-2020, 12:12 AM - Forum: General Coding Help - Replies (3)

Hi,
I am trying to verify the given number is a valid phone number or not.

Conditions:
1. The number may be a 10 digit one : 9898989876
2. The n..... More

Print this item

  How to make button text bold in Tkinter?
Posted by: scratchmyhead - May-15-2020, 11:43 PM - Forum: GUI - Replies (2)

I've googled this but can't find an answer. I just want to make the text on a button bold.

Print this item

  Python 3.7.4 (FTPLib Deprecated). Now What?
Posted by: bmccollum - May-15-2020, 09:24 PM - Forum: General Coding Help - Replies (1)

I've been running a Python script for a while that scrapes data from a website, parses through what it finds, saves everything to a CSV file, and then..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 5 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... 9 hours ago SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577281
  Tutorial Requ... 500397
  Web Scraping ... 440962
  Newbie with P... 384990
  New Users Int... 369372
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday
Edzed4431 09-27

User Panel Messages

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