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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,558

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Google, AOL, AOL, Apple

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
2 hours ago
» Replies: 2
» Views: 727
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 6
» Views: 759
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
9 hours ago
» Replies: 0
» Views: 76
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 478
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,852
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,254
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,822
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,234
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,182
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,486

 
  find element...click() dont work
Posted by: windows11 - Apr-11-2020, 07:53 AM - Forum: Web Scraping & Web Development - Replies (6)

Hello world,
I have the next function

[python]


f1="/html/body/div[2]/main/div....section[1]"
f2="/html/body/div[2]/main/div....section[2]"..... More

Print this item

  rounding question
Posted by: DPaul - Apr-11-2020, 07:04 AM - Forum: General Coding Help - Replies (16)

Hi,

Today python (math) offers many tools to modify the float 5.49
into something else. int(), floor(), ceil()...

But i have not found an equiv..... More

Print this item

  How can I convert time-series data in rows into column
Posted by: srvmig - Apr-11-2020, 05:40 AM - Forum: Data Science - No Replies

Hi,
I have a data-set where the information is showing that certain item is sold in different date. The date mentioned in the rows as like below.
[p..... More

Print this item

  Creating a Web Browser to control Raspberry Pi
Posted by: shallanq - Apr-11-2020, 05:14 AM - Forum: General Coding Help - Replies (2)

[font=Arial, Helvetica, sans-serif]I want to create a web browser for the user to input 3 alarms. When the alarm time is equal to the current time, LE..... More

Print this item

  Looking for readily automated office tasks
Posted by: galacticAxekick - Apr-11-2020, 05:03 AM - Forum: Bar - Replies (1)

I began learning python a couple weeks ago with the intention of automating office work.

My thought process is that if an employee is paid X every ..... More

Print this item

  Are there different versions of pillow?
Posted by: Pedroski55 - Apr-11-2020, 03:53 AM - Forum: General Coding Help - Replies (6)

I made a program to watermark pdfs.
Worked great! (Past tense)

Yesterday, I also made a program to wipe out watermarks. It uses PIL. It just inspe..... More

Print this item

  Create an identification code from user input
Posted by: PeroPuri - Apr-11-2020, 03:22 AM - Forum: GUI - Replies (1)

Hi everyone,
I'm new in using python and tkinter and I'm stuck with my script, this one:
[python]from openpyxl import *
from tkinter import *


..... More

Print this item

  ranch expression
Posted by: Skaperen - Apr-11-2020, 01:37 AM - Forum: News and Discussions - No Replies

i have in mind a few commands i want to implement in which arguments or input will need to express a number or a range (possibly with an increment). ..... More

Print this item

  Add command to PushButton
Posted by: skaailet - Apr-11-2020, 01:13 AM - Forum: GUI - Replies (1)

I create a GUI usin PyQt5 Designer
and i want to know how to make that the push buttons trigger a py. script?
whats the command for that?
i alread..... More

Print this item

  Transforming nested key-tuples into their dictionary values
Posted by: ClassicalSoul - Apr-11-2020, 01:11 AM - Forum: General Coding Help - Replies (4)

Surely there has got to be a better way of doing this?


[python]
>>> d = dict(enumerate(list('abcde')))
>>> INPUT = [[(0, 1, 2), (3, 4)], [(0, 1, 3),..... More

Print this item

  Tutorial: Python and pymsql database navigation
Posted by: JayCee - Apr-10-2020, 10:51 PM - Forum: GUI - No Replies

How to display MySQL database records in alphabetical order on a PyQT5 form using Python and pymysql without depending on record ID numbers:


Hello, ..... More

Print this item

  The "FindAll" Error
Posted by: BadWhite - Apr-10-2020, 09:40 PM - Forum: General Coding Help - Replies (6)

[b]Dears,

I'm very newbie to the Python Language and I have spent some time teaching myself. Every time I face an error I try to dig for the soluti..... More

Print this item

  Value error
Posted by: jithin123 - Apr-10-2020, 09:39 PM - Forum: Data Science - Replies (2)

for data in alldata:
    if (data['Familysize']==1):
        data['isalone']=1
What is the error in this simple code?

[error]..... More

Print this item

  difference between «1 in [2] == False» and «(1 in [2]) == False»
Posted by: fbaldit - Apr-10-2020, 07:17 PM - Forum: General Coding Help - Replies (2)

Hi,
could someone here explain to me why the first boolean expression of thread subject (namely « 1 in [2] == False ») evaluates to False whereas sec..... More

Print this item

  How Do I Only Get the Year from Date and Isolate Data for Year?
Posted by: WhatsupSmiley - Apr-10-2020, 06:36 PM - Forum: Data Science - Replies (2)

Hi,

I am working with a pandas dataframe which has a date column, called Occurrence Year. I am trying to only get the year for that column (drop t..... More

Print this item

  define certain array elements+display with digits
Posted by: lukezo - Apr-10-2020, 05:03 PM - Forum: Data Science - No Replies

I have a question about Jupyter arrays. I have a zero array A0 and want to replace say (n-2)-th element with a value defined in previous line in equat..... More

Print this item

  Paramiko resource shortage error
Posted by: michu7 - Apr-10-2020, 04:04 PM - Forum: Networking - No Replies

I want to log into a router from a gateway switch and then pass commands to get the logs of the router

Made a script for the same butting receiving..... More

Print this item

  how to write offset number to disk use python?
Posted by: Pyguys - Apr-10-2020, 03:57 PM - Forum: General Coding Help - Replies (4)

please advice. here is sample of result get view disk hex with xxd in terminal. thanks.
[output]
00000000: 0000 0000 0000 0000 dddd dddd dddd dddd ..... More

Print this item

  Accessing value in Dict
Posted by: Pioden - Apr-10-2020, 02:48 PM - Forum: General Coding Help - Replies (2)

I'm tearing my hair out trying to figure out what I'm doing wrong with access values in a dictionary!
Here's a greedy algorithm for returning change ..... More

Print this item

  Adding colour to Python console
Posted by: Archangelos - Apr-10-2020, 12:57 PM - Forum: General Coding Help - Replies (4)

Hello guys,

I tried to colourise the texts in a Python consol applications but the results were a little bit weird.

Firstly, I googled the whole..... More

Print this item

  script that handle windows notifications.
Posted by: darktitan - Apr-10-2020, 12:37 PM - Forum: General Coding Help - Replies (1)

Have any one got any idea how to handle windows notifications? I have searched every where about this.
I need to just make a script that detects a wi..... More

Print this item

  I can't control the speed of the turtle object
Posted by: Hesper - Apr-10-2020, 12:25 PM - Forum: Game Development - Replies (1)

I recently began writing a simple ping pong game in python using turtle. The code seems fine its just but I can't control the speed of ball which is a..... More

Print this item

  google home page change
Posted by: Larz60+ - Apr-10-2020, 11:54 AM - Forum: Bar - No Replies

Recently (past few days), google changed the entry widget on their home page.

Used to be that there was a magnification glass icon which when click..... More

Print this item

  how to run a series of py scripts
Posted by: davidm - Apr-10-2020, 11:19 AM - Forum: General Coding Help - Replies (2)

Hi Just starting out on the python path and would like to know the best way to run all the 4 steps below in one operation (batch file in my day)

1...... More

Print this item

  Do lists of classes take up more space in memory?
Posted by: DreamingInsanity - Apr-10-2020, 11:13 AM - Forum: General Coding Help - Replies (1)

I'm going through refactoring and cleaning up my code.

At the moment, I have data written to a file to store it, then later on I take the file and cr..... More

Print this item

  mysql.connector
Posted by: Nobima - Apr-10-2020, 11:00 AM - Forum: General Coding Help - Replies (1)

In Ubuntu and Python 3.5.2 I want to connect to a Mysql-Database.

With the command "import mysql.connector" I get an ImportError "No module named '..... More

Print this item

  Python interpreter - output to file
Posted by: SectionProperties - Apr-10-2020, 08:49 AM - Forum: General Coding Help - Replies (8)

With the Python interpreter, analogous to the Command Prompt in windows, is there a way to export or write output to a file.

In looking at the code f..... More

Print this item

  Variable from notepad problem
Posted by: samuelbachorik - Apr-10-2020, 08:43 AM - Forum: General Coding Help - Replies (2)

Hello dear users, let me explain you my problem with variable.

b = open("test.txt", "r").readline()

a = input("Write")

if a == b:
print..... More

Print this item

  Python "Terminal" vs "Shell"
Posted by: SectionProperties - Apr-10-2020, 07:30 AM - Forum: General Coding Help - Replies (2)

I have installed Python 3.6.0 on my machine.

From the Windows Start menu, the options for coding seem to be as follows:
[b]- IDLE (Python 3.6 64-b..... More

Print this item

  Python Returns Hexadecimal
Posted by: BushChooks - Apr-10-2020, 06:01 AM - Forum: Data Science - Replies (1)

Within Python Simpy library, you have Resources that can be used by Processes, and at any point in time there may be Processes queuing to use a partic..... More

Print this item

  Is it possible to automate button generation in tkinter?
Posted by: FirePepi - Apr-10-2020, 01:11 AM - Forum: GUI - Replies (3)

I would like to write a simple image viewer. I have already written it, when my friend said she wanted nothing from the pictures to appear in the prog..... More

Print this item

  Iteration Help
Posted by: jareyesluengo - Apr-09-2020, 09:34 PM - Forum: General Coding Help - No Replies

Hi;

i create a code for find a replace words of a list. But i had a proble in the iterarion of this code, only change the first word

[python]def..... More

Print this item

  Getting errors when trying to run programs
Posted by: whois1230 - Apr-09-2020, 06:42 PM - Forum: General Coding Help - Replies (8)

I tried to copy the code of a game to see what happens, ..... More

Print this item

  Program with Multiple Windows - how to use Class:
Posted by: Riddle - Apr-09-2020, 06:13 PM - Forum: GUI - Replies (1)

Hi everyone,
This is my first post on this forum. I have been trying to learn Tkinter and find answers via web searches, but it only got me so far. I..... More

Print this item

  Error 13 permission
Posted by: tpolim008 - Apr-09-2020, 05:49 PM - Forum: General Coding Help - Replies (2)

Hello,
Im slowly getting into the game of python and learning its much strict than other languages. Im running into an issue with my script Im work..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 2 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 8 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 9 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577316
  Tutorial Requ... 500579
  Web Scraping ... 440986
  Newbie with P... 385022
  New Users Int... 369486
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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