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,936
» Latest member: AstoundzSEO
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 42 Guest(s)
Bing, AOL, Google, Google Image, Mojeek, Applebot

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,025
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,447
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 472
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 726
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,846
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 830
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 414
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,371
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,590
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,248

 
  How to make x-axis readable with matplotlib
Posted by: Mark17 - Feb-28-2022, 10:20 PM - Forum: General Coding Help - Replies (7)

I've had this problem before. I'll have dates in a df column and plotting one year with 256 dates results in a black blur on the bottom.

Now... ..... More

Print this item

  pyttsx3 cutting off last word
Posted by: Extra - Feb-28-2022, 10:00 PM - Forum: General Coding Help - Replies (3)

Hello,

I got my python script to work using Text-To-Speech output but when I run it, it cuts off the last word or letters.
Ex: [python]speak("How may..... More

Print this item

  satellite tracking module
Posted by: barryjo - Feb-28-2022, 09:11 PM - Forum: General Coding Help - Replies (1)

Does anyone know of a python satellite tracking module that inputs the two line orbit elements and then outputs the az/el as a function of time?

Print this item

  Proper way to do the OR statement?
Posted by: Mark17 - Feb-28-2022, 09:05 PM - Forum: General Coding Help - Replies (5)

I've swear I've seen this before, but I can't remember what the problem is. This works:

[Python]
if btstats.loc[i,'Status'] == 'WINNER' or btstat..... More

Print this item

  reference from another function
Posted by: Frankduc - Feb-28-2022, 06:18 PM - Forum: General Coding Help - Replies (10)

Hi,

How is it possible to use an if statement from another function. I am suppose to determine from the other function def inverserChaine(self): if..... More

Print this item

Question How to move a class to a custom module?
Posted by: python300 - Feb-28-2022, 03:47 PM - Forum: General Coding Help - Replies (4)

I am using Python 3.6.0 :: Continuum Analytics, Inc. on Linux.
I have ContextFilter Class in my python script which I am using to have a counter vari..... More

Print this item

  Is my code OOP and what could i do better?
Posted by: klajdi7 - Feb-28-2022, 03:42 PM - Forum: Code Review - Replies (3)

[python]

class Library:
def __init__(self, listOfBooks=None):
self.books = listOfBooks
self.books1 = []

def displayA..... More

Print this item

  [Solved:] How to use pd.append() ?
Posted by: ju21878436312 - Feb-28-2022, 12:15 PM - Forum: General Coding Help - Replies (3)

Can someone tell me, why the first example of how to use pd.append() works, and the second not?

[python]
# 1) This works fine:

df1 = pd.DataF..... More

Print this item

  How to use rangesliders feature from matplotlib in tkinter?
Posted by: pymn - Feb-28-2022, 07:28 AM - Forum: GUI - Replies (2)

I have written a code to use the RangeSldider widget to have control over my axis range.
[python]from tkinter import *
import numpy as np
import ma..... More

Print this item

  "<class 'typeerror'>: don't know how to convert" error
Posted by: GiggsB - Feb-28-2022, 05:14 AM - Forum: General Coding Help - Replies (3)

Hi,
I have a .c library which I want to use through my python code. The c function that I am calling is: [inline]crc32Word(uint32_t crc, const void *b..... More

Print this item

  python espeak on Windows??
Posted by: Extra - Feb-27-2022, 10:59 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm running my python script on my windows pc and I need a text-to-speech engine to add the finishing touches to my script.
I would like to..... More

Print this item

Question Colored text
Posted by: Alivegamer - Feb-27-2022, 08:55 PM - Forum: General Coding Help - Replies (3)

I've been looking on how to change your text in the command when you run python.
[python]class Colors:
RED = "\x1b[0;31;40"

def Starting():
..... More

Print this item

  Transferring argument to a thread issues
Posted by: msloat - Feb-27-2022, 03:04 PM - Forum: Networking - Replies (1)

Hello,

First off, I have been working on a phone app to read back what some of my props are doing. The App can also send commands to my props. I ..... More

Print this item

Photo Visual studio code unable to color syntax on python interpreter
Posted by: tomtom - Feb-27-2022, 09:15 AM - Forum: General Coding Help - Replies (4)

Os: windows 11
This problem happends after rolling back windows update

   
On the picture attachment ''python code syntax.png'' is my..... More


Attached Files

Thumbnail(s)
   
Print this item

  kivy SyntaxError.
Posted by: water - Feb-26-2022, 08:02 PM - Forum: GUI - Replies (1)

I follow a tutorial test kivy like below:

[python]
from kivy.app import App

# importing builder from kivy
from kivy.lang import Builder


#..... More

Print this item

  How did one column get left-justified?
Posted by: Mark17 - Feb-26-2022, 07:19 PM - Forum: General Coding Help - Replies (6)

So I was going about tweaking the formatting of this .csv file (in Excel) generated by Python and then at one point, the S_exp_mo column (that is, col..... More

Print this item

  class, attribute and method
Posted by: Frankduc - Feb-26-2022, 05:02 PM - Forum: General Coding Help - Replies (9)

Hello,

Its been a few hours i am struggling with this code. I am having a hard time understanding the use of classes and constructors.

[python]from ..... More

Print this item

  Rock paper scissors in python with "algorithm"
Posted by: Agat0 - Feb-26-2022, 02:42 PM - Forum: General Coding Help - Replies (24)

In the end I was able to do it thanks to what I was looking for through the dictionary of victory made

Print this item

  cmake and pip3 install warnings with python 3.10.2
Posted by: cyrduf - Feb-26-2022, 01:08 PM - Forum: General Coding Help - No Replies

Hi,

I make upgrades for python 3.10.2 on a centos.
I upgrade cmake also with 3.22.1.
And I install python faker module (because it's seems to be ..... More

Print this item

  Sorting table data
Posted by: Blacktime2 - Feb-26-2022, 12:57 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I've a difficulties with my project, I'm a novice in Python. I would like sort my column "TypeDOC" in descending order but it's not p..... More

Print this item

  How do I link the virtual environment of that project to the 3.9.2 version of python?
Posted by: Bryant11 - Feb-26-2022, 06:43 AM - Forum: General Coding Help - Replies (1)

I install python version 3.9.0 on my PC. I then created my virtual environment, created my project and everything worked really well. After some month..... More

Print this item

  scikit-tensor package
Posted by: Lamine - Feb-26-2022, 03:31 AM - Forum: Data Science - Replies (1)

Hello,

I'm tring to install scikit-tensor package but iI have this problem

C:\>pip install scikit-tensor
Collecting scikit-tensor
Using cac..... More

Print this item

  a form of coded logic in a comand line
Posted by: Skaperen - Feb-25-2022, 07:09 PM - Forum: News and Discussions - Replies (10)

i am wanting to come up with an easy way to express Python logic in a single line of tokenized text like that which comes from command arguments in sy..... More

Print this item

  Is it possible to make a program recognize how many clicks it has had on the monitor?
Posted by: jao - Feb-25-2022, 06:31 PM - Forum: General Coding Help - No Replies

I need a screen developed in tkinter to appear on the monitor, but with one condition: only when the user presses the right mouse button twice. Is it ..... More

Print this item

  remove zeros at the end of a number
Posted by: Frankduc - Feb-25-2022, 02:28 PM - Forum: General Coding Help - Replies (7)

Hello,

I am trying to remove the .0000 in the result of my window for variable carres and cubes.

I tried truncate, int, round but nothing helps...... More

Print this item

  [Solved] Delete a line in a dataframe using .reset_index() and .drop()
Posted by: ju21878436312 - Feb-25-2022, 01:14 PM - Forum: General Coding Help - Replies (2)

Hi out there,

I'd like to delete a line in the dataframe "df_new". Why does it not work? I get the error: "KeyError: '[0] not found in axis".

[..... More

Print this item

  Building python (3.9.5) with different libexpat version (2.4.6)
Posted by: raghupcr - Feb-25-2022, 11:29 AM - Forum: General Coding Help - No Replies

Hi All,

we are using python 3.9.5 version in our application.

when there are any issues ( security issues ) in external modules like openssl, bz..... More

Print this item

  drawing moving circle on line with python
Posted by: barrai - Feb-25-2022, 09:36 AM - Forum: General Coding Help - Replies (1)

hi how are u
i can draw circle and draw line but i cant how to draw moving circle on line .please help me.

Print this item

  Isolate a word from a long string
Posted by: nicocorico - Feb-25-2022, 08:05 AM - Forum: General Coding Help - Replies (2)

Hello everyone,

I am trying to isolate specific words out of a string if present but until now with no success.
If in the string I have 'irg', 's..... More

Print this item

Lightbulb Open CV
Posted by: Utkarsha - Feb-25-2022, 05:47 AM - Forum: General Coding Help - Replies (5)

Hi all,

This post is regarding image registration using open CV. I have come across this article in Geeks for geeks and following is the link:

h..... More

Print this item

  Python 3.10 not happy with Pandas and PyPlot?
Posted by: Danno - Feb-25-2022, 05:39 AM - Forum: General Coding Help - Replies (1)

Hi. I've been using the V3.10 of Python. I've been having all sorts of weird errors. The latest is "'NoneType' object is not callable." Given th..... More

Print this item

  Exception handler problem part 2
Posted by: Leo - Feb-25-2022, 04:59 AM - Forum: Homework - Replies (3)

Hello everyone, I'm still new to this so bear with me please

My issue today is that I need to create a program that continually prompts the user fo..... More

Print this item

Question Opencv and threading
Posted by: ethernel - Feb-25-2022, 04:27 AM - Forum: General Coding Help - Replies (4)

So, hello everyone, I really need yo help

it's been 4days i'm learning python and 2days i'm stuck on one thing

https://www.youtube.com/playlist?..... More

Print this item

  Python3 for loop over a dict
Posted by: ogautier - Feb-25-2022, 01:28 AM - Forum: General Coding Help - Replies (3)

[quote]
Hello!
I am trying to get all the values individually for each asset for example:

BCHUSD
a = 301.340000
b = 301.160000
c = 301.280000 ..... More

Print this item

  How does UnboundLocalError work?
Posted by: deanhystad - Feb-24-2022, 09:06 PM - Forum: General Coding Help - Replies (3)

While answering a question on the forum I wrote an example where I knew the outcome, but I don't understand the reason for the outcome.
[python]check..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 576026
  Tutorial Requ... 497471
  Web Scraping ... 439988
  Newbie with P... 383740
  New Users Int... 366222
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday

User Panel Messages

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