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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 57 online users.
» 0 Member(s) | 51 Guest(s)
Applebot, Google, Mojeek, AOL

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
1 hour ago
» Replies: 11
» Views: 3,901
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 432
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,428
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 789
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,259
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,136
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,354
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,341
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,463
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,024

 
  Why use classes?
Posted by: metulburr - Aug-13-2021, 10:56 AM - Forum: Fundamentals - No Replies

This is a tutorial that uses an example of non class code and converts it to use classes. This is not meant to be an in depth conversation about class..... More

Print this item

  Make rectangle snap to other rectangle corners
Posted by: Pedroski55 - Aug-13-2021, 09:22 AM - Forum: Game Development - Replies (2)

I would like to make the moveable rectangle r0 snap to the other rectangle corners when I move it near them with the mouse.

That is, if say any cor..... More

Print this item

  ACK packets forged issues: “This frame is a (suspected) retransmission”
Posted by: None - Aug-13-2021, 09:06 AM - Forum: Networking - Replies (1)

I'm playing with scapy. I'm trying to forge JUST PSH/ACK and ACK packets in sequence
I coded two tools: A which sends PSH/ACK packets a..... More

Print this item

  Errors in serial data
Posted by: Joni_Engr - Aug-13-2021, 07:00 AM - Forum: Networking - Replies (4)

Hi,

I get errors in serial data in my python program but when I use PuTTY I get clean data without errors. I am not sure if I am writing the seria..... More

Print this item

  Summing up rows and columns
Posted by: plumberpy - Aug-13-2021, 04:56 AM - Forum: General Coding Help - Replies (3)

result = [[1, 2, 3, 4],
          [5, 6, 7, 8],
          [9, 10, 11, 12],
          [13, 14, 15, 16]]

qq = sum(result[3])
A..... More

Print this item

  Beginner question NameError
Posted by: amazing_python - Aug-13-2021, 03:16 AM - Forum: General Coding Help - Replies (6)

I i have this two lines:

name = input("Enter your name: ")
print("Hello " + name + "!")
Here is what I got:
[error]Enter your..... More

Print this item

  how to run a python script in the background on my wordpress website
Posted by: rockie12us - Aug-12-2021, 11:14 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi all
I have a python script I would that I would like to have running all the time in the background that looks at values in the wordpress website'..... More

Print this item

  Why is it not printing out
Posted by: dedesssse - Aug-12-2021, 04:50 PM - Forum: Game Development - No Replies

Im trying to make an own "collision" which you can first see in "world_Data" in the class world.coll. But the world data is not updating it and all th..... More

Print this item

  Loop with choose
Posted by: Irv1n - Aug-12-2021, 03:34 PM - Forum: General Coding Help - Replies (5)

Hello,
I have this script:
[python]
acw = [0.500, 0.750, 1.000, 1.500, 2.000, 3.000, 3.500, 4.000, 4.500, 5.000]
for rang in acw:
dmm.set_mod..... More

Print this item

  Problem with barPlot
