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,334
» Latest member: uek67
» Forum threads: 38,809
» Forum posts: 175,952

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, AOL, Internet Archive

Latest Threads
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
1 hour ago
» Replies: 16
» Views: 10,818
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
1 hour ago
» Replies: 0
» Views: 14
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
3 hours ago
» Replies: 0
» Views: 15
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Yesterday, 10:02 PM
» Replies: 0
» Views: 54
Iterator and/or generator...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 04:30 PM
» Replies: 8
» Views: 336
Graphics error
Forum: General Coding Help
Last Post: woooee
Yesterday, 04:22 PM
» Replies: 2
» Views: 256
An impressive collection ...
Forum: Bar
Last Post: Larz60+
Dec-06-2025, 06:35 AM
» Replies: 1
» Views: 114
Py script to APP on MAC
Forum: General Coding Help
Last Post: tester_V
Dec-05-2025, 08:12 PM
» Replies: 3
» Views: 227
Announcing CallFlow Trace...
Forum: Code sharing
Last Post: rajveer43
Dec-04-2025, 05:38 AM
» Replies: 0
» Views: 142
What pip version should I...
Forum: General Coding Help
Last Post: mamta25
Dec-03-2025, 05:01 AM
» Replies: 2
» Views: 271

 
  Issue w/ "With Open"
Posted by: vman44 - Dec-23-2022, 06:59 AM - Forum: General Coding Help - Replies (3)

Hi,

I'm using code, similar to this:

[python]
with open(dbfileA, 'a') as writer:
for in_val in userinputs:
..... More

Print this item

  Lightweight Python editor for beginners
Posted by: Gribouillis - Dec-23-2022, 06:07 AM - Forum: News and Discussions - No Replies

I discovered Aly, a lightweight Python editor for beginners written by Pascal Brachet, a high school..... More

Print this item

  Custom method to handle exceptions not working as expected
Posted by: gradlon93 - Dec-22-2022, 05:32 PM - Forum: General Coding Help - Replies (3)

Good afternoon,

I am working on a web scraping project using BeautifulSoup and, on occasion, Selenium webdriver.

The method .findAll(...) by B..... More

Print this item

  Copy item from one dict to another
Posted by: Pavel_47 - Dec-22-2022, 05:17 PM - Forum: General Coding Help - Replies (3)

