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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,569

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Gribouillis
32 minutes ago
» Replies: 4
» Views: 116
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,023
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 431
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,075
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,134
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 804
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,540
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,127
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,586

 
  Receiving XML exception from nmap.scan() results.
Posted by: PythonNmap - Jan-20-2020, 05:18 AM - Forum: General Coding Help - Replies (4)

Hi All,

I'm making use of the python-nmap library.

However, running a basic scan against 10.0.0.17/255.255.255.0 or more precisely 10.0.0.17/..... More

Print this item

  memory saving in Python
Posted by: Skaperen - Jan-20-2020, 01:16 AM - Forum: News and Discussions - Replies (5)

i am creating a script intended to fetch some large sets of data. this script is intended for public use. but it is very heavy on memory usage. par..... More

Print this item

  divide a number iin two
Posted by: marciotos - Jan-20-2020, 12:05 AM - Forum: Homework - Replies (2)

I got this easy homework but somehow i got stuck
i have to separte a number like: 1999 and math them as 19+19
I have done searches around but couldn..... More

Print this item

  Python calculator divide by zero help
Posted by: dock1926 - Jan-19-2020, 09:59 PM - Forum: General Coding Help - Replies (4)

I'm a beginner at python and I am building a calculator for a project and have everything working as needed except one small part. I have to get a sim..... More

Print this item

  TypeError
Posted by: Robb - Jan-19-2020, 09:54 PM - Forum: General Coding Help - Replies (2)

Hey there, Im absolutly new to Python, and I just cant find the mistake in this code. I took it from another source to illustrate an quantum mechanica..... More

Print this item

  Need some help with parsing
Posted by: jkessous - Jan-19-2020, 07:34 PM - Forum: Web Scraping & Web Development - Replies (11)

Hi Everyone,
First of all thanks for the assistance. I am a noob i python and need assistance with some website parsing.
The website requires a logi..... More

Print this item

  encode text
Posted by: elstolbo - Jan-19-2020, 06:45 PM - Forum: Homework - Replies (2)

hello programmers.
Please, I have a question about decoding a string that contains pinging. The whole ping is in the listbox, which I need to save as..... More

Print this item

  plotting 2d and 3d using pyqt5 and pyqtgraph and GLSurfacePlotItem
Posted by: kiyoshi7 - Jan-19-2020, 04:20 PM - Forum: GUI - Replies (1)

Hi, I am trying to plot two graphs in one window, one 2d and another 3d. I am able to get the 2d plot to work but when I try to plot in 3d using GLSur..... More

Print this item

  connecting to the spreadsheet object inside multiple enterprise software apps
Posted by: ajetrumpet - Jan-19-2020, 03:36 PM - Forum: General Coding Help - No Replies

hey you guys,

I need some help with this. I was recently contacted by a small business that needs a common sense solution. they want to put table..... More

Print this item

  Comparing data from two Excel sheets
Posted by: Stuart_Houghton - Jan-19-2020, 02:49 PM - Forum: General Coding Help - No Replies

Hi guys,

Pretty new to Python and taking a couple of courses.
As an SEO I'm looking at ways to use Python and Pandas on a day to day basis to hel..... More

Print this item

  CGI in python, problem with pandas, plotly.express and export html
Posted by: HK2432 - Jan-19-2020, 01:30 PM - Forum: General Coding Help - No Replies

Hello ! Smile

I need some help with my script in Python. I've two questions :


First question :


I'm creating a CGI whi..... More

Print this item

  Trying to use python-nmap but receiving however python2 or 3 can't find PortScanner.
Posted by: PythonNmap - Jan-19-2020, 12:58 PM - Forum: General Coding Help - Replies (21)

Hi All,

Given this code snippet, could you please help me understand what am I missing?

High level overview:

1) I've imported python-nmap
..... More

Print this item

  regex match in a string
Posted by: batchen - Jan-19-2020, 12:16 PM - Forum: General Coding Help - Replies (4)

Hey,
im using python3 and i use ansible.
i get this ansible output :

[python]"['', 'PLAY [localhost] **', '', 'TASK [Gathering Facts] **', 'ok:..... More

Print this item

  question about recursion
Posted by: kotter - Jan-19-2020, 10:32 AM - Forum: Homework - Replies (1)

Hello,

I was making an old exam but I am currently stuck on one question. I need to implement a class for real numbers. The class has one attribute..... More

Print this item

  f-string-ify
Posted by: Skaperen - Jan-19-2020, 06:13 AM - Forum: News and Discussions - Replies (10)

i ran into yet another case where it would be nice to be able to express the literal for the f-string in just on place and be able to "run" that strin..... More

Print this item

  os.walk does not see files that are in the folder
Posted by: kiton - Jan-19-2020, 01:27 AM - Forum: General Coding Help - Replies (1)

Hello!

I used the following code some time ago for a project involving parsing tweets. Now, I want to extract more features associated with those t..... More

Print this item

  An article of GvR about the parsing of python
Posted by: Gribouillis - Jan-18-2020, 11:28 PM - Forum: News and Discussions - No Replies

I came across this recent article of Guido van Rossum about the idea to repla..... More

Print this item

  'No module named tkinter.messagebox' - PyInstaller
Posted by: ironfelix717 - Jan-18-2020, 09:31 PM - Forum: General Coding Help - Replies (7)

I suspect I won't get an answer but i'll try regardless...

Compiling my script (pyinstaller) and running the .exe results in: [python]No module na..... More

Print this item

  Site packages, Python 3.8
