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,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Mojeek, Google, Apple, buran

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 28
Data Science
Forum: Data Science
Last Post: mamta25
3 hours ago
» Replies: 3
» Views: 2,571
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
10 hours ago
» Replies: 1
» Views: 98
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 147
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 127
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 127
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,306
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,379
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,581
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 207

 
Smile Newsi free News API for python
Posted by: mohammedalaazaki - Aug-18-2023, 06:48 AM - Forum: General Coding Help - No Replies

Overview
Free News library for python is able to fetch local news and category news in real time.

Please email mohammedal..... More

Print this item

  How to store columns of a .csv in variables (when the .csv has no headers) ?
Posted by: hobbyist - Aug-17-2023, 08:46 PM - Forum: General Coding Help - Replies (6)

Hello! I have a .csv file and by using the following code:

[python]
my_dataset = pandas_package.read_csv("MyMeasurements.csv")
my_dataset["date"]..... More

Print this item

  Error message about iid from RandomizedSearchCV
Posted by: Visiting - Aug-17-2023, 07:28 PM - Forum: General Coding Help - Replies (2)

Found another sample code for best parameter search from here:
..... More

Print this item

  Form that puts diacritics on the words in the text
Posted by: Melcu54 - Aug-17-2023, 04:11 PM - Forum: General Coding Help - Replies (13)

I made a code that must add diacritics to the text in the form. Python.

