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,957
» Latest member: helenchris842
» Forum threads: 38,728
» Forum posts: 175,528

Full Statistics

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

Latest Threads
ARE YOU A VICTIM OF A CRY...
Forum: General Coding Help
Last Post: helenchris842
1 hour ago
» Replies: 0
» Views: 30
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
9 hours ago
» Replies: 2
» Views: 171
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 224
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 396
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,482
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,453
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 327
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 788
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 1,002
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,272

 
  socket.accept() no longer works
Posted by: somewan - Sep-19-2020, 12:40 PM - Forum: Networking - No Replies

Hi everyone,

I have been for some time developing a honeypot which one of its functions is to detect por scanning in the local network. This funciona..... More

Print this item

  Dissaperaing window
Posted by: MrEmEs - Sep-19-2020, 12:38 PM - Forum: General Coding Help - Replies (3)

Hi,
I started learning Python today, so please don't hate me Naughty

I wrote a simple script:
[python]print("Hello_world")

input("\n\nPr..... More

Print this item

  Regex: positive lookbehind
Posted by: Secret - Sep-19-2020, 10:36 AM - Forum: General Coding Help - Replies (2)

Hi

I am new to Python. I have used regex in Uipath but when I transferred my regex expression to Python it doesn't seem to work. I get error "NoneT..... More

Print this item

  How to reset row value in pandas
Posted by: Mekala - Sep-19-2020, 09:36 AM - Forum: General Coding Help - No Replies

Hi,
I have below dataframe:

df
[python]ID Grp subGrp Rank SNO
A.1 A.0 A S 1
A.2 A.0 A S 1
A.2 A.0 A N ..... More

Print this item

  creating right click app in python
Posted by: Omer_ - Sep-19-2020, 08:44 AM - Forum: General Coding Help - No Replies

Hello there,
I'm new to python and I wanted to know if the idea I'm thinking of is possible to make with python:

Is it possible to create an app t..... More

Print this item

  Do I need to make a virtual environment?
Posted by: Pedroski55 - Sep-19-2020, 08:43 AM - Forum: General Coding Help - Replies (5)

I run Ubuntu 18.04

I read I can create a "virtual environment" for Python 3 with:

[quote]python3 -m venv /path/to/new/virtual/environment[/quote..... More

Print this item

  can someone explain what I need to do here?
Posted by: pedicurecurator - Sep-19-2020, 05:30 AM - Forum: Homework - Replies (2)

1. (a) Trace (by hand) the execution of the following Python program by completing
the trace table below. For Each line of code (as labelled with lin..... More

Print this item

  Help Getting Started - Optimisation Problem
Posted by: lummers - Sep-19-2020, 04:05 AM - Forum: General Coding Help - Replies (1)

Hi all

I am getting stuck having searched for about an hour through various forums, Stack oveflow posts and online articles!

I have a simple CSV..... More

Print this item

  Good free textbooks/pdf's for Beginners
Posted by: jonnie763 - Sep-19-2020, 03:43 AM - Forum: News and Discussions - Replies (2)

Hi, I started python coding about 2-3 weeks ago, and I am looking for a good textbook to aid in my studies. The class I am taking is using this https:..... More

Print this item

  performs the search without pressing enter or a key
Posted by: forumpy - Sep-19-2020, 02:56 AM - Forum: General Coding Help - Replies (3)

i need help, I want to create a python search engine that will search for clients' names (from a sqlite3 database and display them on the Treeview obj..... More

Print this item

  Off subject (sort of) about PgAdmin4
Posted by: Larz60+ - Sep-19-2020, 02:04 AM - Forum: Bar - No Replies

I have PostgreSQL up an running, and have several databases that I implemented using psql.
I decided that life might be easier if I started using PgA..... More

Print this item

  list vs [] with range
Posted by: quazirfan - Sep-19-2020, 01:21 AM - Forum: General Coding Help - Replies (5)

Hello, I am just learning python so bear with me.

I am trying to figure out why the output of the following two lines are different despite both o..... More

Print this item

  XML files and tables
Posted by: mauede - Sep-19-2020, 12:20 AM - Forum: General Coding Help - Replies (1)

I have benn asked to write a Python program to parse XML files recorded in a database, look for specific keywords and sentences, extract the associate..... More

Print this item

  Advanced CLI Snippet Manager
Posted by: bytebutcher - Sep-18-2020, 09:12 PM - Forum: Code sharing - Replies (1)

I made a cli tool for managing snippets. The source code can be found at https://github.com/bytebutcher/sn[url=https://python-forum.io/thread-29765.html]..... More

Print this item

  refreshing imports
Posted by: seandepagnier - Sep-18-2020, 08:38 PM - Forum: General Coding Help - Replies (4)

I have an environment (tinycore linux) where as the system boots, python modules get loaded. The program needs to start up quickly, and it takes a w..... More

Print this item

  Converting list to variables
Posted by: Palves - Sep-18-2020, 04:32 PM - Forum: General Coding Help - Replies (1)

Hi Guys,

I'm really stuck on this one. I was given a file that looks like this.
[output] id original
0 1 [['U K', 1], ['U..... More

Print this item

  how to pass the interactive string to Popen subprocess
Posted by: maiya - Sep-18-2020, 03:28 PM - Forum: General Coding Help - Replies (1)

Hi All,

How to pass the interactive string to Popen subprocess and also it should support both python 2 as well as python3 interpreters.

For exa..... More

Print this item

  numpy in1d with two simple arrays
Posted by: claw91 - Sep-18-2020, 02:58 PM - Forum: General Coding Help - Replies (3)

I have this Matlab code

T = L(find(ismember(L+1,L)));

and I want to replicate it int..... More

Print this item

  Put all files in a directory into list. How?
Posted by: Denial - Sep-18-2020, 02:43 PM - Forum: General Coding Help - Replies (2)

Hello

I want to put all files recursively in a directory into a list with only certain type of extensions.

Here is what I did.

[python]#!/usr/bin/e..... More

Print this item

  Split dict of lists into smaller dicts of lists.
Posted by: pcs3rd - Sep-18-2020, 02:11 PM - Forum: General Coding Help - Replies (3)

I am trying to upload a bunch of data to squarespace, which requires that no more than 50 items are sent at a time.
Currently, squarespace uses the f..... More

Print this item

  Spyder Quirk? global variable does not increment when function called in console
Posted by: rrace001 - Sep-18-2020, 01:48 PM - Forum: General Coding Help - Replies (1)

I did not see that Spyder had a forum so I tried here. If I should go somewhere else then please let me know.

The following code works as expected..... More

Print this item

  Dealing with list
Posted by: coja56 - Sep-18-2020, 01:36 PM - Forum: Homework - Replies (2)

## Its part of my boot camp Task

● Imagine you want to store the names of three of your friends in a list of
strings. Create a list variable call..... More

Print this item

  Duplicate functions
Posted by: Allegin - Sep-18-2020, 01:17 PM - Forum: General Coding Help - Replies (4)

Hi,

So I am writing a small Python app to carry out a few tasks and print the findings to the screen using the @Click module. Although it works as..... More

Print this item

  gaierror: [Errno 11001] getaddrinfo failed in Python 3.8
Posted by: rajesh3383 - Sep-18-2020, 12:43 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi, I am working on a process which I am trying to POST requests (WSDL link) and Get RESPONSE and parse the <Number value to XML. So, I started with R..... More

Print this item

  How to diff pandas rows and modify column value
Posted by: Mekala - Sep-18-2020, 11:35 AM - Forum: General Coding Help - Replies (1)

Hi,
I have bewlow pandas dataframe:

[python]ID sub_set group Rank
A1 A.0 A 1
A2 A.0 A 2
A1 A.1 A 3
A3 A.0 A ..... More

Print this item

  Changing the content of the table and saving the new data into another file
Posted by: femke_pythonquestion123 - Sep-18-2020, 10:27 AM - Forum: Homework - Replies (1)

Hi,

I am currently using a CSV file (actually one big table of data) consisting of data including names, addresses and coordinates of various resta..... More

Print this item

  Async / Await usage with asyncio to retrieve urls in parallel
Posted by: lukee - Sep-18-2020, 10:06 AM - Forum: General Coding Help - Replies (7)

I'm looking for transform the following code into parallel execution :

[code]urls = ['http://example1.org', 'http://example2.org', '...']

def ge..... More

Print this item

  Python script to only keep waypoints within x km from track?
Posted by: Winfried - Sep-18-2020, 08:47 AM - Forum: General Coding Help - No Replies

Hello,

I need to write a script in Python that can read a track and a set of waypoints, and only keep waypoints that lie within x kilometers from t..... More

Print this item

  Q on functions
Posted by: ebolisa - Sep-18-2020, 08:34 AM - Forum: General Coding Help - Replies (7)

Hi,

Can someone please explain how the sample variable is passed onto the function?

I understand if it would be [inline]sample..... More

Print this item

  Checkbox half working
Posted by: Milfredo - Sep-18-2020, 08:21 AM - Forum: General Coding Help - Replies (12)

I have a window with a check box. When I click it I get the result I expect. But when I uncheck it I don't get what I expect. Not sure why. Have googl..... More

Print this item

  don't know indenting of break and continue
Posted by: Colin999 - Sep-18-2020, 07:48 AM - Forum: General Coding Help - Replies (5)

I was trying to get this output...

My Seven Favorite Musical Artists

Enter Musical Artist: Drake
Enter Musical Artist: Cardi B
Enter Musical A..... More

Print this item

  new to coding
Posted by: pop3 - Sep-18-2020, 07:14 AM - Forum: General Coding Help - Replies (3)

Hi, I am doing a basic exercise in python were I have to call the function with a string as the value for the argument mystring and will return the le..... More

Print this item

  Serial loopback with Arduino doesn't work
Posted by: ThomasS - Sep-18-2020, 06:40 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to establish a serial communication with my Arduino Uno using pyserial. To test it, I programmed a simple loop back example, where th..... More

Print this item

  codec for byte transparency
Posted by: Skaperen - Sep-18-2020, 02:24 AM - Forum: General Coding Help - Replies (7)

given "random" bytes in the range from 0 to 255, such as from a file containing machine executable code, i would like to convert this "byte sequence" ..... More

Print this item

  Reading a table generated using PyTables
Posted by: Robotguy - Sep-18-2020, 01:36 AM - Forum: Data Science - Replies (1)

Hello,

I have a table with three columns and multiple rows. I know how to extract specific rows using table[0:5]. How can I extract just the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ARE YOU A VICTIM OF A CRY... 1 hour ago helenchris842 helenchris842 General Codin...
  extracting data from a us... 9 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 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...
Most views
  The best Prog... 576888
  Tutorial Requ... 499471
  Web Scraping ... 440664
  Newbie with P... 384636
  New Users Int... 368618
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
helenchris842 Today
alxpetrovo2272 Today
Jamirul Today
Perry Today
bianchiluca116 Yesterday

User Panel Messages

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