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,468
» Latest member: Shailesh
» Forum threads: 38,577
» Forum posts: 174,806

Full Statistics

Online Users
There are currently 692 online users.
» 0 Member(s) | 687 Guest(s)
Google, Bing, Yandex, Apple

Latest Threads
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
3 hours ago
» Replies: 4
» Views: 1,266
Return a string or byte o...
Forum: General Coding Help
Last Post: Anita2309966
4 hours ago
» Replies: 6
» Views: 266
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
11 hours ago
» Replies: 0
» Views: 53
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
Yesterday, 04:02 PM
» Replies: 16
» Views: 1,082
class Blockage not projec...
Forum: General Coding Help
Last Post: Azdaghost
Yesterday, 01:09 PM
» Replies: 0
» Views: 79
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
Yesterday, 09:04 AM
» Replies: 1
» Views: 341
Pip help
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 05:57 AM
» Replies: 4
» Views: 368
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
Yesterday, 01:12 AM
» Replies: 2
» Views: 962
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 193
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
May-12-2025, 03:51 PM
» Replies: 2
» Views: 302

 
  CandleStick & MACD Indicator using plotly.graph_object
Posted by: bianca - Aug-18-2023, 06:46 PM - Forum: General Coding Help - No Replies

Hello!

I have a csv file with data about crypto symbol such as timestamp, open, high, low, close, volume and I wanna display a Candlestick with MAC..... More

Print this item

Sad MODBUS RS485 serial communication
Posted by: Vivek - Aug-18-2023, 09:14 AM - Forum: Data Science - Replies (1)

Hi all,

I'm trying to send a command to my sensor and get the response back, but I'm facing these problems:
i. The time elapsed between each recei..... More

Print this item

  pyside6 module not found
Posted by: ForeverNoob - Aug-18-2023, 07:56 AM - Forum: General Coding Help - Replies (4)

Hello,

I was writing a couple of programs under manjaro KDE. Now I've switched to ubuntu 23.04 and, when trying to run them, receive the following ..... More

Print this item

Smile Newsi free News API for python
Posted by: mohammedalaazaki - Aug-18-2023, 06:50 AM - Forum: Code sharing - Replies (1)

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

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Trouble with Average Calc... 3 hours ago autodecay Pate General Codin...
  Return a string or byte o... 4 hours ago Calab Anita2309966 General Codin...
  tracking version during r... 11 hours ago Skaperen Skaperen News and Disc...
  problems with netcdf if I... Yesterday, 16:02 Blaubart Blaubart General Codin...
  class Blockage not projec... Yesterday, 13:09 Azdaghost Azdaghost General Codin...
  Retired and Learning Pyth... Yesterday, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help Yesterday, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... Yesterday, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
  Why are the PythonT symli... 05-12, 08:10 gernophil gernophil News and Disc...
Most views
  The best Prog... 563628
  Tutorial Requ... 449071
  Web Scraping ... 428623
  Newbie with P... 362903
  Thread remain... 335448
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7325
deanhystad 6826
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Today
jackdennis272 Today
Anita2309966 Today
JeanChristophe Yesterday
EZEKIELGRAPHICSMEDIA Yesterday

User Panel Messages

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