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 47 online users.
» 0 Member(s) | 42 Guest(s)
Bing, AOL, Google, Google Image

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

 
Question I am struggling with basic json library + sql alchemy w/ mariadb-connector json ->sql
Posted by: BrandonKastning - Mar-04-2022, 06:20 PM - Forum: General Coding Help - No Replies

I am struggling with basic json library + sql alchemy w/ mariadb-connector json ->sql

[CODE]
# Source: Courtlistener.com - Washington Supreme Cour..... More

Print this item

  geojson to json --missing multiple row output
Posted by: yoshi - Mar-04-2022, 05:39 PM - Forum: General Coding Help - Replies (9)

I have a geojson file zz.geojson and want to convert it to json and csv. I was trying the below for json conversion, it converts but I only get 1 row ..... More

Print this item

  Python3 url parse
Posted by: ogautier - Mar-04-2022, 04:39 PM - Forum: General Coding Help - Replies (5)

[quote]
Hello,

I'm trying to extract the assets(ADAUSD,BTCUSD,DOGEUSD,DOTUSD,ETHUSD,LTCUSD,SHIBUSD,XMRUSD,XRPUSD,SOLUSD) part of the following url..... More

Print this item

  Can Not Activate Environment
Posted by: hammer - Mar-04-2022, 02:10 PM - Forum: General Coding Help - Replies (6)

I think I created an environment correctly sometime in recent past but I can not get it to activate now. Below is command result and my directory tree..... More

Print this item

  What is positional argument self?
Posted by: Frankduc - Mar-04-2022, 02:09 PM - Forum: General Coding Help - Replies (22)

Hello,

I am having this error message and i just dont understand what it means in the context.

[python]from tkinter import *


class Temperat..... More

Print this item

  filter every 24 days file (considering file name)
Posted by: RolanRoll - Mar-04-2022, 08:39 AM - Forum: General Coding Help - Replies (5)

Hi
I have a folder that contains many eof extension files name I want to sort them in ordinary way with python code (as you can see in my example the..... More

Print this item

  how to do a two-way wait
Posted by: Skaperen - Mar-03-2022, 11:06 PM - Forum: General Coding Help - Replies (2)

i did this once before. i'm still looking for that old code among 10000+ files. but i'm worried that code has some "clever" solution based on specif..... More

Print this item

  Python3 List in requests
Posted by: ogautier - Mar-03-2022, 08:57 PM - Forum: General Coding Help - Replies (1)

[quote]
Hello, Id like to know if is possible to pass a list of parameters to the following url: https://api.kraken.com/public/Ticker?pair='ADAUSD'
..... More

Print this item

  trying to write a dictionary in a csv file
Posted by: CompleteNewb - Mar-03-2022, 07:36 PM - Forum: General Coding Help - Replies (13)

I'm trying to write the dictionary straightlist in a csv file like this

Rank , Hand
1,[['10', 'X'], ['11', 'X'], ['12', 'X'], ['13', 'X'], ['14', ..... More

Print this item

Question Change Treeview column color?
Posted by: water - Mar-03-2022, 06:40 PM - Forum: GUI - Replies (3)

In tkinter Treeview, use tags just could be change something by row, can I change something by column?
[python]
from tkinter import Tk, ttk

root_..... More


Attached Files

Thumbnail(s)
   
Print this item

  How can I add an end line character after every value that I receive?
Posted by: GiggsB - Mar-03-2022, 08:56 AM - Forum: General Coding Help - Replies (11)

Hi,
I have the below python code. I am using the UART communication protocol to get data from a microcontroller. Currently, I am sending an end line ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Pandas read_csv
Posted by: markf7319 - Mar-03-2022, 04:59 AM - Forum: Data Science - No Replies

I am trying to import data via pandas read csv module and create a simple graph using the data. One consists of a 5 day time frame set to the variabl..... More


Attached Files

Thumbnail(s)
       
Print this item

  ping program in Python
Posted by: Skaperen - Mar-02-2022, 11:17 PM - Forum: News and Discussions - Replies (13)

i am looking for a Python3 implementation of the ping program. i've already done one that invokes /bin/ping and it is too awkward to do what i want (..... More

Print this item

  Generate Python variables dynamically
Posted by: Pedroski55 - Mar-02-2022, 10:51 PM - Forum: General Coding Help - Replies (5)

For getting data from MySQL and displaying it in my output.php, I dynamically create PHP variables

[quote]$i = 0;
$j = 0;
foreach($allQsdata as $..... More

Print this item

  Lists
Posted by: Leo - Mar-02-2022, 10:25 PM - Forum: Homework - Replies (3)

Hello everyone
I am very close to being able to finish this one. I just have a formatting issue that my professor requires be done in a certain way.
H..... More

Print this item

  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: 310)
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

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... 576023
  Tutorial Requ... 497463
  Web Scraping ... 439986
  Newbie with P... 383736
  New Users Int... 366211
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