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,235
» Latest member: Alfredd
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 3
» Views: 62
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
5 hours ago
» Replies: 3
» Views: 85
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 62
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 96
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,008
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,360
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,548
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 176
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,191
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,436

 
  how to capture output from license() in one Python process?
Posted by: Skaperen - Dec-08-2022, 03:35 AM - Forum: News and Discussions - No Replies

how to code a script that can capture the output from the license() function in one Python process (not running a 2nd instance to capture outpu..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 10:27 PM - Forum: Networking - Replies (4)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  filedialog, open a file error
Posted by: liketocode - Dec-07-2022, 07:55 PM - Forum: GUI - Replies (4)

Hello

I would like to know how to avoid an error when i close the window instead of choosing a file to open.
Window that show after clicking on "..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 04:11 PM - Forum: General Coding Help - Replies (1)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  rotate error function
Posted by: schniefen - Dec-07-2022, 02:40 PM - Forum: Homework - No Replies

I would like to rotate a function that is defined in terms of the error function, see here. I ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Return the [Date] that within the last 14 days
Posted by: bnadir55 - Dec-07-2022, 01:09 PM - Forum: General Coding Help - Replies (5)

Hi, I have a column [Date] in df that return date in this format : 20220628T065216.437 GMT
I need to return the [Date] that within the last 3 days,
tr..... More

Print this item

  How do you create a scatterplot of dataframe using matplotlib?
Posted by: asdad - Dec-07-2022, 01:00 PM - Forum: General Coding Help - Replies (2)

A very simple question.

I tried looking for how to make a scatterplot with matplotlib (as usual, the official documentation was irrelevant) ..... More

Print this item

  Cube drawing for 3D Tic-Tac-Toe Python game
Posted by: freethrownucleus - Dec-07-2022, 12:27 PM - Forum: GUI - Replies (7)

Hi, I need some help.
I need to draw a cube (like this) [Image: 8HGHVN].
If anyone could help, I would really appreciate it! :..... More


Attached Files

Thumbnail(s)
   
Print this item

  Setting For Loop Counter
Posted by: rturus - Dec-07-2022, 12:21 PM - Forum: General Coding Help - Replies (2)

I am trying to set the counter to the one less if the input does not match with list. However, it seems that it does not set the counter. Any idea ple..... More

Print this item

  merge two csv files into output.csv using Subprocess
Posted by: mg24 - Dec-07-2022, 08:11 AM - Forum: General Coding Help - Replies (9)

Hi Team,

I want to merge two csv files, data1.csv and data2.csv , and create Output.csv


via command line this script works.
copy /b D:\output..... More

Print this item

  Write Null values as 0.0 (float) type in csv
Posted by: mg24 - Dec-07-2022, 06:46 AM - Forum: General Coding Help - Replies (3)

Hi Team,

with the below code I am extracting sql table data into CSV File with delimiter '|'

in SQL Table,in some fields ['Market Price',"Sprea..... More

Print this item

  Python Resample: How do I keep NaN as NaN?
Posted by: JaneTan - Dec-07-2022, 02:11 AM - Forum: General Coding Help - Replies (3)

When resample from monthly data to quarterly, I want my last value NaN to remain as NaN. How should I tweak my code?

Thank you

[img]https://i.st..... More

Print this item

  Binary tree
Posted by: AlexPython - Dec-06-2022, 09:28 PM - Forum: General Coding Help - Replies (3)

let said that I get a randomly created array of 12 numbers for this tree below instead of having the number picked by me, should I hand-pick the root?..... More

Print this item

  UTF-8 and UTF-16
Posted by: garynewport - Dec-06-2022, 07:09 PM - Forum: General Coding Help - Replies (5)

I encountered an interesting problem in that PowerShell under Windows 11 will create any new file as UTF-16 instead of UTF-8. It is possible to set Po..... More

Print this item

  Ldap3 and windows authentication
Posted by: Valerian - Dec-06-2022, 02:59 PM - Forum: News and Discussions - No Replies

Hi everybody,

Is anyone already has find a way to use the windows gMSA to bind with ldap3 ?

I'm kind of stuck.

Print this item

  telnetlib error
Posted by: 3lnyn0 - Dec-06-2022, 02:16 PM - Forum: General Coding Help - Replies (1)

Hi! Please help, what is wrong with my code?
I don't know where is the problem. :(

[python]import getpass
import telnetlib

HOST = 'routers'
u..... More

Print this item

  Counting Duplicates in large Data Set
Posted by: jmair - Dec-06-2022, 01:52 PM - Forum: Data Science - Replies (3)

My students and I were discussing the difference between possible and probability when it comes to lottery numbers. Is the sequence 1 2 3 4 5 6 just a..... More

Print this item

  Dictionary help
Posted by: iuno - Dec-06-2022, 09:12 AM - Forum: General Coding Help - Replies (5)

I am working on a simple telnet program that interacts with a Lutron lighting system. The Lutron system allows me to enter a monitoring mode where it ..... More

Print this item

  using paramiko to see resualt
Posted by: korenron - Dec-06-2022, 08:43 AM - Forum: General Coding Help - Replies (4)

Hello,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
[python]
answer = ssh.e..... More

Print this item

  How I could do that in the best way?
Posted by: Kalet - Dec-06-2022, 07:00 AM - Forum: General Coding Help - Replies (5)

Hi, I would like to know if there is a way to validate the '{}' when I receive them in a function. For example, I receive a URL and I have two paramet..... More

Print this item

  Is it possible to see dependencies before installing a package?
Posted by: quazirfan - Dec-06-2022, 06:31 AM - Forum: General Coding Help - Replies (4)

I want to see the list of dependencies(packages) a given package depends on before installing the package.

For example, pandas depend on numpy. Is ..... More

Print this item

  List joining
Posted by: deatz - Dec-05-2022, 07:50 PM - Forum: Homework - Replies (14)

Good day,

I have searched and read and tried options for days... I know it must be simple, yet here I am.

I am creating a list from two user inp..... More

Print this item

  Syntax error
Posted by: tibbj001 - Dec-05-2022, 06:12 PM - Forum: General Coding Help - Replies (2)

I'm getting a Syntax error on the final line, unsure why?

[python]# Function to prepare data for deep learning
def prepare_dl_data(data):
# ..... More

Print this item

  Validating Dataframe Using Second Dataframe
Posted by: tdbozarth - Dec-05-2022, 06:03 PM - Forum: Data Science - No Replies

Hello all,

I am new to Python but not new to programming. I have a datafile of 28k rows x 18cols (skudata) that I am loading into a dataframe (cat..... More

Print this item

  Advent of Code
Posted by: astral_travel - Dec-05-2022, 06:01 PM - Forum: General Coding Help - Replies (29)

hey,
i'm trying the advent of code challange,

i currently have the following code:

[python]
input_file = open("/home/tal/PycharmProjects/pythonProje..... More


Attached Files

.txt   input.txt (Size: 10.22 KB / Downloads: 232)
Print this item

  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync'
Posted by: stsxbel - Dec-05-2022, 02:07 PM - Forum: General Coding Help - Replies (2)

Good afternoon. I installed a new server, installed pymodbus via pip, uploaded my scripts that worked on the old server, but when I start it, I get an..... More

Print this item

  seaching for a library: nondeterministic letter manipulation in sentences
Posted by: Myron - Dec-05-2022, 11:59 AM - Forum: General Coding Help - Replies (2)

I'm looking for a non-deterministic python library for:
Given a sentence string, manipulate it such that its meaning is not changed but the letters a..... More

Print this item

  Python Logic Error
Posted by: rmfooty - Dec-05-2022, 11:38 AM - Forum: General Coding Help - Replies (3)

Hi all. I came across a really weird error in python. I have tried updating to the latest version of python. When the following code is run, the resul..... More

Print this item

  Trying to loop through code to plot seaborn line plots across multiple subplots
Posted by: eyavuz21 - Dec-05-2022, 10:46 AM - Forum: General Coding Help - No Replies

Hey all,

I am trying to loop through a dataframe 'out' and create a separate subplot for each group and level.

There are 35 gro..... More

Print this item

  (off) and (on) sequence
Posted by: AlexPython - Dec-05-2022, 01:48 AM - Forum: General Coding Help - Replies (6)

Hello. What I trying to do is a sequence of nodes that will be connected to each other and pass power if they are on.
I tried doing it as if I was do..... More

Print this item

  Add group number for duplicates
Posted by: atomxkai - Dec-04-2022, 11:14 PM - Forum: Data Science - Replies (2)

Hi, looking how to add sequence and group them by numbers for duplicates.

index raw count group number filename Number of Pages CRITERIA
0 1 1 1 f..... More


Attached Files

Thumbnail(s)
   
Print this item

Exclamation How could I fix these errors ?
Posted by: needhelp - Dec-04-2022, 05:38 PM - Forum: General Coding Help - Replies (3)

Hello, I have a problem so I hope some programmers can help me solve it.

Basically I run this:

[python]import whisper

model = whisper.load_mo..... More

Print this item

  Push video to left and remove background
Posted by: finndude - Dec-04-2022, 05:06 PM - Forum: General Coding Help - Replies (12)

Hi All,

I have the below code:

[python]

from tkinter import *
from tkinter.filedialog import askopenfile
from tkVideoPlayer import TkinterV..... More

Print this item

  Test post of Thread as user Xenex_ultra122
Posted by: Xenex_ultra122 - Dec-04-2022, 02:53 PM - Forum: Board - No Replies

Test 12345678p
Test bye @snippsat as user Xenex_ultra122

Print this item

  [Solved]Help to iterate through code
Posted by: Extra - Dec-04-2022, 01:57 AM - Forum: General Coding Help - Replies (7)

Hello,

I have a code that tracks the price of a product on Amazon.

I made an SQLite table that stores the: Product, URL, Alert_Price.

Further..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 2 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 5 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 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
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578667
  Tutorial Requ... 509038
  Web Scraping ... 441833
  Newbie with P... 385779
  New Users Int... 375008
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 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday

User Panel Messages

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