Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,598
» Latest member: nebeolisa
» Forum threads: 37,370
» Forum posts: 169,823

Full Statistics

Online Users
There are currently 552 online users.
» 0 Member(s) | 544 Guest(s)
Bing, Google, Yandex, Baidu, Facebook, AOL, Applebot

Latest Threads
Waiting screen until user...
Forum: Game Development
Last Post: attractalderman
1 hour ago
» Replies: 2
» Views: 912
convert to bin problem
Forum: General Coding Help
Last Post: kucingkembar
1 hour ago
» Replies: 0
» Views: 34
Help with writing monitor...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 3
» Views: 170
Cloud computing advice ne...
Forum: Data Science
Last Post: sawtooth500
7 hours ago
» Replies: 3
» Views: 132
MemoryError in pywinauto....
Forum: General Coding Help
Last Post: itegumo
Yesterday, 04:28 PM
» Replies: 1
» Views: 242
Adding a sub menu to a tt...
Forum: GUI
Last Post: deanhystad
Yesterday, 12:37 PM
» Replies: 5
» Views: 196
measure diameter of compl...
Forum: General Coding Help
Last Post: alminnawi
Yesterday, 10:20 AM
» Replies: 0
» Views: 99
How to Randomly Print a Q...
Forum: General Coding Help
Last Post: Bronjer
Yesterday, 07:07 AM
» Replies: 13
» Views: 657
Dynamically plotting grap...
Forum: Data Science
Last Post: deanhystad
Apr-17-2024, 04:09 PM
» Replies: 11
» Views: 253
i have not decided which ...
Forum: GUI
Last Post: CaseySullivan
Apr-17-2024, 12:43 PM
» Replies: 3
» Views: 281

 
  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

  'utf-8' codec can't decode byte 0xe2 in position 122031: invalid continuation byte
Posted by: tienttt - Sep-17-2020, 10:27 PM - Forum: General Coding Help - Replies (12)

Hi,

I'm using python 3.8.5 to call Jira Rest API to download all tickets information and save in a json file AllIssues.json. In order to get all fi..... More

Print this item

  Python class noob
Posted by: nallster7 - Sep-17-2020, 10:21 PM - Forum: General Coding Help - Replies (2)

Hi I need help I want my code to make it so it does print the message but it dosent seem to work.

[python]class Bil:
__modelYear = () # priva..... More

Print this item

  convert % to a number
Posted by: Nickd12 - Sep-17-2020, 09:22 PM - Forum: General Coding Help - Replies (2)

I have a number in a range form 1 to 254
lets say I I have an input of 20%
I need to convert that % into a number with in that range
I know the n..... More

Print this item

  Why I feel like quitting Python
Posted by: Drone4four - Sep-17-2020, 09:08 PM - Forum: News and Discussions - Replies (8)

Here is my story about how and why I came to want to learn Python and the futility and frustration with my lack of progress today and why I feel like ..... More

Print this item

  Django send email - email form
Posted by: Remek953 - Sep-17-2020, 08:16 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello, I created a contact form to send me an email when the user fills it out. Everything appears to be working, I get mail to my gmail but I get it ..... More

Print this item

  Intro python using lists
Posted by: Rustypotatoes - Sep-17-2020, 07:28 PM - Forum: Homework - Replies (2)

This is a homework question. I am learning how to use lists, slicing, del, sort, and other functions. I'm not asking anyone to do this for me, I just ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyGame] Waiting screen u... 1 hour ago world90 attractalderman Game Developm...
  convert to bin problem 1 hour ago kucingkembar kucingkembar General Codin...
  Help with writing monitor... 6 hours ago donottrackmymetadata deanhystad General Codin...
  Cloud computing advice ne... 7 hours ago sawtooth500 sawtooth500 Data Science
  MemoryError in pywinauto.... Yesterday, 16:28 ktw3857 itegumo General Codin...
  Adding a sub menu to a tt... Yesterday, 12:37 Robo deanhystad GUI
  measure diameter of compl... Yesterday, 10:20 alminnawi alminnawi General Codin...
  How to Randomly Print a Q... Yesterday, 07:07 BillKochman Bronjer General Codin...
  Dynamically plotting grap... 04-17, 16:09 CAD79 deanhystad Data Science
  i have not decided which ... 04-17, 12:43 Skaperen CaseySullivan GUI
  Number stored as text wit... 04-17, 10:17 CAD79 CAD79 General Codin...
Most views
  The best Prog... 398987
  Web Scraping ... 291197
  Tutorial Requ... 284491
  Newbie with P... 244086
  New Users Int... 228727
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11870
buran 8088
snippsat 7080
deanhystad 6196
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nebeolisa Today
ganeshbraj Yesterday
Jaime Yesterday
itegumo Yesterday
wonderfulunix Yesterday

User Panel Messages

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