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,238
» Latest member: Reema
» Forum threads: 38,776
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 34 Guest(s)
Bing, Google, AOL, Apple

Latest Threads
print two different seque...
Forum: General Coding Help
Last Post: Gribouillis
6 minutes ago
» Replies: 4
» Views: 2,878
Data Science
Forum: Data Science
Last Post: mamta25
16 minutes ago
» Replies: 3
» Views: 2,559
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
7 hours ago
» Replies: 1
» Views: 95
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 144
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 124
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 124
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,269
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,378
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,577
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 205

 
  NaN when creating a new column...
Posted by: Menthix - Mar-14-2022, 05:32 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm trying to create a new column on a dataframe which counts the number of distinct elements of a variable (VAR2) according to the values of ano..... More

Print this item

Exclamation Error when plotting a graph.
Posted by: Oshadha - Mar-14-2022, 03:48 PM - Forum: General Coding Help - Replies (3)

I have been trying to make a python program that will get the values : m, x, c. And plot a graph using the equation y = mx+c.
Im also adding a gui to..... More

Print this item

  Ldap3 Python print(conn.entries) doesnt work
Posted by: ilknurg - Mar-14-2022, 02:14 PM - Forum: General Coding Help - Replies (15)

I have the code below for ldap search.
I want to save my search result as json.
why

print(conn.entries)
doesnt work?




