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,934
» Latest member: winchestersam
» Forum threads: 38,722
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 36 Guest(s)
Bing, Google, AOL, Facebook, AOL, winchestersam

Latest Threads
Recovery of my lost solan...
Forum: General Coding Help
Last Post: winchestersam
3 minutes ago
» Replies: 0
» Views: 1
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
31 minutes ago
» Replies: 0
» Views: 2
Too much space between gr...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 3
» Views: 908
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 358
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,496
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,543
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 425
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 133
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,926
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,179

 
Sad Newbie needs help part 2
Posted by: dvejsa - Sep-07-2022, 07:12 PM - Forum: General Coding Help - Replies (14)

Hello once again guys! im back with yet another question regarding my car script :P
some text or all text is in Swedish, I apoligize for that :D
Im ..... More

Print this item

  How to print the output of a defined function
Posted by: bshoushtarian - Sep-07-2022, 06:42 PM - Forum: General Coding Help - Replies (4)

How to print the output of make_matrix function defined in the following code:

[python]from typing import List, Callable
Matrix = List[List[float]..... More

Print this item

  Tkinter + Multiprocessing startmap makes UI Freeze
Posted by: sunny9495 - Sep-07-2022, 05:13 PM - Forum: General Coding Help - Replies (4)

Hi,

the UI freezes when apply the following code to the tkinter

[code]
from selenium import webdriver
from selenium.webdriver.chrome.options i..... More

Print this item

  Match and extract if found
Posted by: Calli - Sep-07-2022, 05:00 PM - Forum: General Coding Help - Replies (21)

For instance I have a list of IP address in one file IPfile1.txt

192.168.0.1
192.168.0.2
192.168.0.3
2001:4800:7819:104:be76:4eff:fe04:5819
192..... More

Print this item

  Scraping and breaking out of Loop
Posted by: giddyhead - Sep-07-2022, 02:41 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello everyone, Need your help with the following script the problem I am running into it pages down in a continuous loading page, until it reaches th..... More

Print this item

  Telegram bot python help!
Posted by: wolfdevs - Sep-07-2022, 11:34 AM - Forum: General Coding Help - No Replies

Hello guys. I want to do a project but I couldn't find a resource.

For example;

Is it possible to make 50 telegram accounts speak like a real us..... More

Print this item

  How can histogram bins be separated and reduce number of labels printed on x-axis?
Posted by: cadena - Sep-07-2022, 12:50 AM - Forum: General Coding Help - Replies (1)

I have a series of Counter() whose graphs I want to plot. The issue is that there are around 120 to 150 bars that are plotted. I've tried playing with..... More


Attached Files

Thumbnail(s)
       
Print this item

  dnload/upload with FTP
Posted by: ebolisa - Sep-06-2022, 11:01 PM - Forum: General Coding Help - Replies (4)

Hi,

What's the right syntax to connect to a ftp server and download a file?
The following code cannot find the file however, I can with a ftp clie..... More

Print this item

  Feature Extraction and Modeling Pipeline
Posted by: FelixLarry - Sep-06-2022, 09:44 PM - Forum: Code sharing - Replies (1)

[python]# Create a pipeline that extracts features from the data then creates (evaluates) a model
import pandas as pd
import numpy as np
from sklea..... More

Print this item

  Automate Machine Learning Workflows with Pipelines
Posted by: FelixLarry - Sep-06-2022, 09:37 PM - Forum: Code sharing - No Replies

[python]# Create a pipeline that standardizes (prepares) the data then evaluates a model
import pandas as pd
import numpy as np
from sklearn.model_..... More

Print this item

  Regular Expression search to comment lines of code
Posted by: Gman2233 - Sep-06-2022, 09:36 PM - Forum: General Coding Help - Replies (5)

Hello!

I'm hoping you guys can help me with a thorny issue I'm having.
I'm a beginner, not having touched Python since University 12 years ago :-)..... More

Print this item

  Choosing the Best Machine Learning Model
Posted by: FelixLarry - Sep-06-2022, 09:30 PM - Forum: Code sharing - Replies (1)

[python]# Comparing classification algorithms
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection ..... More

Print this item

  Compare Machine Learning Regression Algorithms Consistently
Posted by: FelixLarry - Sep-06-2022, 09:25 PM - Forum: Code sharing - No Replies

[python]# Comparison of Regression Algorithms
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection ..... More

Print this item

  how often do you reboot your computer?
Posted by: Skaperen - Sep-06-2022, 07:21 PM - Forum: Bar - Replies (7)

how often do you reboot your computer?

any computer you have. or reinstantiate a cloud instance.

i reboot my Xubuntu 20.04 laptop about weekly...... More

Print this item

Thumbs Up Newbie needs help
Posted by: dvejsa - Sep-06-2022, 07:09 PM - Forum: General Coding Help - Replies (5)

Hello guys,

Im just learning Pyhton and doing a code in Replit.. I think Im doing ok so far but Im stuck on a thing that maybe some one here might ..... More

Print this item

  How are these while loops being used?
Posted by: thefatron - Sep-06-2022, 06:44 PM - Forum: Homework - Replies (3)

Very new to programming and simply dont understand how this while loop is being used? Is the itr=itr.next the condition that needs to be maintained? I..... More

Print this item

  Get iPhone Location
Posted by: AlphaInc - Sep-06-2022, 04:32 PM - Forum: General Coding Help - No Replies

Hello everybody,

I'm trying to write a script that first checks some ips of mine (phone, pc, etc.) which are stored in a json file to "confirm" tha..... More

Print this item

  [SOLVED] [Windows] Converting filename to UTF8?
Posted by: Winfried - Sep-06-2022, 03:53 PM - Forum: General Coding Help - Replies (5)

Hello,

On Windows, I need to loop through a list of filenames, and use them into UTF8 documents.

Problem is, some might contain characters, and ..... More


Attached Files

Thumbnail(s)
   
Print this item

  If with For statement shorthand?
Posted by: kaega2 - Sep-06-2022, 06:10 AM - Forum: General Coding Help - Replies (5)

Is there a way to reduce code down?

[python]for x in resources:
if resources[x] < MENU[option]["ingredients"][x]:
pr..... More

Print this item

  undefined function error
Posted by: JonWayn - Sep-06-2022, 05:24 AM - Forum: General Coding Help - Replies (5)

[python]
from scrapy import Spider
from scrapy.http import Request


class TesterSpider(Spider):
name = 'tester'
allowed_domains = ['bo..... More

Print this item

  Noob here. Random quiz program. Using a while loop function and alot of conditionals.
Posted by: monkeydesu - Sep-06-2022, 02:42 AM - Forum: General Coding Help - Replies (6)

I just started learning how to code last week and tried making a random quiz program for one of my first projects and it's not working as intended. I ..... More

Print this item

  Need help i just started the whole thing
Posted by: gabriel789 - Sep-06-2022, 02:14 AM - Forum: General Coding Help - Replies (16)

Hello my name is Gabriel. I have Just with the whole thing of python, and am very interested in the thing i don't even know how to pull up the termina..... More

Print this item

  It is possible?
Posted by: mtorressa - Sep-05-2022, 09:44 PM - Forum: News and Discussions - No Replies

Good afternoon, I am developing a code to optimize an investment portfolio, but I need to set some limits for the investment of certain assets. I want..... More

Print this item

  Running Standard Scaler in Python 3
Posted by: Led_Zeppelin - Sep-05-2022, 05:49 PM - Forum: General Coding Help - Replies (1)

I am trying to get the following code to work:

[code]
df.head()

df2 = df.drop(["Unnamed: 0", "timestamp"], axis=1, inplace=True)

df3=pd.Data..... More

Print this item

  Can't install tensorflow-addons with pip
Posted by: Agusms - Sep-05-2022, 12:12 PM - Forum: General Coding Help - Replies (3)

Hi everyone! Smile

I'm trying to use DocTR ocr, and I'm having a lot of issues. Right now I'm not able to install tensorflow-addons. I write t..... More

Print this item

  BlackJack with tkinter
Posted by: menator01 - Sep-05-2022, 05:06 AM - Forum: Code sharing - Replies (7)

This is my go at BlackJack. It's far from finished and I will rewrite and clean the code up when everything is working.
Just wanted to share the curr..... More

Print this item

  [Solved]Help with Threading
Posted by: Extra - Sep-04-2022, 06:51 PM - Forum: General Coding Help - Replies (7)

Hello,

I am trying to get my program to have a reminders function where I can ask it to remind me to do stuff & after a certain amount of time it w..... More

Print this item

Lightbulb Tkinter Class Import Module Issue
Posted by: AaronCatolico1 - Sep-04-2022, 06:11 PM - Forum: GUI - Replies (6)

I'm trying to keep my code clean by separating the GUI from the logic.

Inside of the 'main.py' file, I'd like to call functions from other files th..... More

Print this item

  [SOLVED] [BS] Why new tag only added at the end when defined outside the loop?
Posted by: Winfried - Sep-04-2022, 05:16 PM - Forum: General Coding Help - Replies (1)

Hello,

I need to add a new tag in all Placemark blocks in a KML file.

I notice it will only be added in the last Placemark when defined b..... More

Print this item

  Keeping up with IDEs and Virtual Environments...
Posted by: bytecrunch - Sep-04-2022, 12:32 PM - Forum: General Coding Help - Replies (7)

Hello Everyone,

I am trying to understand how to use virtual environments and different IDEs without problems...Let me start by explaining my curre..... More

Print this item

  [SOLVED] [BeautifulSoup] Why does it turn inserted string's brackets into &lt;/&gt;?
Posted by: Winfried - Sep-03-2022, 11:05 PM - Forum: General Coding Help - No Replies

Hello,

One more before I go to bed…

No matter what I try, BS turns t..... More

Print this item

  How to retrieve records in a DataFrame (Python/Pandas) that contains leading or trail
Posted by: mmunozjr - Sep-03-2022, 10:45 PM - Forum: General Coding Help - Replies (3)

I would like to know how to write a formula that would identify/display records of string/object data type on a Pandas DataFrame that contains leading..... More

Print this item

  [SOLVED] [Beautifulsoup] Find if element exists, and edit/append?
Posted by: Winfried - Sep-03-2022, 07:29 PM - Forum: General Coding Help - Replies (2)

Hello,

I read BS's documentation, but can't figure out something very simple: Fin..... More

Print this item

  If function is false search next file
Posted by: mattbatt84 - Sep-03-2022, 03:37 PM - Forum: General Coding Help - Replies (2)

I am comparing images from a master image to a 100s of others. If its not a match what is best practice to then search the next image. All images are ..... More

Print this item

  Using Tkinter to calculate while formula
Posted by: marlonsmachado - Sep-03-2022, 11:35 AM - Forum: GUI - Replies (3)

Hello all,

I'm trying to create a simple GUI interface with tkinter using a simple strokes calculator based on an user input. My simple code is bel..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Recovery of my lost solan... 3 minutes ago winchestersam winchestersam General Codin...
  LOST OF INVESTMENT SCAM 31 minutes ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 3 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  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...
Most views
  The best Prog... 575833
  Tutorial Requ... 497142
  Web Scraping ... 439839
  Newbie with P... 383547
  New Users Int... 365498
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
winchestersam Today
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday

User Panel Messages

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