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,971
» Latest member: IsmaelSlalk
» Forum threads: 38,733
» Forum posts: 175,554

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 29 Guest(s)
Bing, Google, AOL, Facebook Dev

Latest Threads
LewisByday
Forum: General Coding Help
Last Post: IsmaelSlalk
12 minutes ago
» Replies: 0
» Views: 2
OLanePulse
Forum: General Coding Help
Last Post: IsmaelSlalk
19 minutes ago
» Replies: 0
» Views: 1
Stephenchers
Forum: General Coding Help
Last Post: Dichaelmag
1 hour ago
» Replies: 0
» Views: 15
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 7
» Views: 368
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,800
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 662
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,198
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,763
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 656
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,151

 
  wierd output syntax for variables
Posted by: Zirizo - May-07-2020, 10:07 PM - Forum: General Coding Help - Replies (7)

I feel as if I'm doing the code correctly and it comes out with an outcome but the outcome for the print function is being weird (I'm using Visual Stu..... More

Print this item

  F-score, Precision, and Recall values
Posted by: Hani - May-07-2020, 08:58 PM - Forum: Data Science - Replies (3)

from tensorflow.keras import backend as K
.
.
.
def computeMetrics(true, pred): # considering sigmoid activation, threshold = 0.5
pred = K...... More

Print this item

  Why, TypeError: expected string or bytes-like object ?
Posted by: JohnnyCoffee - May-07-2020, 08:56 PM - Forum: General Coding Help - Replies (3)

The method below aims to receive parameters in order to detect xss threat. I could not identify an error in the code below but only on the return of t..... More

Print this item

  Python Program For Finding Sub String Of Given String
Posted by: Keeny844 - May-07-2020, 08:42 PM - Forum: Code Review - Replies (3)

name = input().strip()

print("\n".join(name[i: i + j] for i in range(len(name)) for j in range(1, len(name) + 1 - i)))

Print this item

  how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Posted by: MohammedSohail - May-07-2020, 07:44 PM - Forum: Data Science - Replies (10)

I am not able to run my code. This is my code
##############
import pandas as pd

df = pd.read_csv("C:'\Users'\User'\Downloads'\weathercsv")
prin..... More

Print this item

  Python pandas merge with or conditional
Posted by: Lafayette - May-07-2020, 07:34 PM - Forum: Data Science - No Replies

I am merging two dataframes that have 3 common fields. The issue is that if you cannot find the value you are looking for you should look for another ..... More

Print this item

  Python 3 change label text
Posted by: gw1500se - May-07-2020, 06:53 PM - Forum: GUI - Replies (6)

I have a tkinter label that I want to change. I've found several articles on how to so that but none work. If I try to use 'textvariable' I get an err..... More

Print this item

  Irrational number
Posted by: chpyel - May-07-2020, 05:51 PM - Forum: General Coding Help - Replies (11)

how could i check if a number is irrational

Print this item

  [Flask]After login page is not redirecting me to dashboard
Posted by: shockwave - May-07-2020, 05:22 PM - Forum: Web Scraping & Web Development - No Replies

Hi . As title says after I press login button the page refreshes and it doesn't redirect me to the '/dashboard' route .
My code :
[python]
from fla..... More

Print this item

  What is the best way to set application-wide config values?
Posted by: ajorona - May-07-2020, 04:59 PM - Forum: General Coding Help - Replies (1)

I want to write a custom logger and I want to configure the logger once, and import the logger in multiple classes. I would like to do this without us..... More

Print this item

  Scraping Multiple Pages
Posted by: mbadatanut - May-07-2020, 04:23 PM - Forum: Web Scraping & Web Development - Replies (1)

hello - I am having difficult scraping more than one page on a real estate website. any tips or recommendations on my code would be very much apprecia..... More

Print this item

  program unresponsive during pynput mouse click
Posted by: RobotTech - May-07-2020, 03:28 PM - Forum: GUI - Replies (1)

[python]from PIL import Image #pip install Pillow
import pytesseract #pip install pytesseract
import argparse #pip install argparse
import cv2 #pip..... More

Print this item

  Homework advice - Boolean function, whole-word values
Posted by: musicjoeyoung - May-07-2020, 03:02 PM - Forum: Homework - Replies (4)

Folks on here were so quick to help with my first question--I appreciate everyone who replies!

I completed a task assigned to me, but I'm missing s..... More

Print this item

  Parse a URL list stored in a CSV
Posted by: paulfearn100 - May-07-2020, 02:26 PM - Forum: Web Scraping & Web Development - No Replies

