Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,670
» Latest member: PranayShah
» Forum threads: 37,408
» Forum posts: 169,994

Full Statistics

Online Users
There are currently 383 online users.
» 0 Member(s) | 375 Guest(s)
Google, Facebook, Yandex, Applebot, Baidu, AOL

Latest Threads
intering int number
Forum: General Coding Help
Last Post: akbarza
17 minutes ago
» Replies: 0
» Views: 8
Program that calculates b...
Forum: Data Science
Last Post: xzenon
39 minutes ago
» Replies: 2
» Views: 93
API design an choice
Forum: News and Discussions
Last Post: Gribouillis
1 hour ago
» Replies: 3
» Views: 126
How to solve this error "...
Forum: Data Science
Last Post: PranayShah
4 hours ago
» Replies: 0
» Views: 40
¿Cómo se fija el presupue...
Forum: Bar
Last Post: Taylor13Sylas
9 hours ago
» Replies: 1
» Views: 73
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
10 hours ago
» Replies: 8
» Views: 332
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
Yesterday, 06:10 PM
» Replies: 1
» Views: 159
negative memory usage
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 08:43 AM
» Replies: 1
» Views: 101
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: WicardBohnam
Yesterday, 01:25 AM
» Replies: 9
» Views: 256
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
Apr-26-2024, 12:31 PM
» Replies: 4
» Views: 162

 
  intering int number
Posted by: akbarza - 17 minutes ago - Forum: General Coding Help - No Replies

hi
in the below code:
[python]#from: https://realpython.com/python-assignment-operator/
''' to detemine intering range for integers'''

from plat..... More

Print this item

  How to solve this error "Exceeded 30 redirects" while using "nsepy" library
Posted by: PranayShah - 4 hours ago - Forum: Data Science - No Replies

I'm getting this error named "Exceeded 30 redirects" while using "nsepy" library, when I'm trying to fetch data (plz reefer the screenshot)

