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,992
» Latest member: maribita
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

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

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

 
  removing quotes from a list and keep type list
Posted by: evilcode1 - Aug-03-2019, 08:35 AM - Forum: General Coding Help - Replies (3)

hello all ..
im trying to use sys.argv take and ip like : 192.168.1.99 and convert it to [192.168.1.99] ... but it add '
[python]import sys

star..... More

Print this item

  Create dataframe through Dictionary in pandas
Posted by: ift38375 - Aug-03-2019, 08:24 AM - Forum: Data Science - Replies (2)

Hi,

I have given below table and i want to create dataframe of this table using Dictionary:

[python]
2019 2017 2015 ..... More

Print this item

  what can i do with this error?
Posted by: harishchacker - Aug-03-2019, 07:27 AM - Forum: Homework - Replies (2)

[python]import codecs
import pyttsx3
import speech_recognition as sr
import datetime
import wikipedia
engine=pyttsx3.init('sapi5')
voices=engine..... More

Print this item

  how to remove black area around the graph in tkinter ?
Posted by: NEL - Aug-03-2019, 06:37 AM - Forum: GUI - Replies (1)

[python]from tkinter import *
from tkinter import ttk
import numpy as np
import pandas as pd


from pandas_datareader import data as wb
import ..... More

Print this item

  Help me understand what to do
Posted by: silverfang - Aug-03-2019, 04:26 AM - Forum: Homework - Replies (1)

Here is the question I am given:

(Implement Map using open addressing with quadratic probing) Implement
Map using open addressing with quadratic p..... More

Print this item

  Hangman tkinter help
Posted by: silverfang - Aug-03-2019, 04:04 AM - Forum: GUI - Replies (5)

Code for game works. Except I cannot get the game end if the correct input is entered. For example if the word is 'mouse' and the user spells out 'mou..... More

Print this item

  is try/except safe inside of another except?
Posted by: Skaperen - Aug-03-2019, 03:16 AM - Forum: General Coding Help - Replies (5)

is it safe to have a try/except within the except of another try/except?

i want to get some data that may fail, resulting in an exception. then th..... More

Print this item

  signal during multiprocessing.JoinableQueue.join()
Posted by: Skaperen - Aug-03-2019, 12:14 AM - Forum: News and Discussions - No Replies

if a process is waiting in .join() for some multiprocessing.JoinableQueue() object, what happens if a signal arrives for a signal registered with sign..... More

Print this item

  Modifying Classes
Posted by: Tridium - Aug-02-2019, 11:44 PM - Forum: Game Development - Replies (4)

Hello,

I am trying to better understand Classes.
This time, I'm trying to modify Class attributes(? I think this is the correct term) using a func..... More

Print this item

  get function returns None from Beautifulsoup object
Posted by: DeanAseraf1 - Aug-02-2019, 11:25 PM - Forum: Web Scraping & Web Development - Replies (3)

I'm trying to list all titles from a specific Wikipedia page
for some reason when i apply the .get function on the Beautifulsoup object to get all th..... More

Print this item

  multi-threading error in minimal script
Posted by: Skaperen - Aug-02-2019, 11:23 PM - Forum: General Coding Help - Replies (2)

i am getting the error shown below in a minimal little script that runs just 2 threads:
[output]lt2a/forums /home/forums 1> cat -n trytwocommands.py..... More

Print this item

  pickle.dump() and pickle.load() with non-blocking sockets
Posted by: Skaperen - Aug-02-2019, 10:35 PM - Forum: News and Discussions - No Replies

i need to have non-blocking sockets to use select or poll. that results in distinctive conditions for "no more data, yet" (because the other end is s..... More

Print this item

  a task Queue() that i don't need to finish
Posted by: Skaperen - Aug-02-2019, 09:37 PM - Forum: News and Discussions - No Replies

i am looking at multiprocessing.Queue() and multiprocessing.JoinableQueue(). but i don't want to finish the the last remaining tasks of the qu..... More

Print this item

  Help repeately prompting for directory name if it already exists.
Posted by: hikerguy62 - Aug-02-2019, 09:27 PM - Forum: General Coding Help - Replies (3)

I'm trying to write some code that will create a directory under an already existing
directory (C:\TIME\SITES). I want to keep asking the user to en..... More

Print this item

  Any Perl users here?
Posted by: millpond - Aug-02-2019, 08:24 PM - Forum: Bar - Replies (2)

As a Perl user (and certainly no expert) I am slowly learning Python, and liking it. I will probably keep perl for text and file processing, but I wan..... More

Print this item

  Upper-Bound Exclusive Meaning
Posted by: Johnny1998 - Aug-02-2019, 08:19 PM - Forum: General Coding Help - Replies (1)

I'm not entirely sure if this topic should be posted in "General Coding Help," But I hope its fine.

What does Upper-Bound Exclusive mean?

Whilst..... More

Print this item

  Help copying files with shutil
Posted by: hikerguy62 - Aug-02-2019, 07:38 PM - Forum: General Coding Help - Replies (2)

I'm messing around with the shutil module (brand new to Python) and trying
to figure out how to copy a file without overwriting it. The below works,..... More

Print this item

  Converting String to Integer Python
Posted by: Johnny1998 - Aug-02-2019, 07:23 PM - Forum: Homework - Replies (5)

NOTE: I am executing the Python langauge in Atom, a Text Editor for Coding.

I have a Homework assignment in which I'm supposed to get the fo..... More

Print this item

  Simple Matrix Assignment
Posted by: m_llaa - Aug-02-2019, 07:14 PM - Forum: General Coding Help - Replies (10)

Dear everybody
I am very expert with MATLAB programming but I am new with Python.
Very simple matrix assignment which is worked well in MATLAB, does..... More

Print this item

  Coding issue
Posted by: 1557676 - Aug-02-2019, 06:46 PM - Forum: General Coding Help - Replies (2)

Hi guys! I'm new to python and coding in general. I'm trying to make a program which will register new users and login registered users. My issue is w..... More

Print this item

  another problem :)