Posted by: ghnunes - Aug-12-2021, 12:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to plot this bar graph where the values ​​from one bar to the other are very close (we have a difference in the second to third decima..... More


Attached Files

.zip   graficos2.zip (Size: 162.92 KB / Downloads: 461)
Print this item

  Extracting Graphics From A Dos Game Job
Posted by: eddywinch82 - Aug-12-2021, 12:02 PM - Forum: Jobs - Replies (6)

Hi there,

I have a Coding Job I need doing, I would like to extract, External WWII Aircraft Graphics, from a DOS game called
Secret Weapons Of The..... More

Print this item

  doubt about python tkinter and sqlite3
Posted by: LONDER - Aug-12-2021, 11:18 AM - Forum: General Coding Help - Replies (2)

Hi
i'm trying to create a registration form with python tkinter sqlite3, but i have a problem, when i do the update of just one record record, all th..... More

Print this item

  Python API for Wordpress
Posted by: Simlock - Aug-12-2021, 10:26 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I am asked to create a python API that would allow to interact with a Wordpress site and the WooCommerce plugin.

I can exchange with the ..... More

Print this item

  Why changing data in a copied list changes the original list?
Posted by: plumberpy - Aug-12-2021, 08:09 AM - Forum: General Coding Help - Replies (3)

[python]results=[[1,2,3,4,5],
[11,22,33,44,55],
[111,222,333,444,555]]

#results2=results.copy()
results2=results[:]
results2[..... More

Print this item

  Which is the best tennis racket for beginners?
Posted by: jikion - Aug-11-2021, 08:21 PM - Forum: Bar - Replies (3)

Hi Everyone! Can anyone recommend me best racket for beginners? I am just new to tennis so I don't have any experties about it. Waiting for your sugge..... More

Print this item

  How to get OpenCV to display entire camera frame?
Posted by: George713 - Aug-11-2021, 07:46 PM - Forum: General Coding Help - Replies (1)

I'm using a 180 degree FOV fisheye camera for a project and am having difficulty getting OpenCV to display the entire camera frame. When I open the ca..... More

Print this item

Question Problem: Check if a list contains a word and then continue with the next word
Posted by: Mangono - Aug-11-2021, 04:13 PM - Forum: General Coding Help - Replies (2)

I'm new to Python and while I have some experience with Java, I haven't coded in a long time. I'm currently trying to adapt a word search solver from ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Generate a string of words for multiple lists of words in txt files in order.
Posted by: AnicraftPlayz - Aug-11-2021, 02:08 PM - Forum: General Coding Help - Replies (2)

Ok, so I want to make something that takes some text files with lists of words in them and outputs every combination of those words in order. For exam..... More

Print this item

  enter string into list according to a known rule
Posted by: korenron - Aug-11-2021, 01:42 PM - Forum: General Coding Help - Replies (10)

Hello,
I want to make the following :
today I'm reading canbus data in this form (the data is string type)
[python]Data = d8 59 80 a2 c8 be f4 92[..... More

Print this item

  Override a library function that is not in __all__
Posted by: Weird - Aug-11-2021, 01:12 PM - Forum: General Coding Help - Replies (7)

Greetings Community,

I would like to override a function of the library of networkx that is not included in __all__.

More speci..... More

Print this item

  requests.post() does work
Posted by: Alto - Aug-11-2021, 01:01 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I started very recently in "python" and especially in "sraping" for work.
I connect to the site: "https:/ip/login" for authentication, no wor..... More


Attached Files

Thumbnail(s)
   
Print this item

  best way to use switch case?
Posted by: korenron - Aug-11-2021, 12:43 PM - Forum: General Coding Help - Replies (8)

Hello.
I'm reading data that could have ~ 20 differents options (PID from canbus)
what would be the best way to analayze it?
using switcher case?..... More

Print this item

  input data validation
Posted by: plumberpy - Aug-11-2021, 09:58 AM - Forum: General Coding Help - Replies (2)

[python]while True:
try:
x = int(input("Please enter a number: "))
break
except ValueError or x>10:
print("O..... More

Print this item

  coding help!!!
Posted by: zero1 - Aug-11-2021, 07:53 AM - Forum: General Coding Help - Replies (8)

how to plot graph without using any lib

Print this item

  Installing lxml and getting this warning
Posted by: Led_Zeppelin - Aug-10-2021, 08:36 PM - Forum: General Coding Help - Replies (5)

I am running 64 bit Windows 10. I am trying to install lxml with the follwinng command

pip install lxml 
When I do that I g..... More

Print this item

  Why can't I explicitly call __bool__() on sequence type?
Posted by: quazirfan - Aug-10-2021, 08:05 PM - Forum: General Coding Help - Replies (11)

In this code, if foo: python will call foo.__bool__() implicitly to get the boolean value of foo. Which is why the following code segments work,..... More

Print this item

  problem with radio button
Posted by: crook79 - Aug-10-2021, 06:59 PM - Forum: GUI - Replies (3)

hello i have a problem with radiobutton. I would like to have the following effect:
1. All radio buttons should be unchecked at the start.
2. When I..... More

Print this item

  'namespace' shorthand for function arguments?
Posted by: shadowphile - Aug-10-2021, 06:55 PM - Forum: General Coding Help - Replies (5)

(using 3.9)
I tried to search for this subject but couldn't find the right wording (typical problem).
I have a function I am passing an object with ..... More

Print this item

  Hiring: Consulting Manager, DFIR - Remote within United States
Posted by: patpat - Aug-10-2021, 06:34 PM - Forum: Jobs - No Replies

Job Title: Consulting Manager, DFIR

Job Family: Incident Response

Work Location: Remote within United States

Reports to: Senior Director, ..... More

Print this item

  Win32\ping.exe windows pops up -very annoying...
Posted by: tester_V - Aug-10-2021, 06:22 PM - Forum: General Coding Help - Replies (9)

Greetings!
I'm running a script that uses:

import wmi
from socket import *
I'm scanning a subnet and if found an active IP it..... More

Print this item

  things that work in terminal mode but not in sublime mode
Posted by: alok - Aug-10-2021, 03:46 PM - Forum: General Coding Help - Replies (4)

I noticed, as an example in the Python Crash Course book . . . on pags 23 when usng terminal mode for the favorite_language example ( for .rstrip(), e..... More

Print this item

  how to change the font style on Linux?
Posted by: laylalogan337 - Aug-10-2021, 12:45 PM - Forum: General Coding Help - Replies (2)

I have a question is that how to change the fonts style in Linux I newly used Linux but I don't know how to change the fonts style in Linux if anyone ..... More

Print this item

  python-can help
Posted by: korenron - Aug-10-2021, 11:36 AM - Forum: General Coding Help - Replies (3)

Hello,
I want to start a project of reading canbus data using python-can.
i want to be able to save the data\pid and analyze it
I took the first ..... More

Print this item

  Message='int' object is not subscriptable
Posted by: DanielCook - Aug-10-2021, 10:47 AM - Forum: General Coding Help - Replies (4)

I'm trying to make battle ships in python and for program works for the most part apart from supposedly randomly when the computer is generating coord..... More

Print this item

  [TKINTER] Problems creating directories in a selected path
Posted by: Vulera - Aug-10-2021, 03:57 AM - Forum: GUI - Replies (2)

Hello.

I believe that my problem is easy to be solved, but I've already researched it in forums and other websites but I couldn't solve it.

I'm ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 1 hour ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 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...
Most views
  The best Prog... 576331
  Tutorial Requ... 498065
  Web Scraping ... 440243
  Newbie with P... 384094
  New Users Int... 366977
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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