Posted by: Dixon - Jan-18-2020, 09:12 PM - Forum: General Coding Help - Replies (2)

[python]from setuptools import setup

setup(
name = 'vsearch'
version = '1.0'
description = 'The Head First Python Search Tools',
..... More

Print this item

  Check for funny characters with a regexp
Posted by: bertilow - Jan-18-2020, 09:08 PM - Forum: General Coding Help - Replies (4)

I want to be able to check if a string contains any of the following "funny" characters:

"ā㥹ĆćČčĎďĐđēĕĖėęěĞğġīįİıĽľŁłŃńņňŋŌōőŒœŕřŚśŞşŠšŢţťŧũūŮűų..... More

Print this item

  Python R&D Dev (DC metro area / Remote)
Posted by: mgeide - Jan-18-2020, 08:52 PM - Forum: Jobs - Replies (2)

Come join PUNCH Cyber Analytics Group, an Inc. 5000 "Best Workplaces" company two years running. PUNCH is a Virginia-based small business supporting a..... More

Print this item

  need help with xpath
Posted by: pythonprogrammer - Jan-18-2020, 08:23 PM - Forum: Web Scraping & Web Development - Replies (1)

<p class='drug-subtitle'><b>Generic Name:</b> ziprasidone (zi PRAY si done)<br><b>Brand Names:</b> <i>Geodon</i></p>

i am trying to figure out what..... More

Print this item

  PEP554 Interpreters: is there any code for this yet?
Posted by: tmcclure - Jan-18-2020, 08:02 PM - Forum: News and Discussions - Replies (1)

I pulled 3.9.02a but don't see the interpreters module as some 2018 articles and PEP554 mention being in. Is this still totally conceptual or is there..... More

Print this item

  Print 'X' a number of times
Posted by: Than999 - Jan-18-2020, 06:22 PM - Forum: General Coding Help - Replies (1)

Hi What is wrong with my code? I'm trying to print the a number of 'X' strings based on my input value (integer). However, when I try to run it in my..... More

Print this item

  Copy paste on a file automatically
Posted by: Aure4 - Jan-18-2020, 04:29 PM - Forum: General Coding Help - Replies (2)

Hello guys, hope you are having a nice week-end.
I have a personal problem, I am not really good at Python, I know few things but enough for these ki..... More

Print this item

  How to append a row from one csv file to another
Posted by: coder1384 - Jan-18-2020, 03:38 PM - Forum: Data Science - Replies (6)

Hi folks,

I need some direction on how to append a single row from one csv file to end of a list in another csv file.

The following is my code but..... More

Print this item

  Unexpected (?) result with regular expressions
Posted by: guraknugen - Jan-18-2020, 02:14 PM - Forum: General Coding Help - Replies (2)

Hi!

I'm running Python3 in Manjaro Linux 18.1.5 and I want to ”emulate” sed. Here's an example in Bash using sed, this is the result I want:..... More

Print this item

  How to get full path of specified hidden files matching pattern recursively
Posted by: SriRajesh - Jan-18-2020, 06:56 AM - Forum: General Coding Help - Replies (4)

Hi,
I want to get the full path of hidden files of matching pattern (file name: .daily.log)
The hidden file name: ".daily.log"

[python]
from pathlib ..... More

Print this item

  Problem With Entering Game Loop
Posted by: ElevenDecember - Jan-18-2020, 05:15 AM - Forum: Game Development - Replies (3)

I"m currently working on a small project for a computer class, in which we need to make a basic game. I'm using Thonny as well as the PyGame module. ..... More

Print this item

  How do you put quotations around a result from a for loop?
Posted by: coder1384 - Jan-18-2020, 03:40 AM - Forum: Data Science - Replies (14)

Hello folks,

I am attempting to have the for loop iteration result in quotations so that it passes to another function within the loop. Here is m..... More

Print this item

  MATLAB to Python conversion
Posted by: stokd - Jan-18-2020, 02:24 AM - Forum: General Coding Help - Replies (10)

Hi - I am new to Python and am converting some MATLAB code over. I have a question about converting MATLAB nested variables (is that the right term fo..... More

Print this item

  Remove isolated vertices from dictionary and adjacency matrix
Posted by: Weird - Jan-18-2020, 12:04 AM - Forum: General Coding Help - Replies (1)

Greetings Community,

I have a dictionary and an adjacency matrix looking as follows:
dict: {0: (171,331, 1: (168,358), ...} (a list of vertices wi..... More

Print this item

  start learning python
Posted by: robbyq - Jan-17-2020, 11:59 PM - Forum: News and Discussions - Replies (5)

Hi,

My name it robert.

i from romania but i live in spain.

I want to start know / learn python lenguague.

How can i do? any course easy to..... More

Print this item

  Rename file from value in text file
Posted by: Nuge93 - Jan-17-2020, 10:48 PM - Forum: General Coding Help - Replies (1)

Hello, I have a number of pdf files currently named with my Employee's Names, in the format of "last, first", that need to be renamed with their emplo..... More

Print this item

  Please review my logic! Something is off
Posted by: t4keheart - Jan-17-2020, 09:29 PM - Forum: General Coding Help - Replies (3)

Hi everybody,
I'm writing a module for a program and the purpose is to check a row in a db- if "new" run some function.
I was pretty sure this log..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 32 minutes ago SpongeB0B Gribouillis General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577449
  Tutorial Requ... 501017
  Web Scraping ... 441079
  Newbie with P... 385147
  New Users Int... 369743
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
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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