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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,544

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
59 minutes ago
» Replies: 1
» Views: 17
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
5 hours ago
» Replies: 1
» Views: 451
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 4
» Views: 1,991
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 456
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 912
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 941
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,210
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,824
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,863

 
  Rename labels of a bar chart Matplotlib
Posted by: smalatray - Jun-28-2020, 03:54 PM - Forum: Data Science - Replies (1)

Hi,

I have started Python programming classes last month to become a data analyst.
I have been blocked for a while with the following issue: how d..... More

Print this item

  Add % on bar chart Matplotlib
Posted by: smalatray - Jun-28-2020, 03:28 PM - Forum: General Coding Help - No Replies

Hi,

I have started learning Python a month ago and need some help to complete my bar chart with Matplotlib.
I was able to display the bar chart wi..... More

Print this item

  Unresoved import
Posted by: macfanpl - Jun-28-2020, 03:26 PM - Forum: General Coding Help - Replies (1)

How to resolve unresolved import message upon compilation?
Anyone?

Print this item

  Question about Website Performance
Posted by: nolabpuckett - Jun-28-2020, 03:05 PM - Forum: Web Scraping & Web Development - No Replies

what is the best plugin or any development to enhancement this website https://www.certifixlivescan.com c..... More

Print this item

  Single Responsibilty Principle
Posted by: menator01 - Jun-28-2020, 01:55 PM - Forum: News and Discussions - Replies (2)

I got to thinking about what ndc85430 said in one of my ..... More

Print this item

  Unindent does not match any outer intendation level -error
Posted by: MaartenRo - Jun-28-2020, 10:34 AM - Forum: General Coding Help - Replies (3)

Hi, I just started with learning Python. I got stuck on an error message which i can't get rid of: Unindent does not match any outer intendation level..... More

Print this item

  Weird SQLAchemy connection string error
Posted by: pawpaw - Jun-28-2020, 10:11 AM - Forum: General Coding Help - No Replies

Hi all,

I have a piece of python code running flask with the following connection string and using SQLAchemy to connect to a MySQL DB running in Az..... More

Print this item

  Another Rock, Paper, Scissors
Posted by: Yoriz - Jun-28-2020, 09:25 AM - Forum: Code sharing - Replies (4)

[python]
import random


class GameItem:

def __eq__(self, other):
return type(other) == type(self)


class Rock(GameItem):
..... More

Print this item

  A GUI executable works unproperly on another PC
Posted by: Omer - Jun-28-2020, 07:45 AM - Forum: GUI - Replies (1)

Hello everyone,
I wrote a script of digital input MOdbus TCP/IP readings from a PLC using pyModbus module.
When i make executable out of my python G..... More

Print this item

  ModuleNotFoundError: No module named 'pandas_schema'
Posted by: Somee - Jun-28-2020, 03:37 AM - Forum: General Coding Help - Replies (2)

