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,288
» Latest member: jackhunter
» Forum threads: 38,793
» Forum posts: 175,878

Full Statistics

Online Users
There are currently 37 online users.
» 3 Member(s) | 29 Guest(s)
Google, Bing, DuckDuckGo, Apple, lovedeep, snippsat, buran

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: Ninja2112
25 minutes ago
» Replies: 2
» Views: 11
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 143
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 53
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,488
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 150
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 68
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,081
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,303
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 384
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 222

 
  the baby chatbot
Posted by: ronblue77 - Nov-27-2019, 12:33 PM - Forum: Code sharing - Replies (9)

hello all

here is a code of a program of what i call "a baby chat bot" the bot only knows 4 words "mom' "dad" "food" and "hi" the user is suppose t..... More

Print this item

  Assert that dictionary contains a key
Posted by: phpMick - Nov-27-2019, 10:41 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python and and am trying to learn testing (using unittest).

How do I assert that a dictionary contains a key?

Cheers,

Mick

Print this item

  socket loop problem
Posted by: monamour - Nov-27-2019, 09:16 AM - Forum: Networking - Replies (9)

Dear All,

I have tried to write a code which fetches the Host name and the IP Address for a user. The program is working nice as you can ..... More

Print this item

  How to import entire module ?
Posted by: tonycstech - Nov-27-2019, 08:58 AM - Forum: GUI - Replies (5)

I want to import entire module. I dont want to specify each function of that module i plan on using.
For example:
[python]from tkinter import messag..... More

Print this item

  [ library recommendation ] search & highlight target texts in PDF?
Posted by: smallabc - Nov-27-2019, 08:50 AM - Forum: General Coding Help - Replies (1)

Hi,
I am looking for a library, where :
1. user inputs target texts for highlight ( + also preferred highlight color )
2. script will read the PDF..... More

Print this item

  Unable to put background image on Tkinter Frame
Posted by: jenkins43 - Nov-27-2019, 07:59 AM - Forum: GUI - Replies (2)

Hi, I am trying to place Image as background in frame which contains the textfield, button, and label.

Mentioned below is my code kindly help me ou..... More

Print this item

  Developing application for Android
Posted by: atari400 - Nov-27-2019, 07:56 AM - Forum: General Coding Help - Replies (1)

Hello,

I would like to develop a business application for Android which basically reads/writes some data from a remote SQL server.

My preference..... More

Print this item

  Python Classes
Posted by: leodavinci1990 - Nov-27-2019, 07:08 AM - Forum: General Coding Help - Replies (1)

[python]from random import Random # library for randoms
class Die(object): # define the class
sides = [1,2,3,4,5,6]
def __init__(self): # M..... More

Print this item

  updating certain values in dict. with relation to their keys
Posted by: malevy - Nov-27-2019, 07:06 AM - Forum: General Coding Help - Replies (17)

Hi all
just joined
I have a very annoying problem
I have a dictionary containing key value pairs that are all integers.
I want to check if some va..... More

Print this item

  Need Help for my program
Posted by: sampathkumar - Nov-27-2019, 05:22 AM - Forum: General Coding Help - Replies (19)

Hi friends
I am new to python. i tried to write a code for file transfer automation.
actually my requirement is software will generate a folder dail..... More

Print this item

  Help understand loops
Posted by: tonycstech - Nov-27-2019, 04:39 AM - Forum: General Coding Help - Replies (9)

I have 3 loops that i am confused about.

tkinter.mainloop()
Is this loop specifically for tkinter module and it will run independen..... More

Print this item

  Python Numpy and DataFrame Project
Posted by: isabelleckard - Nov-27-2019, 04:14 AM - Forum: Homework - Replies (1)

Hi! I left a python project until the last minute, and now I'm super confused and don't know how to start. The project is laid out by the pseudocode w..... More

Print this item

  Help me with yahoo finance excel sheet
Posted by: Learner4life - Nov-27-2019, 02:19 AM - Forum: Homework - Replies (2)

Hello Guys,

I am looking for help with my homework, as the code I have, I am not able to get 'Adj Close' price from yahoo finance, I am looking to ..... More

Print this item

  Calculating frequency of items in a dictionary
Posted by: markellefultz20 - Nov-27-2019, 01:23 AM - Forum: General Coding Help - Replies (1)

I have a dictionary called purchases that has the payment method as the key and a dictionary containing payment types and their frequency as the value..... More

Print this item

  ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item()
Posted by: bongielondy - Nov-27-2019, 01:23 AM - Forum: General Coding Help - Replies (2)

I want to calculate Accuracy based on the new compound column. The if statement is giving me an error.
Error is

[python]
# Importing Libraries
impor..... More

Print this item

  Embedded Python PyObject_CallObject function
Posted by: JRHeisey - Nov-27-2019, 01:18 AM - Forum: General Coding Help - Replies (1)

  • It appears that PyObject_CallObject() always returns an PyObject pointer event when the Python function does not explicitly return a value ..... More

Print this item

  Python as an analysis tool
Posted by: nsadams87xx - Nov-27-2019, 12:44 AM - Forum: News and Discussions - Replies (3)

Good evening everyone,

I have asked a question like this recently but I'm getting more exposure to Python and a little more naively dangerous with ..... More

Print this item

  [split] VS Code Editor
Posted by: SupaNub - Nov-26-2019, 10:51 PM - Forum: General Coding Help - Replies (5)

Hello is there any way of cleaning up the terminal i would like to see just the hate how it shows every last folder and sub folder leading to the PY...... More

Print this item

  Error in my code
Posted by: TumbleR - Nov-26-2019, 10:19 PM - Forum: Homework - Replies (1)

Hello everyone,
I am working on my school homework that is quite easy for some professional, but I have troubles with few things that I tried to chan..... More

Print this item

  How to share a variable between two Python classes?
Posted by: robin1992 - Nov-26-2019, 09:07 PM - Forum: GUI - Replies (2)

How to share a variable between two Python classes?
I am not an experienced programmer so please keep that in mind. I have a made an application with..... More

Print this item

  common form of multi-line text
Posted by: Skaperen - Nov-26-2019, 09:00 PM - Forum: News and Discussions - Replies (3)

for a function intended to take a multi-line block of text and produce a different multi-line block of text as the return value (not necessarily the s..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 25 minutes ago Ninja2112 Ninja2112 GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579285
  Tutorial Requ... 512141
  Web Scraping ... 442196
  Newbie with P... 386306
  New Users Int... 379735
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
jackhunter Today
EmilyCarter Today
xdimbah Today
IsmaelSlalk Today
Stephenchers Today

User Panel Messages

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