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,988
» Latest member: markwood955
» Forum threads: 38,736
» Forum posts: 175,578

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 38 Guest(s)
Applebot, AOL, Bing

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
1 hour ago
» Replies: 0
» Views: 12
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
2 hours ago
» Replies: 1
» Views: 46
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
7 hours ago
» Replies: 3
» Views: 2,524
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 2
» Views: 79
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 6
» Views: 183
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,043
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 457
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,086
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,157
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 837

 
  Idea of project
Posted by: dibax10 - Nov-26-2019, 08:07 PM - Forum: News and Discussions - Replies (2)

Good evening,
As part of my studies, on a Python module and on the teacher we ask to realize a project. But it is to offer us a project idea that doe..... More

Print this item

  capture next block of text after finding error in file
Posted by: kdefilip2 - Nov-26-2019, 07:07 PM - Forum: General Coding Help - Replies (6)

I have some code to find an error message in an error log file. When the error is found, the very next block of text will be a path. I need to captu..... More

Print this item

  Whats the problem here? Class
Posted by: Ronaldx - Nov-26-2019, 06:28 PM - Forum: Homework - Replies (4)

Hello, there is an error in the code, what exactly? I would use def __init__(self, openeddoor) and then self.openeddoor but I do not think this is the..... More

Print this item

  Is it possible to avoid 2 loops inside another loop?
Posted by: SvetlanaofVodianova - Nov-26-2019, 06:03 PM - Forum: General Coding Help - Replies (2)

Assume I have the following folders inside a folder called Repository.

  • Space
  • Landscape\Bridges

I want t..... More

Print this item

  Table with fixed columns
Posted by: Mike2607 - Nov-26-2019, 05:09 PM - Forum: Homework - Replies (3)

I am trying to print a table from a file with fixed columns. I have the initial part down but I am not sure where to begin to break down the data int..... More

Print this item

  Anaconda Spyder erratically reset by distutils C extension
Posted by: OTAGOHARBOUR - Nov-26-2019, 04:59 PM - Forum: General Coding Help - Replies (4)

I am using Anaconda Spyder 3.3.6 (Python 3.7) on CentOS 7. I would like to pass 3D numpy arrays to a C function that processes the input and returns a..... More

Print this item

  Help getting a new varible in a loop (or something)
Posted by: JackMack118 - Nov-26-2019, 03:09 PM - Forum: GUI - Replies (1)

Hello, I have a coding question please.

This here code makes a simple (and ugly) tkinter bot GUI, but design isn't my question. I'm trying to figur..... More

Print this item

  Help w/ Max/Min User Input Code
Posted by: ThatGreatState - Nov-26-2019, 02:41 PM - Forum: General Coding Help - Replies (2)

I am trying to make a small program that prompts the user for inputs and that at the end will spit out the highest and lowest numbers entered, also to..... More

Print this item

  h5py: deep dataset access
Posted by: paul18fr - Nov-26-2019, 02:30 PM - Forum: Data Science - Replies (2)

All

I'm looking in a way to list and record hdf5 file content (full path and dataset number/names) into lists; digging into internet, I've found th..... More

Print this item

  Convert HH:MM:SS to seconds
Posted by: RavCOder - Nov-26-2019, 12:49 PM - Forum: General Coding Help - Replies (4)

Hi,
I was doing this exercise that calculate totalseconds from user input.
This is text:
[quote]Write the algorithm that, having received a time in..... More

Print this item

  Get username
Posted by: ALFA - Nov-26-2019, 06:59 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi!
I have Flask app with CherryPy webserver. I need to do authentication using Active Directory. I can get user data from Active Directory but dont..... More

Print this item

  regarding lpvariable
Posted by: rin109 - Nov-26-2019, 05:06 AM - Forum: General Coding Help - No Replies

Hi,
How do I write the code for a dependent decision variable for linear programming?

I want to minimize the cost.
and I wrote: Lp_prob = p.LpP..... More

Print this item

  Read csv file, parse data, and store in a dictionary
Posted by: markellefultz20 - Nov-26-2019, 04:47 AM - Forum: General Coding Help - Replies (4)

I have a file that contains songs recently played by a radio station, the artist, and time played in this format: "November 4, 2019 8:02 PM","Wagon Wh..... More

Print this item

  Using loop for getting data in several List
Posted by: quyenca - Nov-26-2019, 01:52 AM - Forum: General Coding Help - Replies (4)

