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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,526

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Google, AOL, AOL, Mojeek, buran

Latest Threads
extracting data from a us...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 1
» Views: 83
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
9 hours ago
» Replies: 3
» Views: 157
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
11 hours ago
» Replies: 0
» Views: 345
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,361
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 281
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 729
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 926
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,193
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,393

 
  Whether to create a separate package for command line support
Posted by: porton - Aug-08-2018, 12:33 AM - Forum: General Coding Help - Replies (1)

I am writing some software which I call XML Boiler. I have xmlboiler.core for core functionality o..... More

Print this item

  sets are unhashable
Posted by: Skaperen - Aug-07-2018, 11:41 PM - Forum: News and Discussions - Replies (6)

why are sets unhashable?

Print this item

  A problem with using selenium
Posted by: Truman - Aug-07-2018, 11:36 PM - Forum: Web Scraping & Web Development - Replies (2)

from selenium import webdriver
browser = webdriver.Firefox()
print(type(browser))
browser.get('http://inventwithpython.com')
In..... More

Print this item

  How to retrieve all and only built-in functions from interactive interpreter
Posted by: perfringo - Aug-07-2018, 08:50 PM - Forum: General Coding Help - Replies (4)

Python documentation lists 69 built-in functions (compared to 3.6 the..... More

Print this item

  Obtain Geometric Information and name from a map-design website
Posted by: fyec - Aug-07-2018, 08:31 PM - Forum: General Coding Help - Replies (2)

There is a map-design website and this web-site's information was taken as snapshot by the 'web.archive.org'. Almost all information that I need can b..... More

Print this item

  Dictionary to .txt or .csv file
Posted by: stanthaman42 - Aug-07-2018, 05:05 PM - Forum: Homework - Replies (9)

I have been struggling with this code for some time. I have created a dictionary to be used within python but I want to be able to take that dictionar..... More


Attached Files

.py   PrimePerms.py (Size: 2.1 KB / Downloads: 434)
Print this item

  Using thread in the wxPython
Posted by: hildogjr - Aug-07-2018, 03:47 PM - Forum: GUI - Replies (8)

I am one of the developer of a python2/3 package available on https://github.com/hildogjr/KiCost/
I am developing a GUI on wxPython 4.0.3 to call the..... More

Print this item

  Python with LED light strip question.
Posted by: Ostromaj - Aug-07-2018, 02:22 PM - Forum: General Coding Help - Replies (5)

I recently took up a project to try to mimic a game I saw in my childhood science center. It was a game where you could hit a button and have to race ..... More

Print this item

  [Help] How to count Letter frequency in a text file?
Posted by: vanicci - Aug-07-2018, 12:38 PM - Forum: General Coding Help - Replies (6)

Hello,

I tried looking for "letter frequency" or "frequency distribution" within the forum but I couldn't find any old thread about ..... More


Attached Files

.txt   alice_in_wonderland.txt (Size: 169.53 KB / Downloads: 721)
Print this item

  Add a line after a specific line
Posted by: morgandebray - Aug-07-2018, 10:56 AM - Forum: General Coding Help - Replies (3)

Hi, I'm trying to add new line after a particular line.

[python]
for line in file :
if line.startswith('/22/'):
#ADD LINE AFTER T..... More

Print this item

  Cannot Import stylesheet BG?
Posted by: mekha - Aug-07-2018, 09:47 AM - Forum: GUI - Replies (1)

I merged my old code with new interface look, it has 4 tabs menu, and the 2nd tab is my old graph sound visualizer (https://python-forum.io/Thread-PyQ..... More

Print this item

  Problem in a python2 file
Posted by: sylas - Aug-07-2018, 09:36 AM - Forum: General Coding Help - Replies (15)

Hi all ! Because I installed "click" being in python2, I can import "click" only on python2. I cannot use 3.6 for this file. My problem appears at lin..... More

Print this item

  Troubles with instaling pocketsphinx
Posted by: Thais781 - Aug-07-2018, 08:07 AM - Forum: General Coding Help - Replies (1)

Hello,

First, sorry for my english, I am a french girl

I need to install textract and textract need to install pocketsphinx
So when I try to in..... More

Print this item

  i've got these very simple homework
Posted by: HakolYahol - Aug-07-2018, 07:43 AM - Forum: Homework - Replies (7)

my mind is not always the best so i hope you could help me with this:

[quote]
Write a program that simulates a fortune cookie. The program
should dis..... More

Print this item

  GUI properties defined (and changed) by variables in .py file
Posted by: j.crater - Aug-07-2018, 07:15 AM - Forum: GUI - Replies (2)

Hello all,
I am trying to make a basis for a MVC-sytle program, where GUI properties (in .kv file) would be stored and accessed from a separate .py f..... More

Print this item

  "Split" file and comparison with CSV
Posted by: morgandebray - Aug-07-2018, 06:57 AM - Forum: General Coding Help - Replies (14)

Hi, I'm very new to python and I need your help guys.

I want to know if it's possible to "split" file (with regex ?), read the line and make a com..... More

Print this item

  two's complment binary
Posted by: Skaperen - Aug-07-2018, 05:54 AM - Forum: General Coding Help - Replies (2)

d'rat ... the bin() function does not give the two's complement form of negative numbers. anyone know of something that does that?

Print this item

  [neural netrowks]How do i resume training once i have saved the model
Posted by: Prince_Bhatia - Aug-07-2018, 05:01 AM - Forum: Data Science - Replies (1)

I have a model that I've trained for 75 epochs. saved the model with model.save(). The code for training is

[python]from keras.preprocessing.image ..... More

Print this item

  Project: Opening all links within a web page
Posted by: Truman - Aug-07-2018, 12:33 AM - Forum: Web Scraping & Web Development - No Replies

I'm trying to write a code that opens all links that are on a web page in one tab for each.
[python]
import webbrowser
import bs4
import requests..... More

Print this item

  Reading Excel files and creating an output
Posted by: tms21 - Aug-06-2018, 08:51 PM - Forum: General Coding Help - Replies (1)

Hi.

I haven't used Python in a few years and even when I did it was at a very basic level.

I have numerous excel files (e.g. file a.xlsb, b.xls..... More

Print this item

  improved application becomes non-functional
Posted by: atlass218 - Aug-06-2018, 06:04 PM - Forum: GUI - Replies (1)

Hello;
For information I am beginner with regard to the programming with the language "PYTHON". I just created a simplified application for the momen..... More

Print this item

  Help - why is my print statement being ignored?
Posted by: dmhdz - Aug-06-2018, 05:18 PM - Forum: Homework - Replies (2)

Hi - I am new to Python and I am taking a beginners course that hasn't even started yet. A pre-assignment to practice is just not working. Getting f..... More

Print this item

  Writing chr(128) to text file returns errors.
Posted by: Qwert_Yuiop - Aug-06-2018, 03:49 PM - Forum: General Coding Help - Replies (5)

I am trying to write characters to a file.

My problem is that for for N=128, file.write(chr(N)) fails and returns error: `UnicodeEncodeError: 'c..... More

Print this item

  win32com Events not catching
Posted by: dageci - Aug-06-2018, 03:18 PM - Forum: General Coding Help - No Replies

Hello,
I have a custom COM component that fires events and that exposes objects.

This code opens this COM component and it connects to the databas..... More

Print this item

  File Read Issue
Posted by: Blade2021 - Aug-06-2018, 02:46 PM - Forum: General Coding Help - Replies (4)

I'm having issues getting the results i'm looking for (obviously...) I am trying to read a text file, then parse it looking for a string, If it sees..... More

Print this item

  Select Simple CSS question
Posted by: KirkmanJ - Aug-06-2018, 02:35 PM - Forum: General Coding Help - Replies (2)

I am hoping this will be really simple, and i am just missing the obvious.

[python]<select class='pets' type='text' name='pets' id='pets' placehol..... More

Print this item

  Need help with file renaming
Posted by: edlentz - Aug-06-2018, 02:23 PM - Forum: General Coding Help - Replies (3)

Hi all,

I need help and I don't know to do this. Here is what I need to do.

I have a file that I need to :
a. copy
b. rename it from a lis..... More

Print this item

  read from txt. file in certain manner
Posted by: SchroedingersLion - Aug-06-2018, 02:08 PM - Forum: Data Science - Replies (13)

Greetings,

I just found this website that summarizes how to read from a .txt file:
..... More

Print this item

  error
Posted by: lokchi2017 - Aug-06-2018, 01:46 PM - Forum: General Coding Help - Replies (3)

[python]import datetime

def inputYear(msg, errmsg, l, h):
done = 0
while (not done):
try:
ans = input(msg)
..... More

Print this item

  [PyQt]Find item or text in Qtablewidget
Posted by: maziio - Aug-06-2018, 01:37 PM - Forum: GUI - No Replies

Hi,
I need help with this :
def change(self):
[python]def change(self):
m = 2
cur = conn.cursor()
conn.text_factory = str
cur.e..... More

Print this item

Question [Help] Convert integer to Roman numerals? {Screenshot attached}
Posted by: vanicci - Aug-06-2018, 12:27 PM - Forum: General Coding Help - Replies (10)

[Help] Convert integer to Roman numerals? {Screenshot attached}

Hi,

Please see attached screenshot for the current exercise that I..... More

Print this item

  First post and looking for help
Posted by: coder2be - Aug-06-2018, 12:22 PM - Forum: General Coding Help - Replies (3)

Hi all

My first post here (complete novice) Smile

I have no python experience but wonder if it will be a good choice for what I would like ..... More

Print this item

  problem with lambda and list compression
Posted by: Prince_Bhatia - Aug-06-2018, 11:41 AM - Forum: General Coding Help - Replies (1)

hi,

i am trying to insert random colors from a list into another list, but facing a bit problem, as it is returning lambda store place where it is ..... More

Print this item

  time taken for storage to get full
Posted by: sansupercool - Aug-06-2018, 11:36 AM - Forum: Homework - Replies (3)

I have been given a homework to find out time it will take to fill the storage.

Let's assume that n number of processes are running on the computer..... More

Print this item

  cropping a picture (always square)
Posted by: Leon - Aug-06-2018, 10:45 AM - Forum: General Coding Help - Replies (1)

Hello,
I'am new to this forum and new into Python .

I want to cropping a picture automatic with a python script.
On the picture are flowers and i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 3 hours ago Perry Pedroski55 General Codin...
  [Tkinter] how to export a... 9 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 11 hours ago helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576848
  Tutorial Requ... 499359
  Web Scraping ... 440628
  Newbie with P... 384602
  New Users Int... 368548
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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