[pyt..... More

Print this item

  Help with multi-window system
Posted by: garynewport - Mar-14-2022, 01:01 PM - Forum: General Coding Help - Replies (3)

I am developing a multi-window system using Python and tkinter. Though I am, in no way, new to programming (or Python) this aspect is new to me. Previ..... More

Print this item

  How to use a variable in linux command in python code?
Posted by: ilknurg - Mar-14-2022, 06:46 AM - Forum: General Coding Help - Replies (2)

I have a python code. In my code I run this commands via os.system. How can i give sAMAccountName as a parameter?

I have a variable which is name. ..... More

Print this item

  Matplotlib Problem
Posted by: DaveG - Mar-14-2022, 04:05 AM - Forum: General Coding Help - No Replies

Hi - I'm so desperate to get a script working, is anybody up for a challenge please?. It fails with this comment:

[error]/usr/lib/python2.7/dist-pa..... More

Print this item

  How to perform DESC table sort on dates stored as TEXT type.
Posted by: hammer - Mar-14-2022, 02:49 AM - Forum: General Coding Help - Replies (7)

SQLite does not offer a Date type in the drop down that i could find. I think i read to use TEXT type for dates. When i return a query using DESC for..... More

Print this item

  looking for list help
Posted by: tsathvik - Mar-14-2022, 12:03 AM - Forum: General Coding Help - Replies (1)

Here is the program which I was trying to write but I was not getting output as expected.

Program: ask user to take two inputs first input as list..... More

Print this item

  Keeping a value the same despite changing the variable it was equated to
Posted by: TheTypicalDoge - Mar-13-2022, 08:25 PM - Forum: General Coding Help - Replies (2)

I'm beginning to learn Python and I've come across a problem that is foreign to me as a past Lua programmer. I've noticed that after appending a varia..... More

Print this item

  base64 decoding
Posted by: paul18fr - Mar-13-2022, 05:56 PM - Forum: Data Science - No Replies

Hi
After decoding xml data encoded in base64, I've to following bytes: how to convert it to a readable format?
All I've tested failed.
It can be i..... More

Print this item

  Neural network and data analysis from clients survey result
Posted by: pthon3 - Mar-13-2022, 05:54 PM - Forum: Data Science - Replies (2)

How to make neural network and data analysis?

Positive ratio of clients
1.
Quality 543210
Comfortable 54..... More

Print this item

  Checking the number of input
Posted by: Chrilo06 - Mar-13-2022, 01:09 PM - Forum: Homework - Replies (3)

Hi, I have this homework that I am currently having trouble at. How can I check multiple input of a user if everything is equal? and if it is not equa..... More

Print this item

  Sending Emails on Autopilot
Posted by: Gyga_Hawk - Mar-13-2022, 10:17 AM - Forum: General Coding Help - Replies (3)

Hello Python Knights

I would like to build a project,
The features are the following:

I would like to build a project for sending emails using ..... More

Print this item

  Exercism with Python
Posted by: Gyga_Hawk - Mar-13-2022, 10:12 AM - Forum: Homework - Replies (8)

Hello

This is my first post on this forum
I am new to Python and programming

I would like to do the first exercise on exercism, The Hello Worl..... More

Print this item

  display error, png with transparent background
Posted by: flash77 - Mar-13-2022, 09:12 AM - Forum: Game Development - Replies (4)

Dear community,

I display a paddle and a ball in a breakout game.

I've got an error concerning the display of the paddle.

Both pictures (ball..... More


Attached Files

Thumbnail(s)
       
Image(s)
   
Print this item

  Matplotlib Functions
Posted by: DaveG - Mar-13-2022, 12:29 AM - Forum: General Coding Help - Replies (1)

Hi

I'm failing to load the function 'Matplotlib.pyplot.contour()' in PyCharm on the basis that pip is not supported for the version Python 2.7 I a..... More

Print this item

  Controlling text-to-speech pauses with pyttsx3
Posted by: pmac1300 - Mar-12-2022, 11:48 PM - Forum: General Coding Help - Replies (4)

I have a list of words that I want Python to turn into speech:

[python]import pyttsx3
import time

words = ['this','is','my','list']

engine =..... More

Print this item

  Error 'Contour' not Defined
Posted by: DaveG - Mar-12-2022, 10:56 PM - Forum: General Coding Help - Replies (3)

Hi - I'm new to Python and are working with debugging a script that was developed for Python 2.7.

This is my error:
[error]Traceback (most recent ..... More

Print this item

  why is my list a tuple
Posted by: CompleteNewb - Mar-12-2022, 09:54 PM - Forum: General Coding Help - Replies (7)

i have this code:

[python]
hand = []
card = []
flop = []
turn = []
river = []
outs = []
possiblefullhouse = False
cardsdrawn = []


play..... More

Print this item

  GUI programming PyQt 5 + Qt Designer
Posted by: flash77 - Mar-12-2022, 12:33 PM - Forum: GUI - Replies (9)

Dear community,

I'm new to python and I'm trying to generate a GUI with Qt Designer and python.

In the Qt Designer I made a file "Musikauswahl.u..... More

Print this item

  [Solved] Retrieving a pdf from sqlite3
Posted by: BigMan - Mar-12-2022, 05:12 AM - Forum: General Coding Help - Replies (4)

What I am trying to do
pdf files are stored in my sqlite3 database as blobs.
I want to select one specific pdf file and save it as a file.
..... More

Print this item

  Wait til a date and time
Posted by: KatManDEW - Mar-11-2022, 04:56 PM - Forum: General Coding Help - Replies (2)

Hello. I've been working with dates and times and I'm trying to figure out how to get python to wait for a specific date and time to perform an operat..... More

Print this item

  Sympy Tutorial Series
Posted by: Knight18 - Mar-11-2022, 03:25 PM - Forum: Tutorial Requests and Submissions - No Replies

SymPy is a Scientific Computation Library in Python, used for an extensive range of mathematical tasks, such as Creating and Solving Expressions, Crea..... More

Print this item

  Print variable between "
Posted by: paulo79 - Mar-11-2022, 01:18 PM - Forum: General Coding Help - Replies (5)

Hi all,

I'm trying to print variable between " (double quotes) .
Code is below:

[python]import cx_Oracle as oracledb
import xml.etree.Element..... More

Print this item

  Ldap Search for finding user Groups
Posted by: ilknurg - Mar-11-2022, 11:39 AM - Forum: General Coding Help - Replies (1)

I want to do ldap search for finding users groups.

I have this. I doesnt totally give me the result that i want but it works. If you have a query t..... More

Print this item

  Count occurences in a string and add to a list using loops
Posted by: Leyo - Mar-11-2022, 11:01 AM - Forum: Homework - Replies (4)

Good morning,

May I ask for some help with this homework please?:

[quote]
We're given a string called text:

[python]text=""" \
I want a he..... More

Print this item

  How to seperate dict value?
Posted by: ilknurg - Mar-11-2022, 09:26 AM - Forum: General Coding Help - Replies (2)

How can i seperate ip address and mac addresses??


['192.168.1.240,fe80::350e:d28d:14a5:5cbb']

Print this item

  How can I organize my code according to output that I want
Posted by: ilknurg - Mar-11-2022, 08:24 AM - Forum: General Coding Help - Replies (1)

Hi everyone. I have the code below.

[python]import json

with open('data6.json') as f:
data = json.load(f)
for item in data:
f..... More

Print this item

  Class exceptions
Posted by: DPaul - Mar-11-2022, 08:16 AM - Forum: General Coding Help - Replies (1)

Hi,
Question without code, I'm looking for best practice.
Simplified: a program imports a class "sphere.py".
In sphere.py, 3 functions: Circonf(),..... More

Print this item

  Convert Scanned PDF to Searchable PDF
Posted by: fuzzin - Mar-11-2022, 03:38 AM - Forum: General Coding Help - Replies (3)

I'm making software in python and I need to convert a scanned pdf into a digital pdf that is searchable. Using OCRMyPDF module, but the process is ver..... More

Print this item

  Functions
Posted by: Leo - Mar-11-2022, 01:51 AM - Forum: Homework - Replies (5)

Hello everyone
The only problem I have here is printing the distance between two points. The program asks the user to input 2 values and then appends..... More

Print this item

  playing .wav sound file with sounddevice
Posted by: shift838 - Mar-10-2022, 11:06 PM - Forum: General Coding Help - Replies (5)

I have worked out how to play the file and I am using a PyQT5 form i created. Nothing fancy.

So I want to be able to update a status message to st..... More

Print this item

  Building SQLite Query
Posted by: OogieM - Mar-10-2022, 09:49 PM - Forum: General Coding Help - Replies (10)

I am creating a query on the fly based on user inputs. I have separated my code into building the SELECT statements, the JOIN caluses and finally the ..... More

Print this item

  Get cell name from XML file
Posted by: paulo79 - Mar-10-2022, 09:47 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have an oracle table with CLOB column type with this content below:

[quote]
<?xml version="1.0" encoding="utf-8" ?>
<cli-output>..... More

Print this item

  Dynamic checkbox treeview issue
Posted by: OogieM - Mar-10-2022, 09:14 PM - Forum: GUI - Replies (8)

I'm trying to use a checkbox treeview to display the results of an SQLite query. I build the query's SELECT, JOIN and WHERE clauses on the fly based o..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print two different seque... 6 minutes ago mantonegro Gribouillis General Codin...
  Data Science 16 minutes ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 7 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... 578719
  Tutorial Requ... 509376
  Web Scraping ... 441864
  Newbie with P... 385821
  New Users Int... 375269
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
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08

User Panel Messages

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