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,639
» Latest member: marcustessy
» Forum threads: 38,641
» Forum posts: 175,090

Full Statistics

Online Users
There are currently 318 online users.
» 0 Member(s) | 314 Guest(s)
Yandex, Bing, Baidu, Google

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
11 hours ago
» Replies: 13
» Views: 416
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
11 hours ago
» Replies: 2
» Views: 93
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 03:41 PM
» Replies: 4
» Views: 134
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
Yesterday, 06:19 AM
» Replies: 1
» Views: 104
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:36 AM
» Replies: 10
» Views: 3,123
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:35 AM
» Replies: 2
» Views: 1,902
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Jun-28-2025, 03:54 AM
» Replies: 3
» Views: 2,132
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 390
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,918
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,837

 
  regX find XYZ when it occurs after ABC with stuff inbetween?
Posted by: Fran_3 - Aug-13-2017, 11:41 PM - Forum: Web Scraping & Web Development - Replies (5)

given a string with characters, numbers, spaces, symbols... like a web page source

strStuff = "lmnoqABCrstuvwXYZdefghijk)
and ignoring case

how..... More

Print this item

  scapping an html document
Posted by: jonelya - Aug-13-2017, 08:00 PM - Forum: Web Scraping & Web Development - Replies (2)

hello all,
I am scrapping a html file.
I wrote the following code.