Hello,
Does exist a method of copying an items from one dict to another, e.g. inside a for loop, under specific conditions ?
I tried
[python..... More

Print this item

  8 channel logic Analyzer for 5 bucks
Posted by: Larz60+ - Dec-22-2022, 03:46 PM - Forum: Bar - Replies (2)

I don't like to show items that you have to pay for, but if you're writing embedded code and need to analyze or synchronize some signals, the cost of ..... More

Print this item

  How to Uninstall Python 3.10?
Posted by: xytsrm - Dec-22-2022, 03:39 PM - Forum: News and Discussions - Replies (4)

Hi,

I've recently installed Python 3.11 (path C:\Users\user01\AppData\Local\Programs\Python\Python311). I wanted to uninstall Python version 3.10 (..... More

Print this item

  parse String
Posted by: jaykappy - Dec-22-2022, 02:08 PM - Forum: General Coding Help - Replies (2)

I have a string as such:

<Role name: Data Editor_VDT, description: This type of account is meant for data editors, including mobile/field data coll..... More

Print this item

  comparision of texts in a file
Posted by: saisankalpj - Dec-22-2022, 12:22 PM - Forum: General Coding Help - Replies (1)

I Have 2 files. Suppose file1.txt contains

name=ravi rollno=9987
name=sri rollno=9988
file2.txt contains
[python]
name=r..... More

Print this item

  help with scraping via python
Posted by: kolarmi19 - Dec-21-2022, 07:32 PM - Forum: Web Scraping & Web Development - Replies (1)

hey there
Someone builted me a script for scraping a certain website. one day it stopped working for me left me with an error message. is it the righ..... More

Print this item

  VBA function convert to python by PysimpleGUI
Posted by: SamLiu - Dec-21-2022, 01:28 PM - Forum: GUI - Replies (1)

Hi All,

Tried to use PysimpleGUI instead of VBA could not do it, please help me check out it, thanks in advance!

Selected file pick up what I wa..... More

Print this item

Sad Hello. I am New. - Bad experience with social behavior in the German Forum
Posted by: Tobias_Claren - Dec-21-2022, 01:16 PM - Forum: Board - Replies (5)

Hello.

EDIT:
I hope that "Forum & Off Topic" is the right place.
If not, please move it to the bar.
Thanks.


I registered here today because the beh..... More

Print this item

  installing prospector and updating anaconda packages
Posted by: amir - Dec-21-2022, 09:15 AM - Forum: General Coding Help - Replies (2)

I have installed anaconda navigator.
In the book "Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and Th..... More

Print this item

  Tkinter Entry size limit
Posted by: vman44 - Dec-21-2022, 06:50 AM - Forum: General Coding Help - Replies (3)

I'm writing a program in Tkinter.

One page is a form, where the user inputs various values.
How do I limit an Entry field to a specific size?

F..... More

Print this item

  Summing up set elements(HH:MM:SS)
Posted by: tester_V - Dec-21-2022, 06:44 AM - Forum: General Coding Help - Replies (4)

Greetings to those that are still up! Wink
I'm trying to sum up set elements:
HH:MM:SS
I can do that if the HH:MM:SS elements are in the lis..... More

Print this item

  X13ARIMA & statsmodels: X13NotFoundError: x12a and x13as not found on path
Posted by: JaneTan - Dec-21-2022, 05:53 AM - Forum: General Coding Help - Replies (1)

I am on Window OS. I downloaded the Windows version of X13 software from https://www.census.gov/data/software/x13...t-tab-6352..... More

Print this item

  Carpenter learning python
Posted by: Snickaren - Dec-20-2022, 10:12 AM - Forum: General Coding Help - Replies (11)

I would like to create a program where I can input different types of jobs, eg hanging doors or building interior walls etc and make it easier for me ..... More

Print this item

  using threading.Timer for function
Posted by: korenron - Dec-20-2022, 08:41 AM - Forum: General Coding Help - Replies (1)

Hello,
I have a simple function that I want it to run every 1 min
the function check internet connection - ping to google (8.8.8.8)

this is all the..... More

Print this item

  What is the difference between list and tuples in Python?
Posted by: priya1717 - Dec-20-2022, 05:09 AM - Forum: News and Discussions - Replies (1)

What is the difference between list and tuples in Python?

Print this item

  Request Dependency warning
Posted by: thetechnodino - Dec-20-2022, 02:12 AM - Forum: General Coding Help - No Replies

The python script runs correctly but gives the error shown below.

Windows 11 Pycharm PyCharm 2022.3 (Community Edition)
Build #PC-223.7571.203, bu..... More


Attached Files

Thumbnail(s)
   
Print this item

  (Python) Pulling data from UA Google Analytics with more than 100k rows into csv.
Posted by: Stockers - Dec-19-2022, 11:11 PM - Forum: General Coding Help - No Replies

(Python) Pulling data from UA Google Analytics with more than 100k rows into csv. Works fine for 57k

[python]import pandas as pd
from apiclient.di..... More

Print this item

  python requests library .JSON() error
Posted by: mHosseinDS86 - Dec-19-2022, 07:17 PM - Forum: General Coding Help - Replies (6)

Can someone explain this? I'm trying to use python requests library, its attributes and methods. while using .JSON()
method I get this error. How sho..... More

Print this item

Photo How to select NULL and blank values from MySQL table into csv
Posted by: python300 - Dec-19-2022, 07:03 PM - Forum: General Coding Help - Replies (9)

Hi all,

I am trying to select specific columns from a MySQL table into csv.
This table can have NULL or blank values and I want to differentiate ..... More


Attached Files

Thumbnail(s)
   
Print this item

Smile AI is getting better in a fast pace,with Images to show
Posted by: snippsat - Dec-19-2022, 06:53 PM - Forum: News and Discussions - Replies (2)

So a little about AI and the result that is getting a lot better.
Can show some images that i have generated with OpenAI[url=https://python-forum.io/thread-39007.html]..... More

Print this item

  passing dictionary to the function
Posted by: mark588 - Dec-19-2022, 06:20 PM - Forum: General Coding Help - Replies (2)

I have got a dictionary of multiple npy files together and I want pass this dictionary as a parameter to get a comparison score.
I am not sure how to..... More

Print this item

  I am new to python and Could someone please explain how this below code is working?
Posted by: kartheekdas - Dec-19-2022, 03:36 PM - Forum: General Coding Help - Replies (2)

a=True
try:
    assert a and not print("sucess"),"failure"
except Exception as e:
    print("e is",e)
Output is [inline]Sucess[/..... More

Print this item

  Multiple.ui windows showing at the same time when I only want to show at a time
Posted by: eyavuz21 - Dec-19-2022, 11:28 AM - Forum: General Coding Help - Replies (4)

Hey all,

I have the following code below.

I am trying to show take the user through an experiment, where the experiment is split into [b]differ..... More

Print this item

  Trying to add data into a shelf from a submit button
Posted by: TWB - Dec-18-2022, 07:02 PM - Forum: GUI - Replies (8)

I am new to Python and trying to run a small program that takes a input from a text field and submit it into a shelf.
The code runs with no errors bu..... More

Print this item

Question Sqlite3 how to know when cursor.execute didn't return anything ?
Posted by: SpongeB0B - Dec-18-2022, 05:44 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have an INNER JOIN command in my python

for exemple
[python]
curso..... More

Print this item

  Class help
Posted by: txrx - Dec-18-2022, 04:56 PM - Forum: General Coding Help - Replies (5)

Can anyone help with the code below. I was wondering whether the if statement should live within the class?. When I have tried this before I can't see..... More

Print this item

  Trying to send file to printer with no results.
Posted by: chob_thomas - Dec-18-2022, 04:40 PM - Forum: General Coding Help - Replies (2)

I've tried about 5 different ways to make this work but the file just won't get sent to the printer.
I had been trying to output a png file to an Eps..... More

Print this item

  Create a function to store text fields and drop downs selection in KivyMD
Posted by: floxia - Dec-18-2022, 04:34 AM - Forum: GUI - No Replies

Hi there everyone! Smile

I have been scratching my head for some time now Wall as I am trying to figure out a way to bind the button wi..... More

Print this item

  [split] formula for validating monetary values?
Posted by: kakos_k9 - Dec-17-2022, 05:55 PM - Forum: General Coding Help - Replies (1)

Hello how are you? Could you show me what is the formula for validating monetary values? for example I enter: 1000
it converts to:
1,000.00
The poi..... More

Print this item

  tkinter menubar not showing on mac ventura
Posted by: taras - Dec-17-2022, 02:34 PM - Forum: GUI - Replies (1)

i bought a macbook air m2, ventura os 13.0.1, python 3.11. The tkinter menubar function does not produce the menubar line.
This is the code:

[pyth..... More

Print this item

  how can I test this interactive calculator using pytest
Posted by: medveeee - Dec-17-2022, 08:38 AM - Forum: Homework - Replies (4)

hi,

I have small interactive calculator.
could you please give me a hint how could test it using pytest?
I found e.g. this approach, but have no..... More

Print this item

  testing an open file
Posted by: Skaperen - Dec-17-2022, 02:06 AM - Forum: General Coding Help - Replies (7)

what kind of test can i apply (or what library should i look at) to be able to detect if a given open file is open for reading? it is passed as an a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Looking for new hosting s... 1 hour ago Larz60+ DeaD_EyE Bar
  "with open(os.path.join(a... 1 hour ago uek67 uek67 General Codin...
  Optimization Software Eng... 3 hours ago bicop bicop Jobs
  scipy.optimize.curve_fit ... Yesterday, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... Yesterday, 16:30 mogplus8 noisefloor General Codin...
  Graphics error Yesterday, 16:22 nathanael woooee General Codin...
  An impressive collection ... 12-06, 06:35 Gribouillis Larz60+ Bar
  Py script to APP on MAC 12-05, 20:12 tester_V tester_V General Codin...
  Announcing CallFlow Trace... 12-04, 05:38 rajveer43 rajveer43 Code sharing
  What pip version should I... 12-03, 05:01 Virgo_Concepts mamta25 General Codin...
  Advent of Code 2025 12-02, 18:33 buran buran News and Disc...
Most views
  The best Prog... 579794
  Tutorial Requ... 514849
  Web Scraping ... 442514
  Newbie with P... 386732
  New Users Int... 382984
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7395
deanhystad 6917
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
uek67 Today
bicop Today
willflanagan Yesterday
maddief555 Yesterday
jacksoncarl Yesterday

User Panel Messages

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