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 43 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Google, AOL, Facebook Dev, Apple, AOL, snippsat

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

 
  getting error ValueError: time data '' does not match format '%H:%M'
Posted by: srisrinu - Apr-08-2020, 11:58 AM - Forum: General Coding Help - Replies (2)

I'm getting ValueError:time data ' ' does not match format '%H:%M'
for the following text file with text message
[quote]
Cricket, a bat-and-ball pa..... More

Print this item

  My Pygame Sprite not appearing...
Posted by: noodlespinbot - Apr-08-2020, 11:34 AM - Forum: Game Development - Replies (3)

My rectangle won't appear... I am using pygame. I just want a still rectangle.

[python]
import pygame

pygame.init()

#Display#
display = py..... More

Print this item

  My Pygame Sprite not appearing...
Posted by: noodlespinbot - Apr-08-2020, 11:15 AM - Forum: Game Development - Replies (1)

My sprite is not appearing. I am trying to draw a rectangle.
code:

[python]
import pygame

pygame.init()

#Display#
display = pygame.display..... More

Print this item

  Trouble with Sudoku Solver
Posted by: Techmokid - Apr-08-2020, 05:59 AM - Forum: General Coding Help - Replies (2)

Hello!

I got bored and decided to make a simple sudoku solver, but I am having a tiny issue wrapping my head around a simple problem.
[python]puzz..... More

Print this item

  Problems reading modules and the auto filler
Posted by: Tomli - Apr-08-2020, 05:07 AM - Forum: General Coding Help - Replies (8)

Hello everyone!

Wish someone can help me with the following two problems I have been getting