Hi every one,
I'm a newbie in using Python. I have 1 problem about list/ tuple/ dictionary/ set:
How can i get data in 10 list (/ tuple/ dictionary/..... More

Print this item

  Short font question
Posted by: Pizzas391 - Nov-25-2019, 09:50 PM - Forum: General Coding Help - Replies (9)

Hello, I know how to make a square and how to make a font, but I have a problem, when I have the square and text on the same place, you don't see the ..... More

Print this item

  NameError 'odometer' not defined
Posted by: rfernandez15 - Nov-25-2019, 09:43 PM - Forum: General Coding Help - Replies (1)

I keep getting a name error for odometer. I am following a textbook example and I seem to have everything correct according to the book. PLEASE HELP!..... More

Print this item

  JSON parsing (nested)
Posted by: fakka - Nov-25-2019, 09:25 PM - Forum: General Coding Help - No Replies

RAW JSON below

How would I output 'mem_free' value under the nested JSON - only if the 'hostname': 'hcb005sp01p.mydoman.com:8091'



{'name': '..... More

Print this item

  does this file look like Python?
Posted by: Skaperen - Nov-25-2019, 08:19 PM - Forum: News and Discussions - Replies (2)

i want to have a command or function that can examine a file and report a probability (and confidence factor would be a plus) that its contents are in..... More

Print this item

  Listing groups
Posted by: tharpa - Nov-25-2019, 07:53 PM - Forum: General Coding Help - Replies (2)

Suppose I see a line of code like

elif m.group('status').lower() in ['stopped', 'failed']:
And I want to see all statuses that are ..... More

Print this item

  gpedit.msc - pls help!
Posted by: sniper6 - Nov-25-2019, 07:48 PM - Forum: General Coding Help - Replies (4)

Hello guys
i want to make limited bandwidth 50%
i have tried but i cant
same one help me pls Heart
[img]https://2.top4top.net/p_142424eke1.p..... More

Print this item

  () "" ("") Basic help
Posted by: SupaNub - Nov-25-2019, 05:36 PM - Forum: General Coding Help - Replies (4)

Hello What are the exact rules using these signs
"" : () and_this
(" i no this means print eveything inside ") "but how about when its like this " ..... More

Print this item

  strange class property
Posted by: KaliLinux - Nov-25-2019, 04:22 PM - Forum: General Coding Help - Replies (2)

Why does the following program output "python is hard" ?
[python]class t:
def __init__(self):
self.__t="python is hard"
t=t()
print(t..... More

Print this item

  Need help in python scripting
Posted by: rajrishi990 - Nov-25-2019, 02:13 PM - Forum: General Coding Help - Replies (17)

I am new to python
I have below json file and i need to convert it to csv and pull only selected columns in csv.Selected columns will be id,SID,Type,..... More

Print this item

  Memento Pattern
Posted by: amb85 - Nov-25-2019, 01:20 PM - Forum: News and Discussions - Replies (2)

I'm wondering what the applicability of the Memento design pattern is in Python.

The intent of the pattern is to capture and externalise the intern..... More

Print this item

  Extract tag body without leading/trailing spaces
Posted by: Pavel_47 - Nov-25-2019, 01:17 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,
Executing of this code:
[python]import requests
from bs4 import BeautifulSoup

isbn = 9783319988412
url = f'http://www.amazon.com/s?k={is..... More

Print this item

  [Tkinter] Window geometry appears different on Win and Linux
Posted by: steve_shambles - Nov-25-2019, 11:40 AM - Forum: GUI - Replies (6)

I write my code in Windows 7 using IDLE on Python v3.67.

When I try out Tkinter code on Linux Mint 19.1, also using Idle and Python 3.67,
the GUI win..... More

Print this item

  200 Python code snippets free
Posted by: steve_shambles - Nov-25-2019, 11:23 AM - Forum: Code sharing - Replies (6)

For the last 18 months or so I have been carefully collecting Python code snippets
that are useful to me, and therefore beginners to intermediate cod..... More

Print this item

  PyInstaller fails after changing 32 to 64 bit
Posted by: pynz - Nov-25-2019, 10:25 AM - Forum: General Coding Help - Replies (3)

Hi
On Windows 10, I have an application that works when frozen with PyInstaller and Python 3.7.4 (32-bit). After upgrading to Python 3.8.0 (64-bit) w..... More

Print this item

  Setting Binding to Entry created with a loop?
Posted by: p_hobbs - Nov-25-2019, 09:52 AM - Forum: GUI - Replies (1)

I'm not even really sure what to google to find what I'm looking for. So I haven't been able to find what I'm looking for.

So, I'm creating a seri..... More

Print this item

  Error : (FileNotFoundError(2, 'The system cannot find the file specified', None, 2,
Posted by: Shipika - Nov-25-2019, 07:54 AM - Forum: Data Science - Replies (3)

I am working on Azure Machine Learning Workspace. I have created a training model. Its working fine and giving correct output but When I am looking at..... More

Print this item

  Multiple Line Chart Plotting
Posted by: moto17 - Nov-25-2019, 05:17 AM - Forum: General Coding Help - Replies (1)

Hello All,

I am trying to plot multiple lines on a chart using the following data and would be grateful for any assistance.
I have a set of daily cou..... More

Print this item

  Python list - group by dict key
Posted by: karthidec - Nov-25-2019, 03:53 AM - Forum: General Coding Help - Replies (2)

Pls help me on this python list with dict items query.

I need to group these elements by name key.

Input:
[{'name': 'charlie', 'Ready For..... More

Print this item

Question Please clarify variables
Posted by: tonycstech - Nov-25-2019, 02:41 AM - Forum: General Coding Help - Replies (3)

Hi guys i need help understanding fundamental uses of variables and functions.
I created a class for a calculator:

[python]class calc:
def mu..... More

Print this item

  Struggling with several while loops
Posted by: nsadams87xx - Nov-25-2019, 01:36 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm very new to Python and doing some very basic personal practice and trying to make a function that checks for stock prices and s..... More

Print this item

  simple udp server/client
Posted by: cardmaker - Nov-24-2019, 10:57 PM - Forum: Networking - Replies (2)

hello, im trying to make i simple udp server client (two in one).
the client send every 5 second a string to a server(port 23000) and save the respon..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 1 hour ago glestwid glestwid General Codin...
  print does not open conso... 2 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Fred Economic Data API 7 hours ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 8 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 8 hours ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577468
  Tutorial Requ... 501244
  Web Scraping ... 441090
  Newbie with P... 385158
  New Users Int... 369840
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
markwood955 Today
DerekGeel Today
Tycho_2025 Today
chikkamagalur Today
Costa Today

User Panel Messages

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