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,579

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, AOL, Mojeek

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 2
» Views: 82
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
9 hours ago
» Replies: 0
» Views: 40
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,529
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 92
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 197
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,046
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 462
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,090
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,165
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 846

 
  multiprocessing.Queue.put(,,0) not documented
Posted by: Skaperen - Jul-29-2019, 12:17 AM - Forum: General Coding Help - Replies (2)

in the documentation for multiprocessing.Queue.put(), it describes what happens when block (2nd argument) is True (the default) a..... More

Print this item

  i am looking for a simpler tokenizer
Posted by: Skaperen - Jul-28-2019, 11:04 PM - Forum: General Coding Help - Replies (7)

the tokenize module is too much for what i need. what i need is basically like str.split() but with support for quoted strings, including quotes with..... More

Print this item

  wbserver roundSlider widget doesn't start/update audio tone program
Posted by: Hadad - Jul-28-2019, 09:57 PM - Forum: Web Scraping & Web Development - Replies (8)

When I run my webserver program the audio output is working (which is continuous Tone)and the Slider works too (I mean the Slider does update the valu..... More

Print this item

  Dynamically placing axes in subplots via dataframe plot
Posted by: naftis - Jul-28-2019, 07:47 PM - Forum: Data Science - Replies (1)

Using matplotlib with pandas, I'm trying to create a set of subplots in a figure.

As the number of plots to be included varies, the subplots layout..... More

Print this item

  morse code assignment
Posted by: raymond2688 - Jul-28-2019, 07:32 PM - Forum: Homework - Replies (11)

Hello again and as always thank you for your continued help.I have reached out to the instructor but have not gotten any reply.
here is my issue. I h..... More

Print this item

  convert html table to json
Posted by: bhojendra - Jul-28-2019, 06:34 PM - Forum: Web Scraping & Web Development - Replies (5)

I am trying web scraping for the first time. I am able to get the html table which is defined like:
[python]
<table>
<tbody>
<tr></tr>
<tr>
..... More

Print this item

  Four text files input combinations into an output file
Posted by: mhyga - Jul-28-2019, 06:28 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I need your help about the script below.
Originally, I wanted to have all datas product from 4 text files inputs. Each text file c..... More

Print this item

  Whats the right way to refactor this Big if/elif/elif ?
Posted by: pitosalas - Jul-28-2019, 05:26 PM - Forum: General Coding Help - Replies (1)

This code is ugly and not pythonic. I am new to python not new to programming. Instead of guessing on one of many possible refectorings, could you tel..... More

Print this item

  How can I make buttons appear depending on the current index of a Combobox?
Posted by: SteampunkMaverick12 - Jul-28-2019, 05:17 PM - Forum: GUI - Replies (2)

I have a ttk Combobox with

values=('A','B','C','D')
how can i make buttons and other widgets appear and disappear based on the curre..... More

Print this item

  Proof-of-Work (pow) cryptocurrency blockchain
Posted by: cvsae - Jul-28-2019, 03:48 PM - Forum: Code sharing - Replies (1)

Silme is A pure implementation of Proof-of-Work (pow) cryptocurrency blockchain writen in python2.x for education puropses ..... More

Print this item

  Trying to get an if..elif..else statement to run.
Posted by: Azurato - Jul-28-2019, 03:07 PM - Forum: Homework - Replies (4)

I am having difficulties getting an if...elif..else statement to run in a function.

[python]

listOfWhatIsOwedBack = [i for i in str(whatIsOw..... More

Print this item

  URL ReGex missing out URL
Posted by: graham23s - Jul-28-2019, 02:59 PM - Forum: General Coding Help - No Replies

Hi Guys,

I cannot figure this issue out, i'm downloading emails via pop3:

code:

[python]
def pop3_downloader(username, password, pop3server, port, ..... More

Print this item

  Refresh image in label after every 1s using simple function
Posted by: jenkins43 - Jul-28-2019, 10:50 AM - Forum: GUI - Replies (1)

I am trying to refresh the Label Image after every 1s I have created one class in which only one time I 'll click on the button to display the image a..... More

Print this item

  Deep learning for EMC tests
Posted by: istemihan - Jul-28-2019, 10:44 AM - Forum: News and Discussions - Replies (1)

Hello to all!

I am an electronics engineer and working as a hardware design engineer (I usually design Mainboard for Televisions). However, I am no..... More

Print this item

  Object and type class
Posted by: Uchikago - Jul-28-2019, 07:47 AM - Forum: General Coding Help - Replies (2)

Hi, i'm a bit confused about type class and object class. I know that every normal class and built-in type are instance of [b][i]type[/i..... More

Print this item

  waiting for a mix of file and processes
Posted by: Skaperen - Jul-28-2019, 06:58 AM - Forum: General Coding Help - No Replies

i can wait for a group of pipes to wake up when any one of them has something to deal with, like the peer did close() and i need to read it to discove..... More

Print this item

  hatching not working properly with matplotlib
Posted by: Staph - Jul-28-2019, 05:24 AM - Forum: General Coding Help - Replies (3)

I have 2 arrays arr1 contains correlation values of between -1 to 1
arr2 contains nans and 1's but same shape as arr1
arr1 = 180 * 360
arr2 = 180 ..... More

Print this item

  Python 3 Global Variable Help
Posted by: Tridium - Jul-28-2019, 03:24 AM - Forum: Game Development - Replies (5)

Hi, I'm just learning python and I'm still an absolute beginner, but I've decided to try my hand at a choose your own adventure game.
My goal is to t..... More

Print this item

  Python Selenium .click() Loads Error - Works Manually.- Events not Triggered
Posted by: NSearch - Jul-28-2019, 02:05 AM - Forum: Web Scraping & Web Development - Replies (24)

I am attempting to navigate a web page with what I believe to be javascript triggers that are not being set properly when submitting (or clicking) the..... More

Print this item

  Basic python print script output on CGI?
Posted by: searching1 - Jul-28-2019, 01:30 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi, I'm currently doing some testing if possible to build like a webserver that print outs the result from a script that was based from CLI?

I have..... More

Print this item

  Saving and accessing data from different clients
Posted by: SheeppOSU - Jul-28-2019, 12:43 AM - Forum: General Coding Help - Replies (1)

I'm making a game with a login and saving the players data. Instead of saving their data in a local txt or json file. Is there some way I can save the..... More

Print this item

  Trouble with Loops in lab assignment
Posted by: jonstryder - Jul-28-2019, 12:33 AM - Forum: Homework - Replies (6)

Hi, so this is my first time in this forum. I'm new to python coding, and so far the majority of my coding experience has been in regards to web desi..... More

Print this item

  Learning Python
Posted by: Johnygo - Jul-28-2019, 12:21 AM - Forum: News and Discussions - Replies (7)

I have a general question about learning Python. I am learning Python by myself using a book and doing the practice tests in the book which are every ..... More

Print this item

  change background color of button
Posted by: ieee488 - Jul-27-2019, 11:21 PM - Forum: GUI - Replies (3)

Starting to learn Python though I know other languages such as VB.NET

I create 5 buttons.
[python]
tkinter.Button(Gui, "1", command=callback).gri..... More

Print this item

  Python vector
Posted by: cvsae - Jul-27-2019, 10:21 PM - Forum: Code sharing - Replies (4)

Pyvec is a working incomplete pure python "implementation" of c++ vector wich supports iterators (begin() end()) and more ..... More

Print this item

  Reverse list items in a stupid way
Posted by: pyth0n123 - Jul-27-2019, 09:43 PM - Forum: General Coding Help - Replies (4)

Why is the following code not working?

[python]text="I am very busy today"
a=text.split()
word=a
print(word)
word[4]=a[0]
word[3]=a[1]
word[2..... More

Print this item

  Help with two lines in a function
Posted by: amjass12 - Jul-27-2019, 05:32 PM - Forum: General Coding Help - Replies (6)

Hi all,

I was wondering if somebody could help me correct two lines in a function i have made to generate a confusion matrix. The lines in questio..... More

Print this item

  How do you import a dictionary from a .csv file?
Posted by: SteampunkMaverick12 - Jul-27-2019, 01:21 PM - Forum: General Coding Help - Replies (2)

I have a .csv file like this

data.csv
h:ᛄ
j:☆
k:☇
and I have a python program

[python]import csv
f=open('data.csv','r')..... More

Print this item

  An Object of Objects?
Posted by: cebb - Jul-27-2019, 12:38 PM - Forum: General Coding Help - Replies (4)

Bare with me, relatively new to playing with python, I'm trying to backwards engineer an object so that I can recreate it slightly differently. I'm tr..... More

Print this item

  I need help with a python script
Posted by: nicopython - Jul-27-2019, 10:18 AM - Forum: General Coding Help - Replies (4)

Hello,

A colleague coded a script for me.

this script is supposed to remove every entry from an access file where the content of the field speci..... More

Print this item

  SyntaxError: invalid character in identifier
Posted by: neogeo - Jul-27-2019, 08:32 AM - Forum: General Coding Help - Replies (2)

Hello,
complete newbie here. Was practicing on pycharm and can't figure out why I'm getting such a rudimentary error. Please see below. Any feedback..... More

Print this item

  Multiprocessing using on multiple for loops
Posted by: Staph - Jul-27-2019, 08:06 AM - Forum: General Coding Help - Replies (3)

[python]AS5_all = []
n= 500

for i in range n:
for x in range(len(lat)):
for y in range(len(lon)):
lst = np.array((AS[:,..... More

Print this item

  documentation is wrong for exec()
Posted by: Skaperen - Jul-27-2019, 12:33 AM - Forum: News and Discussions - Replies (9)

the documentation for exec() says the first argument must be a string or code object and that only the unix style end-of-line is accept. but i have f..... More

Print this item

  Parsing json - dictionary with in dictionary
Posted by: krish216 - Jul-26-2019, 09:31 PM - Forum: General Coding Help - Replies (6)

Hello I want to extract the value of all pr1 from location1 & 2 from below json - Any ideas would be appreciated
[python]
import json

jsonget = {..... More

Print this item

  want suggested module for e-mail parsing
Posted by: Skaperen - Jul-26-2019, 08:52 PM - Forum: News and Discussions - No Replies

i see that there are many modules that claim to be able to parse and/or process email. i have a coming project where a script will get an email entir..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 3 hours ago Tycho_2025 Pedroski55 General Codin...
  Weird failure in Selenium 9 hours ago glestwid glestwid General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 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... 577475
  Tutorial Requ... 501302
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369878
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 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday
chikkamagalur Yesterday
Costa Yesterday

User Panel Messages

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