Posted by: raymond2688 - Aug-02-2019, 06:02 PM - Forum: Homework - Replies (28)

First I will say thanks in advance for all your help so far.
Here is the assignment

For remote access, it’s often better to use a Command Line Int..... More

Print this item

  openpyxl
Posted by: python_worm_ua - Aug-02-2019, 06:00 PM - Forum: General Coding Help - No Replies

Hello everyone!

I am writing a code which will sort names by the first letter and move them from the first column where they are initially written ..... More

Print this item

  GUI app for Android 2.3.0
Posted by: qwerty2019 - Aug-02-2019, 03:54 PM - Forum: GUI - Replies (3)

Hi, I am getting started with Python and would like to develop some apps for my old Android 2.3.0 tablet. I have Qpyton 1.4 installed, but it is a bit..... More

Print this item

  While loop
Posted by: kasper1903 - Aug-02-2019, 03:28 PM - Forum: General Coding Help - Replies (4)

Hi guys.

I am quite new to the whole coding, and hope you could help me with this little piece.
I have this small script, which allows me to open..... More

Print this item

  zooming in pyplot window
Posted by: SchroedingersLion - Aug-02-2019, 02:59 PM - Forum: Data Science - No Replies

Hi guys,

I am a bit confused by the axis labeling that appears when I zoom-in in a typical 2D plot window.
Suppose I am in the region of x<0. I zoom ..... More

Print this item

  Internal Server Error 500 on creating .py file
Posted by: patrickluethi - Aug-02-2019, 01:57 PM - Forum: General Coding Help - No Replies

Hi All,

When i try to create a simple .py file with one line input i get an error 500. But the file is created and the rest of the script isnt runn..... More

Print this item

  Collect entry from textline Widget via UI file
Posted by: mart79 - Aug-02-2019, 01:24 PM - Forum: GUI - Replies (3)

Hi,

I would like to know how I can access a QLineEdit widget in a UI file directly from Python.
I have read some examples on the Internet but, I c..... More

Print this item

  Trouble Setting a Variable True basing on an Imput
Posted by: VictorVictus - Aug-02-2019, 01:18 PM - Forum: General Coding Help - Replies (5)

Hello guys!

I am currently working in a Little test again, which at one step requires an imput, simple, right? Well I have two variables, a OwnerMa..... More

Print this item

  Error -3 when opening matlab file in python
Posted by: python_newbie09 - Aug-02-2019, 11:51 AM - Forum: General Coding Help - No Replies

I am using the method below to open matlab files but for some files, I am getting different versions of error -3

[python]mat = sio.loadmat(i, verif..... More

Print this item

  class random var write to array
Posted by: storzo - Aug-02-2019, 11:05 AM - Forum: General Coding Help - Replies (5)

Hi guys!
I got problem with my code. I wish in everytime new numbers from "Randomi" give it to class "data". After that write in row in array "arr" i..... More

Print this item

  Python coding mutiple elif's
Posted by: metro17 - Aug-02-2019, 10:12 AM - Forum: General Coding Help - Replies (1)

Newbie to Python.
Got this code from this forum.Tried extending it but it is not working.

Code I am running:
[python]
import random
greetings =..... More

Print this item

  Recursion, with "some_dict={}" function parameter.
Posted by: MvGulik - Aug-02-2019, 09:24 AM - Forum: General Coding Help - Replies (3)

I'm not getting some python(3.5.2) behaviour.

I got a function def get_links_titles( links_list, titles_dict={}, r=0 ):. ([..... More

Print this item

  Highlight text in pdf
Posted by: pramodb35 - Aug-02-2019, 07:36 AM - Forum: General Coding Help - Replies (1)

Hi Python Expert,
The query is simple. I need highlight text in pdf by python3 based on user text provide.

Print this item

  Table extraction from scanned PDF
Posted by: RupamKundu - Aug-02-2019, 02:54 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

An amateur python developer here. I am trying to some text extraction from a scanned PDF. The method I am following is scanned PDF to ..... More

Print this item

  How can I sort my names of files in for loop?
Posted by: Mike Ru - Aug-01-2019, 11:26 PM - Forum: General Coding Help - Replies (2)

I have some files. I am running my script.

import os

list_files = os.listdir('.')
for x in list_files:
    print(x)
ou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 2 hours ago glestwid Larz60+ General Codin...
  print does not open conso... 6 hours ago Tycho_2025 Pedroski55 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... 577477
  Tutorial Requ... 501326
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369892
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday

User Panel Messages

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