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,391
» Latest member: taylorlitleoz476
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 60
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 233
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,070
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,892
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 138
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 83
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 150
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,297
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 110
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 757

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580370
  Tutorial Requ... 519124
  Web Scraping ... 442771
  Newbie with P... 386955
  New Users Int... 386281
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
taylorlitleoz476 Today
desy845 Today
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday

User Panel Messages

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