(Just to clarify I’m using VSC as my text editor, m..... More

Print this item

  Creating look up table/matrix from 3d data array
Posted by: chai0404 - Apr-08-2020, 03:48 AM - Forum: Data Science - Replies (3)

Hi,
I have a data array of coastal grid cells and I need to find adjacent ocean cells from a different dataset.
To begin with, I have a 3D data arra..... More


Attached Files

Thumbnail(s)
   
Print this item

  the second program that I did in python
Posted by: dsad12 - Apr-08-2020, 02:14 AM - Forum: Code Review - No Replies

I stayed up all night, writing a code of over 200 lines. I constructed a program from scratch, from which, one can download a full internet page inclu..... More

Print this item

  Python beautifulsoup pagination error
Posted by: The61 - Apr-08-2020, 12:12 AM - Forum: Web Scraping & Web Development - Replies (5)

I want to make a pagination but page is not changed
[python]
import requests
from bs4 import BeautifulSoup as bs
from colorama import init

i..... More

Print this item

  Contextual pop-up menus in Sublime Text
Posted by: Mondata - Apr-07-2020, 10:51 PM - Forum: General Coding Help - Replies (4)

Hi there.

I have started using the Sublime Text editor (version 3.2.2).
I wonder how to get all that very helpful contextual pop-up menus when wri..... More

Print this item

  generate UML design from python code
Posted by: Phaze90 - Apr-07-2020, 09:34 PM - Forum: General Coding Help - Replies (2)

Hello,

i am looking for a possibility to reverse engineer my code to have a class design / diagram.
It helps to see the dependencies between the c..... More

Print this item

  Sort a dict in dict
Posted by: cherry_cherry - Apr-07-2020, 08:30 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I want to sort by 'name' value, by 'notes' values and by average 'notes' values in a dictionary. I tried different methods but it..... More

Print this item

  .dat file to xlsxl
Posted by: Makada - Apr-07-2020, 07:39 PM - Forum: General Coding Help - Replies (40)

Hi,

I want to have the data in the .dat file copied in a xlsxl file.
The data is comma seperated, a fragment from the data incl. Headers is shown ..... More

Print this item

  why (a and b) different from (b and a)
Posted by: oloap - Apr-07-2020, 07:24 PM - Forum: General Coding Help - Replies (4)

suppose that a = (True, 2) and b = (False, False). Why do a and b is different from [inline]b and a..... More

Print this item

  Mirror cell range in excel
Posted by: TRaWolTa89 - Apr-07-2020, 06:25 PM - Forum: General Coding Help - No Replies

Hey people

I'm new with Python programming so I don't know much. I have a problem with coping a range of cells with formatting but in reverse order..... More

Print this item

  question about getattr()
Posted by: ryfoa6 - Apr-07-2020, 06:13 PM - Forum: General Coding Help - Replies (3)

This may sound like an unimportant question but finding patterns in Python is what helps me memorize syntax.
Why are the attributes in quotes e.g. 'ag..... More

Print this item

  Create and remove advanced options
Posted by: PengEng - Apr-07-2020, 05:38 PM - Forum: GUI - Replies (4)

For context; this is part of an application which is creating various plots using inputted data.

The advanced options will show and hide once, but ..... More

Print this item

  Beginner of coding
Posted by: ykc2904 - Apr-07-2020, 05:17 PM - Forum: News and Discussions - Replies (4)

Hey guys, this is ken, an absolute beginner of coding(python) from hong kong, sorry for my broken English.

coz I don't have any background on progr..... More

Print this item

  Displaying Result from Data Frame from Function
Posted by: eagle - Apr-07-2020, 04:54 PM - Forum: Data Science - Replies (1)

Hello to All!
I have the below script I'm working on. It produce the error below, which seems to point on how to iterate over data frame. I tried var..... More

Print this item

  Script works when executed from command prompt but not when executed in SDP
Posted by: Tippex - Apr-07-2020, 04:26 PM - Forum: General Coding Help - No Replies

I have a python script with the line

latin1_2 = unicode_esc.encode('cp1252')

and when I execute the script in a Windows Command prompt it execu..... More

Print this item

  Using Dictionaries
Posted by: liquidate - Apr-07-2020, 03:13 PM - Forum: General Coding Help - Replies (1)

Please how do i store a list in the value pair of a dictionary?
For example, myDict = {key:[1,2,3,4,5,6,7,8]}

I want to get input from users where..... More

Print this item

  Spelling correction
Posted by: jareyesluengo - Apr-07-2020, 02:44 PM - Forum: General Coding Help - No Replies

Hi everyone;


I have this code, made for many parts of code, for preprocess and detected unique word on whatsapp group conversation:

[python]
..... More

Print this item

  drive wait in try
Posted by: windows11 - Apr-07-2020, 01:50 PM - Forum: Web Scraping & Web Development - No Replies

Hello guys Im trying to click in a button in one webpage, but this button can have two different Xpath
/html/body/div[2]/main/div[1]/div/div/div/div/..... More

Print this item

  pandas head() not reading all rows
Posted by: naab - Apr-07-2020, 01:03 PM - Forum: Data Science - No Replies

Hi,

I am reading a csv and applying the def to remove unnecessary data.
If i apply for 174 rows,"dict = (dc_data['Description'].head(174).apply(pr..... More

Print this item

  parse .graphml files
Posted by: bask185 - Apr-07-2020, 12:11 PM - Forum: Code Review - No Replies

I use python to transform a sphere diagram into a cpp state machine. It works like a charm if.... the provided .graphml file is made by the program yE..... More

Print this item

  deleting the columns using column name
Posted by: dkirandasari - Apr-07-2020, 12:00 PM - Forum: General Coding Help - No Replies

Hello all,
Hope you all are doing well.
Can anyone help me in deleting the columns in a CSV file using the column name (not the index)?
Thanks in ..... More

Print this item

  How to turn this into a for-loop.
Posted by: bask185 - Apr-07-2020, 11:55 AM - Forum: Code Review - No Replies

I am using python to generate cpp code for me, right now I am kinda not particular good at python. It is not my first language...

I have this code ..... More

Print this item

  Cx Freeze to exe - HELP
Posted by: WBPYTHON - Apr-07-2020, 11:50 AM - Forum: General Coding Help - Replies (5)

Hi everyone,

I made a python app using PyQt5, pandas, folium and stuff but now I struggle to convert it to exe. I tried Auto-to exe / Pyinstaller /..... More

Print this item

  Android app to collect data
Posted by: jehoshua - Apr-07-2020, 10:01 AM - Forum: GUI - Replies (7)

Presently I record details from an inverter and other power equipment each day. It is all a paper/pen exercise. Looking to build a Python app that can..... More

Print this item

  Program to keep track of reading time
Posted by: test - Apr-07-2020, 09:30 AM - Forum: General Coding Help - Replies (3)

Hello!
I have been trying to keep a tab on the time i spend doing a particular activity on my computer, eg: studying.

Initial approach:
An inter..... More

Print this item

  installing third-party modules
Posted by: shabux - Apr-07-2020, 08:54 AM - Forum: General Coding Help - Replies (5)

What I'm using:
Windows 10
Python 3.8 32-bit

Complete and utter Python Noob here, with zero coding experience. Hello! I'm following along with ..... More

Print this item

  Dict from list - HELP! PLEASE!
Posted by: cherry_cherry - Apr-07-2020, 07:15 AM - Forum: Homework - Replies (16)

Hi, I consider the list under condition that if value of numero isn't duplicated, a new dict will be issued from a list with key is numero and value i..... More

Print this item

  Datetime format issue with z
Posted by: sks3286 - Apr-07-2020, 07:11 AM - Forum: General Coding Help - Replies (2)

I'm trying to parse a string as a datetime object and running into issues parsing the timezone offset part.

This is my code:

[python]
from datetime ..... More

Print this item

  ValueError: could not convert string to float
Posted by: RahulSingh - Apr-07-2020, 05:17 AM - Forum: Data Science - Replies (3)

Hi,
I am getting -ValueError: could not convert string to float while trying to generate a map via geographical coordinates. My code is below:
I gat..... More

Print this item

  Selenium won't open a link
Posted by: Justin2444 - Apr-07-2020, 03:51 AM - Forum: Web Scraping & Web Development - Replies (2)

My code is:

from selenium import webdriver


class Bot:
def __init__(self):
self.driver = webdriver.Chrome()
self.driver...... More

Print this item

  Are there any python alternatives for LuaMacros?
Posted by: NathanStanley - Apr-07-2020, 02:51 AM - Forum: General Coding Help - Replies (1)

Currently attempting to create a shortcut keyboard- a second keyboard plugged into my PC which has all it's key-presses intercepted and interpreted in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 3 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 10 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 11 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... 577319
  Tutorial Requ... 500586
  Web Scraping ... 440989
  Newbie with P... 385023
  New Users Int... 369488
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