"""
hello any help greatly appreciated
urls stored in the CSV Coloum A lines 1-100, i would like to parse the links in each url to output to anothe..... More

Print this item

  QComboBox doesn't display selection as long as it has not lost the focus
Posted by: Meaulnes - May-07-2020, 01:23 PM - Forum: GUI - Replies (3)

I am developing a PyQt5 application. It works properly on Linux platform but I meet an issue when running it on a Windows 10 platform. The trouble is ..... More

Print this item

  Pyhton question
Posted by: ozzgebaki - May-07-2020, 12:15 PM - Forum: Homework - Replies (2)

Can somebody please help me with question?

You are given a dictionary storing inventory counts of a store's items.
For example:
{"tshirt":29, "pants..... More

Print this item

  Type conversion issue while using Descriptor in Python3
Posted by: mailnsuresh - May-07-2020, 10:03 AM - Forum: General Coding Help - Replies (1)

This is a little tricky one. Needs more attention since it is a minute thing. There are two classes in the given code. 'celsius' attribute of temperat..... More

Print this item

  Python logical operator AND
Posted by: rasec70 - May-07-2020, 08:51 AM - Forum: General Coding Help - Replies (4)

#Python Code

a = 6
b = 7
print (a and b)
#End code

Why the result of the print function is 7 instead of 6?

If:
0110 ..... More

Print this item

  Can somebody take a look at my program and make suggestions
Posted by: kenwatts275 - May-07-2020, 04:28 AM - Forum: Bar - Replies (1)

Hello all,
I wrote a few modules in Python and I was wondering if somebody could review them.
The name of the software is Database Table Maker and i..... More

Print this item

  Parse a REST API call using Python
Posted by: GKT - May-07-2020, 03:13 AM - Forum: General Coding Help - Replies (1)

Hi Experts!

I am a newbie to Python, we are trying to Parse our Tomcat Application logs and pull out all API calls made by users (this part is done..... More

Print this item

  mydict.items() is not a list
Posted by: Skaperen - May-07-2020, 02:53 AM - Forum: General Coding Help - Replies (2)

what i get from mydict.items() is not a list. i can't .sort() it. it have to make a list from it to be able to sort it in-place, defeating the perfo..... More

Print this item

  Visual Studio-remove Output clutter
Posted by: mds - May-07-2020, 01:48 AM - Forum: General Coding Help - Replies (14)

Hi all,
Fairly new to python and very new to visual studio.
I am running thru the linkedin [url=https://python-forum.io/thread-26610.html]..... More

Print this item

  get code with pip
Posted by: Skaperen - May-07-2020, 12:50 AM - Forum: News and Discussions - Replies (4)

does pip have a way to get the code without installing?

Print this item

  Problems to display Web Scraping values in Tkinter
Posted by: Lucas_Ribeiro - May-07-2020, 12:36 AM - Forum: GUI - No Replies

I am trying to display an image inside a Tkinter window through Web Scraping displaying a message from a certain point on the website that says in Por..... More

Print this item

  Nested Dictionary/List
Posted by: tonybrown3 - May-06-2020, 10:24 PM - Forum: General Coding Help - Replies (5)

I am new to python and am trying to learn nested dictionary's but I think I am mixing some standards. So first i am not sure i am using the proper te..... More

Print this item

  Keyboard history program
Posted by: chesschaser - May-06-2020, 09:44 PM - Forum: General Coding Help - Replies (3)

Hi guys!

I've been making a keyboard history program called ClipboardHero in python which stores your last clipboard entries in a file. I have enco..... More

Print this item

  A question about the libraries and their code.
Posted by: SheeppOSU - May-06-2020, 09:36 PM - Forum: News and Discussions - Replies (1)

Libraries are always very helpful for various things, but I'm always very curious what the code is. I know that I could view it if I wanted, but it's ..... More

Print this item

  function/nonetype object is not iterable
Posted by: nanok66 - May-06-2020, 09:06 PM - Forum: General Coding Help - Replies (5)

Hi all,

I am getting error "functools.partial object not iterable". I google searched this issue and have read multiple answers about this issue b..... More

Print this item

  data input
Posted by: chpyel - May-06-2020, 08:52 PM - Forum: General Coding Help - Replies (8)

how I control the data input from user input error

Print this item

  Kernel needs to restart
Posted by: ErnestTBass - May-06-2020, 08:37 PM - Forum: General Coding Help - No Replies

[code]
import glob

#wget http://vis-www.cs.umass.edu/lfw/lfw.tgz

#tar -xvzf lfw.tgz

face_images = glob.glob('lfw/**/*.jpg')


# In[2]:
..... More

Print this item

  loops in combination with lists
Posted by: Juru - May-06-2020, 08:24 PM - Forum: Homework - Replies (4)

Hi, I need help. For my homework I need to create a program in which people can insert numbers and my program will first list all the chosen numbers. ..... More

Print this item

  Canvas animation
Posted by: stephboo - May-06-2020, 08:06 PM - Forum: GUI - Replies (1)

I've been working on a simple tkinter app that has various widgets, I've done some entries, a button, some radiobuttons and so on...all I have left is..... More

Print this item

  raspberry pi tank gpio help
Posted by: jatgm1 - May-06-2020, 08:04 PM - Forum: General Coding Help - Replies (1)

i recently purchased the yahboom g1 tank kit and a raspberry pi 4b, i managed to figure out enough python to get it to move but im not understanding s..... More

Print this item

  control a linux program with python
Posted by: Fifoux082 - May-06-2020, 06:46 PM - Forum: General Coding Help - Replies (9)

Hi,
I am not a software devloper.
I started using Python to help me automate some tasks

I have a custom program who run in Linux, in a command w..... More

Print this item

  python ticks
Posted by: programmer229193 - May-06-2020, 06:02 PM - Forum: General Coding Help - Replies (2)

I'm trying to make an object wait and then move every 10,000 ticks. say I had 104 ticks and every time I click space bar the object waits for 10,000 t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LewisByday 12 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  OLanePulse 19 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  Stephenchers 1 hour ago Dichaelmag Dichaelmag General Codin...
  Comparing 2 100GB Drives/... 3 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 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...
Most views
  The best Prog... 577287
  Tutorial Requ... 500431
  Web Scraping ... 440964
  Newbie with P... 384997
  New Users Int... 369393
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
IsmaelSlalk Today
Dichaelmag Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday

User Panel Messages

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