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, Google, AOL, AOL, Mojeek

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

 
  Solving an equation by brute force within a range
Posted by: alexfrol86 - Mar-17-2022, 05:31 AM - Forum: General Coding Help - Replies (3)

Hello! I try to solve the equation sqrt(x**2 + y**2) by brute force within the range [0, 10]. Please help me make this code work

[python]def eq(x, y)..... More

Print this item

  Matplotlib Functions
Posted by: DaveG - Mar-17-2022, 01:46 AM - Forum: Homework - Replies (6)

Hi

I'm running a script in Python3 that is calling for the module matplotlib.pyplot for which I get a message

> pip install pyplot
ERROR: Could..... More

Print this item

  I get attachment paperclip on email without any attachments
Posted by: monika_v - Mar-16-2022, 09:40 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to send a simple email with the code below:

[python]import smtplib
from email.mime.multipart import MIMEMultipart
from email.mi..... More


Attached Files

Thumbnail(s)
   
Print this item

Big Grin Variable flag vs code outside of for loop?(Disregard)
Posted by: cubangt - Mar-16-2022, 07:58 PM - Forum: General Coding Help - Replies (2)

No need for flag, mode code around and works like a champ. Big Grin

So i have the following logic and would like to add a flag or setup in a w..... More

Print this item

  Bluetooth > Raspberry Pi 0 > UDP message
Posted by: georgroth - Mar-16-2022, 03:04 PM - Forum: Networking - No Replies

Hi guys

(sorry for this greenhorn question)

Hopefully you can help me and give me a hint whether it is difficult to create.

I have an Anemome..... More

Print this item

  Display name of a pc connected over lan
Posted by: fatopeo - Mar-16-2022, 09:37 AM - Forum: Networking - Replies (1)

Hi guys.
On my lan i have the following pc (ip -> pc name):
[quote]
192.168.0.1 → pc01
192.168.0.114 → pc02
192.168.0.118 → pc03
192.168.0.136 ..... More

Print this item

  How can i parse my output?
Posted by: ilknurg - Mar-16-2022, 08:39 AM - Forum: General Coding Help - Replies (4)

I have this code script for ldap search.
I want to find user's group.

[python]
import ldap


username = "user1"
l = ldap.initialize("ldap://..... More

Print this item

  Python 3.9.11 release?
Posted by: raghupcr - Mar-16-2022, 07:01 AM - Forum: News and Discussions - Replies (3)

Hi Team,

Do any one have idea about the release date of python 3.9.11 version ( with libexpat 2.4.8 version)
we have critical issues in libexpat t..... More

Print this item

  SyntaxError
Posted by: DaveG - Mar-16-2022, 05:30 AM - Forum: General Coding Help - Replies (3)

Hi

Could someone identify the reason for my syntax error in the python2 script please?

[error] File "init_collapse.py", line 223
print(("%..... More

Print this item

  asking help
Posted by: JHONG_JOBANIE1995 - Mar-16-2022, 02:48 AM - Forum: Homework - Replies (5)

Create
a python script which accepts the Employee name (string), Number of
working hours (int), SSS contribution, Philhealth, Housing loan (all
flo..... More

Print this item

  recusive generator
Posted by: Skaperen - Mar-16-2022, 02:28 AM - Forum: News and Discussions - Replies (2)

i have an algorithm i want to implement. it produces a sequence of number pairs in some order, hence a generator seems to be the way to go. a varian..... More

Print this item

  Find and delete above a certain line in text file
Posted by: cubangt - Mar-15-2022, 08:24 PM - Forum: General Coding Help - Replies (12)

So i have a text file with the following line structure: (In some cases the text file has thousands of rows)

3/8/22, 4:06 PM, String Value
3/8/22,..... More

Print this item

  Showing data change
Posted by: korenron - Mar-15-2022, 01:40 PM - Forum: General Coding Help - Replies (10)

Hello,
I want to do the following
I'm reading canbus data and I want to "save" every ID - then show if I got different data from this PID , and sh..... More

Print this item

  Not able to figure out what is wrong with argparse
Posted by: radioactive9 - Mar-15-2022, 11:47 AM - Forum: General Coding Help - Replies (31)

Hello

I am facing a very unique issue. I have written the following code which will be called by a Tool and pass certain arguments. I was using arg..... More

Print this item

  Hiring expierenced coder with instagram
Posted by: stab - Mar-15-2022, 02:03 AM - Forum: Jobs - No Replies

I am wanting a fully customizable turbo featuring mass account priming, target queuing, multiple target swapping, proxy scoring/switching and autoload..... More

Print this item

  [Solved] Novice question to OOP: can a method of class A access attributes of class B
Posted by: BigMan - Mar-14-2022, 11:03 PM - Forum: General Coding Help - Replies (1)

I am lacking basic knowledge of Object Oriented Programming.

The situation
Let's assume within a main function I have created two instances..... More

Print this item

  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

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... 576002
  Tutorial Requ... 497430
  Web Scraping ... 439966
  Newbie with P... 383715
  New Users Int... 366178
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
NonEntity 6
python 6
metulburr 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