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,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 33 Guest(s)
Bing, Google, Mojeek, Pedroski55

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 28
Data Science
Forum: Data Science
Last Post: mamta25
4 hours ago
» Replies: 3
» Views: 2,573
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
11 hours ago
» Replies: 1
» Views: 98
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 148
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 128
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 128
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,309
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,379
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,581
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 207

 
  Is it possible to grab a table off a webpage you are already logged into?
Posted by: cubangt - Mar-02-2022, 10:10 PM - Forum: Web Scraping & Web Development - No Replies

So we have a support company we submit issue to and on a weekly basis we have to login to their site and review any issues we currently have open with..... More

Print this item

  quest for better float formatting
Posted by: Skaperen - Mar-02-2022, 08:34 PM - Forum: News and Discussions - No Replies

my main goal is printing out a sequence of float (or decimal) numbers is to be sure the decimal point is lined up among many lines of output. but i a..... More

Print this item

  Pil
Posted by: Clives - Mar-02-2022, 06:35 PM - Forum: General Coding Help - Replies (2)

Greetings,
I can't get a Python PIL script to run, get "not an image" error.
Appreciate any pointers, to resolve this.

The code is:

[python]fo..... More


Attached Files

.py   os_walk2.py (Size: 3.31 KB / Downloads: 322)
Print this item

  Splitting strings in list of strings
Posted by: jesse68 - Mar-02-2022, 04:38 PM - Forum: General Coding Help - Replies (3)

Hi, trying to figure this one out which I expect should be easy. If I find my own solution before anyone else I'll post it here. I'm looking. Thanks
..... More

Print this item

  ImportError: No module named PIL
Posted by: rudeoil18 - Mar-02-2022, 02:02 PM - Forum: General Coding Help - Replies (9)

Hi guys,

I'm having a little trouble with the Pillow function using MacOS Monterrey 12.1. Trying to use the Pillow library (specifically Image) but..... More

Print this item

  Not understanding the use of {0:25} and {1:3}
Posted by: yang19177 - Mar-02-2022, 12:27 PM - Forum: General Coding Help - Replies (1)

I was working through a book on machine learning and came across this snippet of code.
[python]import mglearn
import matplotlib.pyplot as plt
im..... More

Print this item

  Merging two Data Frame on a special case
Posted by: piku9290dgp - Mar-02-2022, 10:43 AM - Forum: General Coding Help - No Replies

Hello everyone,

I have two data Frame one with date and one with product

df_A = date1, date2, date3............
df B = P1, P2, P3

All I need..... More

Print this item

  How to draw the Probability Density Function (PDF) plot regardless of sampe size?
Posted by: amylopectin - Mar-02-2022, 08:34 AM - Forum: General Coding Help - Replies (3)

Hello, I just joined this community to learn Python. I'm not a programmer or developer. So, I'm learning Python from the beginning.

Today my question..... More

Print this item

  Searching in the list
Posted by: quest - Mar-02-2022, 05:56 AM - Forum: General Coding Help - Replies (4)

Here is my list:
[python]
mylist=[((-6.952686099999967e-11+1.761756624e-08j), ('z', 'x'), 3),
((5.815437999999992e-11+4.8251177450000006e-09j), ('..... More

Print this item

  Print text with big font and style
Posted by: tomtom - Mar-02-2022, 03:28 AM - Forum: General Coding Help - Replies (6)

   
How can I print text with such font like this one on this picture?
Your support is highly appriciated in advance 🙏🙏🙏🙏

Print this item

  For Lopop Python3
Posted by: ogautier - Mar-02-2022, 01:56 AM - Forum: General Coding Help - Replies (2)

[quote]
I am trying to obtain the asset and its value from the result without the curly braces, I have tried to do it through various ways and I have..... More

Print this item

  panda table data
Posted by: kucingkembar - Mar-01-2022, 10:38 PM - Forum: General Coding Help - No Replies

hi, sorry for my bad English
I have (no header) panda table, like this:

0 | 0035 | nobita nobi | doraemon
1 | 0070 | hatake kakashi | naruto
2 |..... More

Print this item

  How to conditionally specify markers in matplotlib graph
Posted by: Mark17 - Mar-01-2022, 09:50 PM - Forum: General Coding Help - Replies (3)

Here's some code:

[Python]
import datetime as dt
import pandas as pd
from matplotlib.ticker import LinearLocator

df = pd.DataFrame({'date':[d..... More

Print this item

  How to create a menu button?
Posted by: Frankduc - Mar-01-2022, 03:08 PM - Forum: General Coding Help - Replies (30)

Hi all,

I came up with this finding about creating a menu button to populate with months of the year for a calendar.

[python]def affCal(self, mo..... More

Print this item

  [S0LVED] [Tkinter] Center dialog?
Posted by: Winfried - Mar-01-2022, 02:00 PM - Forum: General Coding Help - Replies (8)

Hello,

I've tried a few things, but still can't display this simple dialog at the center of the screen:

[python]import tkinter as tk
from tkint..... More

Print this item

  Error in find pearson correlation function
Posted by: erneelgupta - Mar-01-2022, 01:43 PM - Forum: General Coding Help - Replies (1)

[output]functional group A_OS A'_OS A_HOMO- ... μĀ μ𝐵 ̅ t Perovskite
0 RbTaO3 1 1 0.000 ... 0.0000 0.0..... More


Attached Files

Thumbnail(s)
   
Print this item

  Pandas dataframe: calculate metrics by year
Posted by: mcva - Mar-01-2022, 12:30 PM - Forum: Data Science - Replies (1)

Hi

I have some dataframes with a very diferent number of years , similar to the following dataframe:

[python]Date obs sim
6/12/2000 22.32 14.6..... More

Print this item

  Using C++/CLI wrapper functions by Python
Posted by: Ales1000 - Mar-01-2022, 08:14 AM - Forum: General Coding Help - Replies (2)

Hello,

I have created C++ Dll to be loaded by many programs, interfaces (also Python). This Dll is calling another C++/CLI Dll wrapper which wraps ..... More

Print this item

  Loading excel file in python
Posted by: MMOTIAA - Mar-01-2022, 06:28 AM - Forum: Web Scraping & Web Development - No Replies

Hello everybody,

I'm new to this forum, and I have a quick question about the requests library.

In my python code I use the following query:

..... More

Print this item

  Issue while using ctypes in python
Posted by: GiggsB - Mar-01-2022, 04:29 AM - Forum: General Coding Help - Replies (6)

I have the below python script which I am using to collect data from a microcontroller using SPI communication. That part is working fine, however, no..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 3 hours ago Reema Gribouillis General Codin...
  Data Science 4 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 11 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578728
  Tutorial Requ... 509406
  Web Scraping ... 441869
  Newbie with P... 385827
  New Users Int... 375309
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

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