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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 27 Guest(s)
Google, Bing, AOL, AOL, Internet Archive

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 2
» Views: 340
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,364
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,765
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 733
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 981
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,042
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,084
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 655
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,636
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,857

 
  Hiding "undesired" info
Posted by: Extra - Jan-03-2022, 02:01 PM - Forum: General Coding Help - Replies (4)

Hello,

I would like to know if it's possible to hide some of this info that pops up on my terminal/cmd line when I run my code.

Or how do I ge..... More

Print this item

  Sqllite column insert
Posted by: nickzsche - Jan-03-2022, 01:54 PM - Forum: General Coding Help - Replies (2)

Hi, I want to add the data from the text file to the column named "firma" in sqlite. What should I do?


[python]
import sqlite3

vt = sqlite3.c..... More

Print this item

  How to read rainfall time series and insert missing data points
Posted by: MadsM - Jan-03-2022, 01:39 PM - Forum: General Coding Help - Replies (4)

Hello,

I am currently attempting to write a code that will read .km2 files, which contains a header row with columns of information and an array of..... More


Attached Files

Thumbnail(s)
   
Print this item

  How can I sync Combobox index to other combobox index?
Posted by: nickzsche - Jan-03-2022, 12:15 PM - Forum: GUI - Replies (2)

Hi, I have a question. I'm getting the data from the text file until the sql handles it. What I want is to return the index value of the element I sel..... More

Print this item

  Python Obstacles | Kapap | Wiki Scraped Content [Column Nulling]
Posted by: BrandonKastning - Jan-03-2022, 02:17 AM - Forum: Web Scraping & Web Development - Replies (2)

Python Obstacles | Kapap | Wiki Scraped Content [Column Nulling]

I am trying to learn how to null every row in an entire MariaDB 10.4..... More

Print this item

  what works with the with statement?
Posted by: Skaperen - Jan-02-2022, 11:19 PM - Forum: News and Discussions - Replies (7)

is there a list of everything that works with the with statement? or, alternatively, everything that does not work with the [u]w..... More

Print this item

  problem with while statement.
Posted by: BobSmoss - Jan-02-2022, 08:19 PM - Forum: General Coding Help - Replies (3)

Hello,
I am new to python and cant seem to find an answer to my question.Here is what i am trying to do.

I want to make a loop that for example la..... More


Attached Files

Thumbnail(s)
   
Print this item

  an httpd server
Posted by: Skaperen - Jan-02-2022, 07:14 PM - Forum: News and Discussions - Replies (9)

Python has module smtpd that implements an SMTP server. why not also httpd? other server protocols?

Print this item

Photo A humble VsCode Python Snippets 2.0
Posted by: medlexo - Jan-02-2022, 05:42 PM - Forum: General Coding Help - Replies (6)

Hi guys, I'm a bit new here. To be frank, after I publish the updated extension I do not know how to make it appear in the search section of vscode so..... More

Print this item

  Junos PyEZ
Posted by: bclanton50 - Jan-02-2022, 04:25 PM - Forum: General Coding Help - No Replies

I am experimenting with the PYEZ module and just want to connect to a Juper EX2200 switch and return the version. NetConf is not installed but I am u..... More

Print this item

  [Solved] How to print a dot leader.
Posted by: BashBedlam - Jan-02-2022, 03:27 PM - Forum: General Coding Help - Replies (4)

Does anyone know of a simpler way to display information with a dot leader?
[python]def add_dot_leader (text) :
new_text = ''
for index in range..... More

Print this item

  Query Syntax Error
Posted by: hammer - Jan-02-2022, 03:06 PM - Forum: General Coding Help - Replies (2)

I have compared this code with similar queries that work. Can anyone see what I am missing that is causing the Syntax Error?

[error]
Exception ha..... More

Print this item

Bug help with coding syntax
Posted by: newPython - Jan-02-2022, 01:00 PM - Forum: General Coding Help - Replies (4)

i am getting an invalid syntax on my python code am a newbie and i dont know what to do. can someone please help me restructure the code

[python]#c..... More

Print this item

  send mail is freezing
Posted by: rwahdan - Jan-02-2022, 09:06 AM - Forum: Web Scraping & Web Development - No Replies

Hi

I am trying to send an email but it is freezing and if i refresh the page everything is working except for the email part, it is not sent.