I also have two .txt files, dictionary.txt contains a phrase (a set of word..... More

Print this item

  Trying to us python.exe from our network to run scripts
Posted by: cubangt - Aug-17-2023, 04:10 PM - Forum: General Coding Help - Replies (3)

So now that i have finished a script, it works great on my local machine, but need to be able to run the script using the python.exe that they have pl..... More

Print this item

  Automation of GUI by python function
Posted by: dghosal - Aug-17-2023, 01:19 PM - Forum: General Coding Help - Replies (4)

Hello,
I need to find a way to automate a repetitive process in the GUI of our experimental setup. Some research suggested me to use 'Pyautogui' libr..... More

Print this item

  Filtering Data Frame, with another value
Posted by: NewBiee - Aug-17-2023, 09:09 AM - Forum: Data Science - Replies (9)

I have a data frame with three columns (Active, UserName, Role):

[quote]Active UserName Role
FALSE 945480 Invoice Viewer
FALSE 945480 Maintain In..... More

Print this item

  Clenaup CSV file
Posted by: IgorSh - Aug-17-2023, 07:40 AM - Forum: General Coding Help - Replies (1)

Hi all,

I have a CSV file with duplicat header rows, for example

ID Alias Model FXRate Class
ID Alias Model FXRate Class
UL18 test G..... More


Attached Files

Thumbnail(s)
   
Print this item

  Issue from RandomizedSearchCV
Posted by: Visiting - Aug-16-2023, 06:59 PM - Forum: General Coding Help - Replies (3)

I am trying to find best n_estimators for random forest, when running following script, got error message:
TypeError: 'ABCMeta' object is not subscri..... More

Print this item

  detect if two lines are crossing
Posted by: bast0s4 - Aug-16-2023, 02:48 PM - Forum: General Coding Help - Replies (2)

Hey
My project is to compute a racing line using mathematical functions
I want to know if my trajectory is staying inside the track limits or not (..... More


Attached Files

Thumbnail(s)
       
Print this item

  Hard time trying to figure out the difference between two strings
Posted by: carecavoador - Aug-16-2023, 02:21 PM - Forum: General Coding Help - Replies (2)

Greetings, fellow pythonistas.

Considering I have the following filenames:
[python]
filenames = [
"BCY0649_PURANATTA_120X90MM__ Cyan.tif"
"BC..... More

Print this item

  send function output from one py file to another (OOP)
Posted by: lunacy90 - Aug-15-2023, 09:23 PM - Forum: GUI - Replies (15)

Basically im trying to send an optionemenu selected item from one py file to another while using OOP. The problem is the class first gets initialized ..... More

Print this item

  Installing python packages in a virtual environment
Posted by: Led_Zeppelin - Aug-15-2023, 06:30 PM - Forum: General Coding Help - Replies (1)

I will ask question again since I did not see it post.

1. I create a virtual environment.

2. I installed some packages by command line. pip ins..... More

Print this item

  coding a loot generator
Posted by: matt1984 - Aug-14-2023, 10:22 PM - Forum: General Coding Help - Replies (1)

Hi everybody,

I play rpg game and i want to make a loot generator
I write this, i want when i random "parchemins" i import random for a new liste...... More

Print this item

  Can you recommend me a vps that will run api python code?
Posted by: SuchUmami - Aug-14-2023, 02:58 PM - Forum: News and Discussions - Replies (2)

Please can you recommend me a vps that will run api type python code.

Print this item

  Learn & Earn!
Posted by: joshsolisb - Aug-14-2023, 01:10 PM - Forum: Jobs - Replies (7)

I am needing to know if anyone can help me find a Python entry-level job where i can learn from scratch and earn income at the same time?

Print this item

  How to set PYTHONPATH in Visual Studio Code?
Posted by: aupres - Aug-14-2023, 10:17 AM - Forum: General Coding Help - Replies (5)

Hello!
Belows are my dev environment,

[python]OS : Windows 11
python : Anaconda3
Apache Spark : 3.4.1
IDE : Visual Studio Code 1.18.1[/python..... More

Print this item

  Run python app on IIS web server
Posted by: adevendr - Aug-14-2023, 08:22 AM - Forum: General Coding Help - Replies (1)

Hi Experts ,

first of all ,I'm new to python environment and created a python app having GUI (tkinter) in it , but i'm not sure how can I deploy..... More

Print this item

  Name of USB device on Anodrid
Posted by: frohr - Aug-14-2023, 06:36 AM - Forum: General Coding Help - No Replies

I have my Python app using in Windows but I am interesting if is possible to run it on Android phone. My app is about 1600 lines of code, I collect da..... More

Print this item

  executable for mac
Posted by: DPaul - Aug-14-2023, 05:58 AM - Forum: Bar - Replies (2)

Hi,
An app that has been developed for windows,
has attracted the interest of some mac users (yes they exist!)

Instead of doing pyinstaller ... etc,..... More

Print this item

Bug tkinter.TclError: bad window path name "!button"
Posted by: V1ber - Aug-14-2023, 01:08 AM - Forum: General Coding Help - Replies (2)

So, I was searching for a way to ask my girl out and I found this really cool code on Instagram and copied it. But it just doesnt work correctly, the ..... More

Print this item

  Doubt approach update 2 Treeview at the same time
Posted by: TomasSanchexx - Aug-13-2023, 07:39 PM - Forum: GUI - Replies (7)

Hello,

I would like some guidance on a question / problem I have.

I'm doing a task that consists of an inventory system, things so far very well..... More

Print this item

  How can i combine these two functions so i only open the file once?
Posted by: cubangt - Aug-13-2023, 05:00 PM - Forum: General Coding Help - Replies (4)

So i am having to process a few different text files, for each file i process, i need too capture runtime duration, record count and timestamp

Sinc..... More

Print this item

  How to get the color name of qlistwidget?
Posted by: flash77 - Aug-13-2023, 03:25 PM - Forum: GUI - Replies (5)

Hi,

I'm trying to get the color name of the current item's foreground of a qlistwidget.

To set it I used:
[python]self.listbox_medium.insertIte..... More

Print this item

  How to fix "'dict_values' object has no attribute 'inject_wsgi'" in session_transacti
Posted by: devid - Aug-13-2023, 07:20 AM - Forum: Web Scraping & Web Development - No Replies

The problem is that when running tests on GitHub Workflow, the error AttributeError: 'dict_values' object has no attribute 'inject_wsgi' occurs and ..... More

Print this item

  Search for multiple unknown 3 (2) Byte combinations in a file.
Posted by: lastyle - Aug-12-2023, 05:56 PM - Forum: General Coding Help - Replies (7)

Hi all

I` d like to search a file for multiple unknown hex combinations in a file and have absolutely no idea how to start.

The hex combinations..... More

Print this item

  PyQt5 window closing when trying to display a graph
Posted by: bianca - Aug-12-2023, 12:29 PM - Forum: GUI - Replies (4)

I am developing a GUI Application using PyQt5.

There is a tab with charts and the idea is when clicking a button, it displays a chart.

The follo..... More

Print this item

  QStandardItemModel; columns, icons
Posted by: malonn - Aug-12-2023, 11:10 AM - Forum: GUI - Replies (3)

I am struggling to figure out something. I have a QTreeView fed by a QStandardItemModel; tree populates; multiple c..... More

Print this item

  Help - FileNotFound
Posted by: SmallGuy - Aug-12-2023, 05:58 AM - Forum: General Coding Help - Replies (6)

Hi all,

I am a new learner of python so forgive if my question is too rookie. I am using Colab to start learning. I have a csv file on my desktop f..... More


Attached Files

Thumbnail(s)
       
Print this item

  Build a DNS History
Posted by: Rudeus - Aug-11-2023, 08:59 PM - Forum: General Coding Help - Replies (2)

Hey ! Big Grin

Do you know if it's possible to build a DNS History of a domain name with Python ?

I want to made something for check the pr..... More

Print this item

  Receiving this error in my "response" and causes script to return wrong status
Posted by: cubangt - Aug-11-2023, 03:07 PM - Forum: General Coding Help - Replies (18)

I have a script which i thought was working correctly until i purposely added some invalid IP's into my list so that i can validate the results file. ..... More

Print this item

  Search data in treeview without search button
Posted by: TomasSanchexx - Aug-11-2023, 12:38 PM - Forum: GUI - Replies (3)

Hello,
I'm trying to make an item search engine in a treeview, if I do it with a button, it works for me.
But I want to do the search without a butt..... More

Print this item

  Python Struct Question, decimal 10, \n and \x0a.
Posted by: 3python - Aug-11-2023, 06:38 AM - Forum: General Coding Help - Replies (2)

Can someone explain why the decimal value 10, when in Python Struct is showing as \n, and not \x0a?

[code]
import struct

marDept5 = st..... More

Print this item

  Open-source codes and concept ideas.
Posted by: sourceduty - Aug-11-2023, 02:11 AM - Forum: News and Discussions - No Replies

Link removed

Print this item

  python sqlite autoincrement in primary column
Posted by: janeik - Aug-10-2023, 06:44 PM - Forum: General Coding Help - Replies (6)

hello.
I try to get autoincrement on column markID without success.
I dont want the keyword version of autoincrement.
What am I doing wrong in code..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 3 hours ago Reema Gribouillis General Codin...
  Data Science 3 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 10 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... 578726
  Tutorial Requ... 509402
  Web Scraping ... 441868
  Newbie with P... 385823
  New Users Int... 375306
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
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

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