[python]with open('Basic Materials.htm') as fp:
soup=BeautifulSoup(fp,'lx..... More

Print this item

  tkinter scrolledtext formatting
Posted by: Lux - Aug-13-2017, 05:52 PM - Forum: GUI - Replies (2)

I am using tkinter's scrolledtext and I was wondering if it is possible to format some of the text inside of it, like making one word bold while leavi..... More

Print this item

  Website
Posted by: mahdiafg - Aug-13-2017, 05:45 PM - Forum: General Coding Help - Replies (4)

Hi!
How can make a kind of website that I should pay for it in a way that I do some activities for it?
I don't want pay by debit card or things lik..... More

Print this item

  error message in pyqt pro
Posted by: red_man_008 - Aug-13-2017, 01:07 PM - Forum: GUI - Replies (8)

I am having trouble compiling a program which relates to main window and resource file with .ico files.

I suspect it has something to do with the lo..... More

Print this item

  Email extraction from websites
Posted by: stefanoste78 - Aug-13-2017, 12:54 PM - Forum: Web Scraping & Web Development - Replies (14)

Good morning.

Is it possible to extract all of the emails from a list of links in an excel file column? Once extracted, put them in the cell next t..... More

Print this item

  Four digit combinations
Posted by: EHod - Aug-13-2017, 10:12 AM - Forum: Homework - Replies (4)

Hi,

I have a school problem to design and write a program that displays all the possible combinations for any four numerical digits entered by a us..... More

Print this item

  My program is very laggy
Posted by: GamePlanet - Aug-13-2017, 09:32 AM - Forum: Game Development - Replies (6)

I am making a program. But is verry laggy.

Here's my code:

import pygame
import os

x = 0
y = 0

os.environ['SDL_VIDEO_WINDOW_POS'] = "%d,..... More

Print this item

  print floating point number
Posted by: Regulus - Aug-12-2017, 10:29 PM - Forum: General Coding Help - Replies (19)

my question here
I use python 3 and trying to print a floating point number. But python is giving me the number to only one decimal place. What do I ..... More

Print this item

  Move the data up to the next row in a database
Posted by: chris0147 - Aug-12-2017, 07:37 PM - Forum: General Coding Help - Replies (1)

Hi all,
I need some help with my code, I am using the code to write data to input them in the database where I will move the data down from the same ..... More

Print this item

  pyinstaller not create single exe
Posted by: buran - Aug-12-2017, 03:24 PM - Forum: General Coding Help - Replies (3)

following this thread
https://python-forum.io/Thread-Have-you-used-pynsist
I decided to try pyinstaller. I want single exe + my config.ini file, but I..... More

Print this item

  Python Assistance Kodi Addon
Posted by: yuljk - Aug-12-2017, 03:02 PM - Forum: General Coding Help - No Replies

Hi guys - I need some help with a Kodi addon (UKTVNOW) - I'd like to modify the addon so that it no longer prompts everytime I select a channel to wat..... More

Print this item

  Bubblesort
Posted by: Augustin1340 - Aug-12-2017, 02:54 PM - Forum: Homework - Replies (2)

I would like to sort several points from smallest to biggest however. I will wish to get this result:
..... More

Print this item

  Using nested for loop with a single list
Posted by: mikeavison - Aug-12-2017, 01:30 PM - Forum: General Coding Help - Replies (3)

I am trying to examine every sum of three numbers from a single list

So for example if the list was 1,2 I want to examine 1=1+1+1 and 1+1+2 and 1+2..... More

Print this item

  csv data not written into avro file
Posted by: rajeshdatla2000 - Aug-12-2017, 12:50 PM - Forum: General Coding Help - Replies (2)

csv data not written into avro file
DataFileWriter is not appending the data in avro format

[python] reader = csv.DictReader(opened_in_file, diale..... More

Print this item

  python 3.x and selenium. Service unexpectedly exited
Posted by: volkoshkursk - Aug-12-2017, 12:17 PM - Forum: Web Scraping & Web Development - No Replies

Hallo. I'll get

Error:
ERROR - Message: Service /usr/bin/safaridriver unexpectedly exited. Status code was: 1
, if I try to run open_hyperlink_..... More

Print this item

  How to run a script within a pyqt window
Posted by: finswitch - Aug-12-2017, 01:25 AM - Forum: General Coding Help - Replies (1)

Hi,

I have written a pyQt script for a window with some button indicators in it. Within this window I have written a second section which monitors ..... More

Print this item

  Nested Generator Performance
Posted by: micseydel - Aug-12-2017, 01:15 AM - Forum: Board - Replies (1)

(Even though this is still Python, it's not really a question, or any other section, so here I am.)

I often give an interview question to flatten a..... More

Print this item

  icode adjustment
Posted by: metulburr - Aug-12-2017, 12:01 AM - Forum: Board - Replies (9)

I was wondering if we should adjust the icode height.

Mainly to see underscores. On chrome the underscores are basically invisible due to the icode..... More

Print this item

  Print text file problems
Posted by: Fran_3 - Aug-11-2017, 10:52 PM - Forum: General Coding Help - Replies (3)

I have a text file test.txt with contents separated by a comma like
Mary,Teacher
John,Admin
Joan,Boss

But when I run the code below the x[1] element ..... More

Print this item

  Write to db Table
Posted by: VodkaSodaWater - Aug-11-2017, 08:51 PM - Forum: General Coding Help - Replies (1)

Hi All,
I am getting an exit code 1 but I am not getting a reason why or an error. Im running version 2.7.13, and making an API call. I can make the ..... More

Print this item

  Insert data in a table after a user is created from djando admin
Posted by: prithvi - Aug-11-2017, 06:25 PM - Forum: Web Scraping & Web Development - No Replies

I am a fresher in django. I am using django 1.10 with allauth app which takes care of frontend registration, sending user confirmation email,validatio..... More

Print this item

  print within function
Posted by: zpetsch - Aug-11-2017, 02:44 PM - Forum: General Coding Help - Replies (2)

I am writing a simple converter to change a bearing to a polar coordinate. I'm not quite sure what I'm doing wrong, but the code below won't print the..... More

Print this item

  Can access class private variable?
Posted by: Michael - Aug-11-2017, 12:46 PM - Forum: General Coding Help - Replies (2)

Hi,

Am new to Python3 (previously Java)
Below I make a class, instantiate it, and then do 2 things I don't understand (see comments)

Appreciate..... More

Print this item

  NMEA read parse and write from/to serial port
Posted by: ESEAMarine - Aug-11-2017, 09:49 AM - Forum: General Coding Help - Replies (1)

Hi,
I am trying to write a code that can receive a stream of NMEA sentences from my GPS via serial port, parse the sentence and write it as a differe..... More

Print this item

  m_logicalFileSize
Posted by: shamivand - Aug-11-2017, 07:06 AM - Forum: General Coding Help - Replies (1)

I have a problem when open a .cae File . When I want to open file abaqus get me an error => location<=m_logicalFileSize.
How I can resolve this prob..... More

Print this item

  Have you used pynsist?
Posted by: buran - Aug-11-2017, 06:19 AM - Forum: Web Scraping & Web Development - Replies (9)

Anyone who has used pynsist?
As a more broad question - do you consider distributing an app to a clie..... More

Print this item

  Need help for list of list of tuple !
Posted by: webdef - Aug-11-2017, 05:10 AM - Forum: General Coding Help - Replies (4)

Quite newbie, I need help to search and modify some elements of a tuple (Python 2.7).
For example, how to replace "aaa" in first element into "bbb" ?..... More

Print this item

  Python 2 vs Python 3, developers should be more coherent!!!
Posted by: xuancong - Aug-11-2017, 04:30 AM - Forum: News and Discussions - Replies (4)

As an experienced developer in Python 2 & 3, I would like to give Python developer team some significant comments.
It is understood that we all want t..... More

Print this item

  Disable anti aliasing for text
Posted by: AnonymousNobody - Aug-11-2017, 04:12 AM - Forum: GUI - Replies (3)

I apologize for asking another question, but how can I disable text anti-aliasing in tkinter? I have tried padx= and pady= -1 and -2, but neither work..... More

Print this item

  Interpeter / Installer help
Posted by: AMSSINC5 - Aug-11-2017, 03:35 AM - Forum: General Coding Help - Replies (3)

New to the language. I have a Mac Book Pro 10.12.5. I went to the Python Website before checking my terminal to see if an older version or up to dat..... More

Print this item

  Simple List manipulation - bowled
Posted by: radioactive9 - Aug-11-2017, 01:54 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello

I have a simple list like below. Now I need to convert that list into unique technology list. For e.g in VMWare_Technology we have both yell..... More

Print this item

  IndentationError: unexpected indent (Python)
Posted by: segs - Aug-11-2017, 01:25 AM - Forum: General Coding Help - Replies (8)

Hi All,

I have this script that gives me a bunch of errors Please help. Am new to python

[python]>>>
... def create_zendesk_ticket(self,ev..... More

Print this item

  Invalid syntax, but not showing what it is!?!
Posted by: WillHampGuy - Aug-10-2017, 08:35 PM - Forum: General Coding Help - Replies (9)

Hi guys, I've got a problem ?

I've put some code into idle 3, and it's saying 'syntax error' when I run it, but it isn't showing me where the error..... More

Print this item

  How to keep paramiko ssh session open after loggin in using python?
Posted by: MikeHill - Aug-10-2017, 07:22 PM - Forum: Networking - Replies (3)

I am trying to ssh to a test cisco router in a test environment using python paramiko, and run cisco commands in that test router.

Everything works..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 11 hours ago Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 11 hours ago arbiel deanhystad GUI
  Difference and meaning in... Yesterday, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... Yesterday, 06:19 jumpsworthnow Gribouillis Homework
  How to put my game loop i... 06-28, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 06-28, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... 06-28, 03:54 garthE Plyth Game Developm...
  List[] in Python needs so... 06-27, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 06-27, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 06-27, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
Most views
  The best Prog... 572365
  Tutorial Requ... 485107
  Web Scraping ... 436895
  Newbie with P... 379734
  Thread remain... 351242
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6844
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
marcustessy Yesterday
dmac6809 Yesterday
racheldavis66 Yesterday
ankaoutdoor Yesterday
humphrey88 Yesterday

User Panel Messages

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