[p..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'group'
Posted by: MaartenRo - Jan-02-2022, 07:04 AM - Forum: General Coding Help - Replies (3)

Hi,

I would like my code to return '(415)'. What am i doing wrong?

[python]phoneNumRegex=re.compile(r'(\(\d\d\d\))(\d\d\d-\d\d\d\d)')
mo=phone..... More

Print this item

  Get text from within h3 html tags
Posted by: Pedroski55 - Jan-02-2022, 12:55 AM - Forum: General Coding Help - Replies (8)

I want to make a quiz for the students. I want to use the business and finance terms on this web page.

Recently snippsat was showing how to get ima..... More

Print this item

  string formatting
Posted by: barryjo - Jan-01-2022, 11:39 PM - Forum: General Coding Help - Replies (7)

When I run this simple program 0.166666666666 is printed.
What do i do to make the print 0.17
i.e. what is the formatting command to truncate the..... More

Print this item

Question convert autohotkey script to python / macro - press key when pixel get colour
Posted by: willson94d - Jan-01-2022, 07:31 PM - Forum: General Coding Help - Replies (1)

Hello!

Some time ago I switched from Windows to Mac.
So far I was using AutoHotkey to execute few simple scripts in 2D game called 'Tibia' on Wind..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'group'
Posted by: MaartenRo - Jan-01-2022, 03:46 PM - Forum: General Coding Help - Replies (3)

Hi,

My code for finding a certain text in a larger text doesn't work. It should give: " Phone number found: 415-555-4242". What am i doing wrong?
..... More

Print this item

  Wrong code in Python exercise
Posted by: MaartenRo - Jan-01-2022, 03:21 PM - Forum: General Coding Help - Replies (2)

Hi,

I am practicing Python from a learning book. When i type this code i don't get the expected result. It should return:
" Phone number found: 4..... More

Print this item

  Music Notation editor; how to build the editor? direction to go?
Posted by: philipbergwerf - Jan-01-2022, 12:19 PM - Forum: General Coding Help - Replies (1)

For a long time I am developing a music notation app called PianoScript and after finishing the first app which was like lilypond(editing the savefile..... More

Print this item

  multi-line CMD in one-line python
Posted by: kucingkembar - Jan-01-2022, 05:06 AM - Forum: General Coding Help - Replies (5)

hi, sorry for my bad English,
i tried to combine this multi-line (exclude the Import) into one-line,
[python]
import os
os.system("title installin..... More

Print this item

  Python Obstacles | Krav Maga | Wiki Scraped Content [Column Copy]
Posted by: BrandonKastning - Jan-01-2022, 04:40 AM - Forum: Web Scraping & Web Development - Replies (4)

Python Obstacles | Krav Maga | Wiki Scraped Content [Column Copy]

Sources - Blogs/Tutorials:


..... More

Print this item

  Project Direction
Posted by: bclanton50 - Jan-01-2022, 03:23 AM - Forum: General Coding Help - Replies (1)

I am embarking on a journey to master Python by trying to utilize it at my workplace and creating some self directed projects for 'needs' that my comp..... More

Print this item

  Help with espeak in python
Posted by: Extra - Dec-31-2021, 11:23 PM - Forum: General Coding Help - Replies (10)

Hello,

I'm using arch-linux (Manjaro Gnome) and I downloaded espeak-ng successfully by doing:

sudo pacman -S espeak-ng
.
I can te..... More

Print this item

  "If Len(Word) == 0" Code Block in Pig Latin Program
Posted by: new_coder_231013 - Dec-31-2021, 01:23 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm reading through an introductory Python book and there's a section in which the author presents code for a simple program that converts E..... More

Print this item

  Create zip file from the BLOB column in ORACLE DB
Posted by: nnsatpute - Dec-31-2021, 06:28 AM - Forum: General Coding Help - Replies (2)

Hello,

I have BLOB Data in one of the oracle table column.
I want to create zip file which should contain all files (xml) in blob, this zip needs..... More

Print this item

  Getting a list of forks on Github
Posted by: headkaze - Dec-31-2021, 02:06 AM - Forum: Web Scraping & Web Development - Replies (3)

I need to get a list of forks for a Github project showing ahead and behind stats as well as last commit date. I've written a Python script and everyt..... More

Print this item

  Help with simple nltk Chatbot
Posted by: Extra - Dec-30-2021, 11:14 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm trying to build a simple chatbot using nltk. The problem I have with this code is that whenever I input a response (ex: my name is bob) th..... More

Print this item

  Rect object penetrates wall on one side
Posted by: Jan_97 - Dec-30-2021, 08:52 PM - Forum: Game Development - Replies (4)

I have an issue I cannot seem to figure out on my own. I am trying to set a wall that my player object can't go through and I use a solution I have us..... More

Print this item

  How to use += after breaking for loop?
Posted by: Frankduc - Dec-30-2021, 08:22 PM - Forum: General Coding Help - Replies (2)

Hello,

I am new to the forum and new to Python and maybe i did not post in the right part of the forum.

I have this code:
[python]
import num..... More

Print this item

  Python class doesn't invoke setter during __init__, not sure if's not supposed to?
Posted by: mtldvl - Dec-30-2021, 03:41 PM - Forum: General Coding Help - Replies (2)

Hey,

I have a simple class like this:

[code]
class Test:
def __init__(self, name):
self._name = name

@property
def na..... More

Print this item

  Ran 0 tests in 0.000s - unittest
Posted by: Peaches - Dec-30-2021, 10:36 AM - Forum: General Coding Help - Replies (8)

Hi Heart I'm an absolute beginner so please don't kill me if my question is dumb. Angel

I've a new project in Pycharm. The structure is a..... More

Print this item

  Classes, OOP, building deck of 52 playing cards
Posted by: Drone4four - Dec-30-2021, 10:16 AM - Forum: General Coding Help - Replies (9)

Hi Team Python!

I’m trying to build a deck of 52 playing cards using OOP and list comprehension.

Here are some scripts:

[python]class Card:..... More

Print this item

  QT5 Designer Drawing
Posted by: greenhorn1 - Dec-30-2021, 07:34 AM - Forum: GUI - Replies (1)

Hi all. I'm having trouble implementing a drawing box in QT5 Designer. This code as an example, creates the window dynamically and uses QPainter and..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 10 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576135
  Tutorial Requ... 497692
  Web Scraping ... 440081
  Newbie with P... 383895
  New Users Int... 366442
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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