[python..... More


Attached Files

Thumbnail(s)
   
Print this item

  ¿Cómo se fija el presupuesto para los juegos de casino en línea?
Posted by: Davis5Noah - 10 hours ago - Forum: Bar - Replies (1)

¿Cómo se fija el presupuesto para los juegos de casino en línea?

Print this item

  negative memory usage
Posted by: akbarza - Yesterday, 07:41 AM - Forum: General Coding Help - Replies (1)

hi
in the below code, after running, the usage of memory is shown as a negative number! why?
[python]
#from:https://blog.faradars.org/reduce-memory..... More

Print this item

  Program that calculates buildtime.
Posted by: xzenon - Yesterday, 06:57 AM - Forum: Data Science - Replies (2)

Hi
I am trying to make a program to calculate build time with old data from previous build.
But its not working as intended.

When i put in lesser..... More

Print this item

  API design an choice
Posted by: Skaperen - Yesterday, 12:58 AM - Forum: News and Discussions - Replies (3)

i am creating a group of functions that have a similar purpose across a list of file paths. i will look at four of them for this question although th..... More

Print this item

  Discord - Webcrapping from a Forum
Posted by: Tolska - Apr-26-2024, 12:27 PM - Forum: Web Scraping & Web Development - No Replies

Hello, I'm trying to get a a script to work but I'm having some issues. I need a bot to scrape the "Latest" post which has been posted on specific for..... More

Print this item

  TypeError: '>' not supported between instances of 'numpy.str_' and 'int'
Posted by: Anouar - Apr-26-2024, 09:34 AM - Forum: Data Science - No Replies

When I tried to run my python script, I got this error "TypeError: '>' not supported between instances of 'numpy.str_' and 'int'"

There are ..... More


Attached Files

Thumbnail(s)
       
Print this item

  How to edit Tkinter Minimize, Maximize, and Close Buttons
Posted by: kucingkembar - Apr-26-2024, 08:35 AM - Forum: General Coding Help - Replies (7)

sorry for my bad English,

1. in tkinter I tried to hide Minimize,
maximize button, but I only found :

Top.resizable(0,0)
what..... More

Print this item

  Why am I getting this error from Dave Beazly's programme?
Posted by: Pedroski55 - Apr-26-2024, 07:38 AM - Forum: General Coding Help - Replies (4)

This is from Dave Beazly's Generators: The Final Frontier here. Part 3, the example inline_recursive..... More

Print this item

  ModulNotFoundError matplotlib
Posted by: WicardBohnam - Apr-26-2024, 12:05 AM - Forum: General Coding Help - Replies (9)

I'm new to Python and have installed Python 3.12.3 with idle on Windows 10. Having had fairly good success with other scripts, I decided to try to co..... More

Print this item

  How To Make A PyQt5 Progress Bar Run While Executing A Function
Posted by: rcwildabeast - Apr-25-2024, 09:28 PM - Forum: GUI - Replies (1)

I am relatively new to PYQT5. I am implementing a progress bar. However, I have run into the issue where the pop up progress bar does not run at the s..... More

Print this item

  Problem Converting Tradingview Indicator to Python code
Posted by: kralxs - Apr-25-2024, 07:40 PM - Forum: General Coding Help - Replies (1)

Hello, I have been trying to convert the CCI-EMA indicator prepared with pinescript on Tradingwiev to Python code for about a week and filtering throu..... More

Print this item

  New on python. Needs help with Google sheet
Posted by: jeromep - Apr-25-2024, 06:26 PM - Forum: General Coding Help - Replies (1)

I'm new to coding.
I created the following code, but I cannot place the data entered in my Google Sheet file. JSON works.

The date must go in the ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Good way to ignore case when searching elements?
Posted by: Winfried - Apr-25-2024, 10:05 AM - Forum: General Coding Help - Replies (1)

Hello,

In the files I need to work with, I notice that the values in the following meta line can be either lower-case or capitalized.

What would be ..... More

Print this item

  using mutable in function defintion as optional paramter
Posted by: akbarza - Apr-25-2024, 08:26 AM - Forum: General Coding Help - Replies (8)

hi
I read some about using mutable(list or dict) in function definition as an optional parameter as this was discussed in the site realpython(its add..... More

Print this item

  Cucumber installation
Posted by: SDS - Apr-24-2024, 10:24 PM - Forum: General Coding Help - Replies (2)

I am getting an error message when I try to install cucumber when using the following command. Any assistance would be greatly appreciated.


>>>im..... More

Print this item

  Win or Loss Prediction
Posted by: ksasi2k3 - Apr-24-2024, 06:45 PM - Forum: General Coding Help - Replies (4)

I am trying to predict win or loss in ML using Python. Tried XGboost,Logistic and SVC method but getting struct in place where it says " estimators fa..... More

Print this item

  Python Project Structure for Modularity and Reusability with Multiple Entry Points
Posted by: b19wh33l5 - Apr-24-2024, 12:21 PM - Forum: General Coding Help - No Replies

I am massively confused about the approach I should take to organizing my project structure (see below) for my machine learning experiments. My projec..... More

Print this item

  how to edited Tkinter Toplevel from main form?
Posted by: kucingkembar - Apr-24-2024, 10:29 AM - Forum: General Coding Help - Replies (7)

i tried to edited Toplevel title, but after 2 hours i failed, please help
[python]from tkinter import *
def editedtoop(top):
top.title("Edited"..... More

Print this item

  Using xml.parsers.expat I can't get parser.ParseFile(f) to work
Posted by: Pedroski55 - Apr-24-2024, 05:31 AM - Forum: General Coding Help - Replies (3)

This code comes from Dave Beazly and it is a bit old, Python 2.something. I am trying to get it to work ..... More

Print this item

  watchdog on_modified
Posted by: CAD79 - Apr-23-2024, 01:47 PM - Forum: General Coding Help - Replies (3)

I'm creating a desktop application that notifies the user whenever a file has been modified, I've only just started using all of these modules and goi..... More

Print this item

Question Right way to open files with different encodings?
Posted by: Winfried - Apr-23-2024, 08:49 AM - Forum: General Coding Help - Replies (2)

Hello,

Some of the files could be Windows (latin1, iso9959-1, cp1252), others could be utf-8.

Is try/except the right way to do it?

[python]#..... More

Print this item

  TypeError: Diagram.render() takes 1 positional argument but 2 were given
Posted by: sachin1361 - Apr-23-2024, 06:39 AM - Forum: Code Review - Replies (1)

I'm new to Python and used ChatGPT to generate a script that automatically creates a visual diagram after running terraform apply. The script (in diag..... More

Print this item

  defaultdict
Posted by: main - Apr-22-2024, 11:18 PM - Forum: Code sharing - No Replies

.....

Print this item

  match case
Posted by: main - Apr-22-2024, 10:33 PM - Forum: Code sharing - Replies (1)

.....

Print this item

  Add NER output to pandas dataframe
Posted by: dg3000 - Apr-22-2024, 08:14 PM - Forum: Data Science - No Replies

I'm trying to write a script that will scan a document and add the extracted information to a dataframe, currently it just prints it and exits. Obvio..... More

Print this item

  Loop through all files in a directory?
Posted by: Winfried - Apr-22-2024, 06:16 PM - Forum: General Coding Help - Replies (10)

Hello,

I need to find all the files located under a given directory, including all the sub-directories it may contain.

Is this a/the right way t..... More

Print this item

  Volume label
Posted by: DPaul - Apr-22-2024, 03:10 PM - Forum: Bar - Replies (3)

Hi,
I would like to do the following:
When I start my search program for prayer cards,
the system looks immediately for availability of the data on t..... More

Print this item

  Made a discord bot game that uses commands but now trying to add buttons
Posted by: Dmcsdiscord - Apr-22-2024, 10:17 AM - Forum: General Coding Help - Replies (1)

Hey guys,

https://pastebin.com/YwTqHbiV —— game working with ! Commands and no buttons

https://pastebin.com/gJWVnGHU ——- game not so working, b..... More

Print this item

  Need help with Allure report
Posted by: Nik1811 - Apr-22-2024, 09:59 AM - Forum: General Coding Help - No Replies

Hi,
I need some help in setting up allure reporting structure into my framework. Can someone please guide where can we add the dependencies and how ..... More

Print this item

  What does .flush do? How can I change this to write to the file?
Posted by: Pedroski55 - Apr-22-2024, 09:28 AM - Forum: General Coding Help - Replies (3)

Looking at using yield, I have this simulated log file: logsim.py

logsim.py has 2 very long lists, ips and docs

ips like this: ips = ['129.194.8..... More

Print this item

  FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries
Posted by: sawtooth500 - Apr-21-2024, 06:16 PM - Forum: General Coding Help - Replies (14)

This is with pandas dataframes. The code works, but I am getting a warning.

[error]C:\Users\thpfs\documents\python\cleaner.py:223: FutureWarning: ..... More

Print this item

  Failing to connect by 'net use'
Posted by: tester_V - Apr-20-2024, 05:34 AM - Forum: General Coding Help - Replies (1)

Greetings to those that still up at this time! Wink
I'm failing to map network shares.
I'm identifying "letters not in use" for a share to mou..... More

Print this item

  Management software with image comparison
Posted by: franc1986 - Apr-19-2024, 09:12 PM - Forum: Web Scraping & Web Development - No Replies

Hi, let me start by saying I'm a beginner.
I wanted to try my hand at this adventure, convinced that with ChatGPT 4 I would be able to do it.
But he..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  intering int number 17 minutes ago akbarza akbarza General Codin...
  Program that calculates b... 39 minutes ago xzenon xzenon Data Science
  API design an choice 1 hour ago Skaperen Gribouillis News and Disc...
  How to solve this error "... 4 hours ago PranayShah PranayShah Data Science
  ¿Cómo se fija el presupue... 9 hours ago Davis5Noah Taylor13Sylas Bar
  using mutable in function... 10 hours ago akbarza snippsat General Codin...
  Problem Converting Tradin... Yesterday, 18:10 kralxs kralxs General Codin...
  negative memory usage Yesterday, 08:43 akbarza Gribouillis General Codin...
  ModulNotFoundError matplo... Yesterday, 01:25 WicardBohnam WicardBohnam General Codin...
  Why am I getting this err... 04-26, 12:31 Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... 04-26, 12:27 Tolska Tolska Web Scraping ...
Most views
  The best Prog... 417191
  Web Scraping ... 307433
  Tutorial Requ... 296433
  Newbie with P... 253851
  Thread remain... 236464
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11873
buran 8090
snippsat 7093
deanhystad 6222
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
PranayShah Today
SatoshiNGenesis Yesterday
Taylor13Sylas Yesterday
Davis5Noah Yesterday
a001 Yesterday

User Panel Messages

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