I am new in using Python, when I tried to import pandas_schema, I get the error [b][color=#E74C3C]ModuleNotFoundError: No module named 'pandas_schema'..... More

Print this item

  Uniform Function Call Syntax (UFCS) in Python?
Posted by: thegrapevine - Jun-28-2020, 02:05 AM - Forum: News and Discussions - Replies (1)

Is possible some day imprement Uniform Function Call Syntax (UFCS) in Python like Dlang?
Example: https://tour.dlang.org/tour/en/gems/uniform-function..... More

Print this item

  How to reduce the following code to run in sequence?
Posted by: Giggel - Jun-28-2020, 12:26 AM - Forum: General Coding Help - Replies (4)

Hello all,
I would like to reduce the following python code.
I have one list:

a=[one, two, three, four]
And the following stateme..... More

Print this item

  Need help with NPC (bot)
Posted by: Paul_Choi06 - Jun-27-2020, 09:19 PM - Forum: General Coding Help - No Replies

I created a simple game but I would like to make the NPC (bots) be able to jump at random times. Here is my code:

[python]
import pygame
import r..... More

Print this item

  D-Pad/No dependency platformer + tilemap
Posted by: michael1789 - Jun-27-2020, 08:59 PM - Forum: Code sharing - No Replies

Contoler examples are hard to find, so I'm sharing this.

Plug in your controller and run the file. "Start" resets and "B" jumps.

It's meant t..... More

Print this item

  cursor cross hairs want date not x index
Posted by: bapo10 - Jun-27-2020, 08:14 PM - Forum: GUI - No Replies

I am using the following cursor class called from a data manipulation routine. I simply want to output the date from the xaxis not the x value ..... More

Print this item

  text to speech
Posted by: Heyjoe - Jun-27-2020, 07:42 PM - Forum: General Coding Help - Replies (11)

Fellow Python Users,

I want to put several words in a list. Then tell Python to say the word.

I did some searches on text to speech. I found..... More

Print this item

  How to calculate the year by adding n months?
Posted by: pav1983 - Jun-27-2020, 06:11 PM - Forum: Homework - Replies (19)

Hi Everyone,

I've successfully solved many problems. I'm even starting to solve some in the 'easy' category on Edabit. However, this 'very easy' ..... More

Print this item

  Code error
Posted by: python_learn - Jun-27-2020, 05:51 PM - Forum: General Coding Help - Replies (2)

Hello Friends

I am new to Python world. I am trying to practice some code and I am not getting the result as expected.

Here is the code:

[py..... More

Print this item

  Finding an element in a 1d list in a 2d array
Posted by: lionrocker221 - Jun-27-2020, 04:48 PM - Forum: General Coding Help - No Replies

Hello,
In this code, neighbors is a list that is generated from m, from the point of view of "1" in the matrix. I'm ..... More

Print this item

  bootstraping
Posted by: shiprakumari18jan1822 - Jun-27-2020, 04:22 PM - Forum: Data Science - No Replies

Plz any one help me to write python code to bootstrap the input and output dataset using random selection (Latin Hypercube) with replacement?

Print this item

  code injector (scapy), replace does not work
Posted by: iago - Jun-27-2020, 03:05 PM - Forum: Web Scraping & Web Development - No Replies

Hello, I try to inject JS-Code into a (server) response package.
I can show the response packages with:

print(scapy_packet.show())
..... More

Print this item

  Class takes no arguments
Posted by: Nazartfya - Jun-27-2020, 12:36 PM - Forum: General Coding Help - Replies (2)

Hello guys, I'm learning Python and there is a small problem in writing code for one game. I've created a Ball class with some attributes. And then, w..... More

Print this item

  Finding line numbers starting with certain string
Posted by: Sutsro - Jun-27-2020, 12:11 PM - Forum: General Coding Help - Replies (3)

Hi people,

I am trying to get line numbers depending if the line starts with "T.C." however list is empty and printing the number list gives me not..... More

Print this item

  simple task with lists...
Posted by: Maxwell123 - Jun-27-2020, 11:12 AM - Forum: Homework - Replies (3)

Write the function equal(lst1, lst2), which for two given integer lists will give the result True if these lists are equal after compression and False..... More

Print this item

  Recursive functions
Posted by: Ayman_2001 - Jun-27-2020, 10:37 AM - Forum: Homework - Replies (3)

Greetings,
I've been doing this course on Udacity and this one problem has been stressing me for a while and I don't know why this keeps coming back ..... More

Print this item

  Problem in matrix
Posted by: leemao - Jun-27-2020, 10:08 AM - Forum: General Coding Help - Replies (1)

Hello

The code below works fine with the matrix in comment, however I want to use the matrix of the generated graph G instead of set it manually. I..... More

Print this item

  How to merge strings through graphs
Posted by: Den - Jun-27-2020, 09:19 AM - Forum: General Coding Help - Replies (6)

Having a list of strings and knowing that all of them have to be merged as they have a common prefix or suffix
for a simple example, having
..... More

Print this item

  scraping multiple pages from table
Posted by: bandar - Jun-27-2020, 06:27 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I really want to know how I can scrap data from table in website with multiple pages, I know it is simple if it is straight forward in the w..... More

Print this item

  PyOCR cannot detect clearly?
Posted by: wood_6636 - Jun-27-2020, 04:57 AM - Forum: General Coding Help - No Replies

As you can see in the down below captures, the image cannot be nicely detected to the final result, could anyone tell me how to have a better recognit..... More

Print this item

  How to left align logging messages
Posted by: Mekala - Jun-27-2020, 03:57 AM - Forum: General Coding Help - Replies (3)

Hi,
I use the below code, and I want the messages to be left-aligned, meaning I want to align the columns.

[python]import logging
from datetime i..... More

Print this item

  Why this code not getting desired output ?
Posted by: MDRI - Jun-27-2020, 02:36 AM - Forum: General Coding Help - Replies (2)

Thanks for your response to my threads.

I am trying to use the pyhton code below. I am getting weird output.

Python Code

[python]def Process_..... More

Print this item

  “While” Loop Problems
Posted by: Ryan_teresi - Jun-27-2020, 01:56 AM - Forum: General Coding Help - Replies (3)

When I do this loop it just keeps repeating same number infinitely
Pls help
https://ibb.co/Snnk04w (I couldn’t get imgur to work her here is that..... More

Print this item

  Python for excel
Posted by: BuJayBelvin - Jun-27-2020, 12:40 AM - Forum: General Coding Help - Replies (7)

Can anyone share a reference text specifically geared towards excel users? Not sure it exists. (I have read the openpyxl documentation.)

Thanks!

Print this item

  handling 2 exceptions at once
Posted by: Skaperen - Jun-26-2020, 11:01 PM - Forum: General Coding Help - Replies (2)

i have mishandling of a case of 2 exceptions at the same time. if each happens one at a time, they are handled OK. but if a second exception happens..... More

Print this item

  Use a button in Tkinter to run a Python function
Posted by: Pedroski55 - Jun-26-2020, 10:10 PM - Forum: General Coding Help - Replies (4)

I use Python functions to create html. I made a module, cunningly called 'makeHTML.py' I import this module in justMakewebpage.py I have refined this ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 59 minutes ago tester_V Pedroski55 General Codin...
  My goal to be hired worki... 5 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 10 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 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
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500163
  Web Scraping ... 440893
  Newbie with P... 384905
  New Users Int... 369166
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 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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