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,975
» Latest member: Schirag
» Forum threads: 38,732
» Forum posts: 175,562

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Facebook Dev, AOL, AOL

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
2 hours ago
» Replies: 2
» Views: 152
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
10 hours ago
» Replies: 2
» Views: 787
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 827
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 525
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,899
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,305
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,874
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,298
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,225
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,542

 
  Lists union and intersecion
Posted by: arbiel - Mar-27-2020, 05:51 PM - Forum: General Coding Help - Replies (5)

Hi

Is it possible to take the union and the intersection of lists. If affirmative, which module contains these methods, and where to find it ?

T..... More

Print this item

  Django deployment on apache server?
Posted by: tmmaersk - Mar-27-2020, 05:31 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey
I have just created by first django project locally on my machine.

How would I go about deploying that to a VPS running linux and apache?

A..... More

Print this item

  I cannot figure out this error
Posted by: ErnestTBass - Mar-27-2020, 05:30 PM - Forum: General Coding Help - Replies (6)

[size=medium]https://jasminedaly.com/2016-05-25-kmeans-analysis-in-python/

I am trying to run the program at the above link andI get a very cryptic..... More

Print this item

  API JSON response missing list gives keyerror
Posted by: rolfmadsen - Mar-27-2020, 05:10 PM - Forum: General Coding Help - Replies (3)

Python newbie - please be gentle ...
System: Windows 10 + Winpython + Spyder

I have a list of searchqueries that I use to perform search re..... More

Print this item

  Calculating the number of day of the week
Posted by: RbaPhoenix - Mar-27-2020, 04:59 PM - Forum: Homework - Replies (3)

[size=medium]1. It is possible to name the days 0 through 6 where day 0 is Sunday and day 6 is Saturday. You want go on a summer holiday and you want ..... More

Print this item

  Installing Packages
Posted by: Cydney - Mar-27-2020, 02:28 PM - Forum: General Coding Help - Replies (6)

Hello,

I'm very new to python. One of the things I wanted to do was to install the package pydicom however the commands keeps failing. I am followi..... More

Print this item

  Beginner requiring help please
Posted by: w4ldom4ths - Mar-27-2020, 01:36 PM - Forum: General Coding Help - Replies (3)

Hi

Am using lockdown to teach myslef Python (mainly using youtube, although have ordered a few books)

Please could somebody show/tell me how I w..... More

Print this item

  if nan -> find value in cell above Pandas
Posted by: zarize - Mar-27-2020, 01:36 PM - Forum: General Coding Help - Replies (3)

Hi guys,

I have excel file like this:

Sometext_here
nan
nan
nan
nan
nan
nan
nan
TotallyNewThing
nan
nan
nan
How c..... More

Print this item

  Encoding and mac-vendor-lookup library
Posted by: tuanjggaa - Mar-27-2020, 12:52 PM - Forum: General Coding Help - Replies (1)

Hi everyone!
I'm pretty new to python, so i want to look-up a mac address using mac-vendor-lookup library.
When i run the script on my laptop (Intel..... More

Print this item

  import path
Posted by: SpongeB0B - Mar-27-2020, 12:17 PM - Forum: General Coding Help - Replies (5)

Hi everyone,

how can I simply do an import of a file who is in another directory ?

I tried

import ..\myfile
[inline]import ..... More

Print this item

  Unable to exit Pygame window
Posted by: Hesper - Mar-27-2020, 12:11 PM - Forum: Game Development - Replies (2)

Hello friends I am new to pygame and python. The thing is I am not able to exit the python program even after I click the exit button on the pygame wi..... More

Print this item

  Functions, skip an arugment
Posted by: SpongeB0B - Mar-27-2020, 10:41 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

How can we skip functions argument in Python

For example I have this function

[python]
def F_Three(a,b=2,c=10):
print((a/b..... More

Print this item

  change normal insertionsort into 2 dimension insertionsort
Posted by: dezed - Mar-27-2020, 10:24 AM - Forum: Homework - Replies (2)

excuse me, i wanna ask.
how to change this code into 2Dimension insertionsort code?
my teacher said it only replace 1 line code

[python]
def ins..... More

Print this item

  Tkinter:Unable to bind and unbind function with a button
Posted by: shallanq - Mar-27-2020, 09:39 AM - Forum: GUI - Replies (2)

I'm having trouble binding and unbinding a function(using 2 buttons) to display a keyboard.

I basically want keyboard()to be hidden first, but when..... More

Print this item

  scraping from a website that hides source code
Posted by: PIWI_Protein - Mar-27-2020, 09:32 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello Pythoners,

I want to make python get some data from this website: https://tritrypdb.org/


The idea is to then implement that into excel, ..... More

Print this item

  Iterate through all files in a folder and make simple calculation
Posted by: danielappleton - Mar-27-2020, 09:19 AM - Forum: General Coding Help - Replies (2)

Hi,

I want to iterate through a number of .xlsx files in a folder and make a simple calculation for each of the rows in each file. I want to subtra..... More

Print this item

  Not able to crack a simple visualization – missing something basic – plz guide
Posted by: darpInd - Mar-27-2020, 07:22 AM - Forum: General Coding Help - Replies (4)

Hello Readers,
I have been trying to get a simple visualization but not able to crack and getting demotivated. Please help!
Objective:- I want to cr..... More

Print this item

  import Tkinter
Posted by: orestgogosha - Mar-27-2020, 05:50 AM - Forum: GUI - Replies (1)

my code:
[python]#!/usr/bin/env python
import Tkinter as tk

class Application(tk.Frame):
def __init__(self, master=None):
tk.Frame...... More

Print this item

  my own command line option parser
Posted by: Skaperen - Mar-27-2020, 04:14 AM - Forum: News and Discussions - No Replies

i'm creating my own command line option parser function. i might make it into a class but its not that much to configure and i normally never need mu..... More

Print this item

  Guidance on solving an "if else loop" in this small project
Posted by: ando - Mar-27-2020, 03:17 AM - Forum: Homework - Replies (5)

Hi all,

Thank you in advance for giving this a read. I have completed 99.9% of this assignment.
The goal of the program is to ask user to enter '..... More

Print this item

  Finding out what's under the cursor
Posted by: sabresong - Mar-27-2020, 03:06 AM - Forum: GUI - Replies (3)

I'm new to Python, and way out of practice (15+ years out of practice) with any sort of programming. I don't have example code as I'm in the planning ..... More

Print this item

  which type for empty
Posted by: Skaperen - Mar-27-2020, 12:58 AM - Forum: News and Discussions - No Replies

a function/method has an argument that gets a bunch of hashable things, such as strings. it can accept a list or tuple or set or..... More

Print this item

  suggested improvements.
Posted by: Skaperen - Mar-27-2020, 12:06 AM - Forum: News and Discussions - No Replies

str.count(sub[,start[,end]]) should allow a tuple of strings for sub, such that it counts any of the non-ove..... More

Print this item

  Deployment Issues and installing
Posted by: stevemiske - Mar-26-2020, 10:58 PM - Forum: News and Discussions - Replies (1)

I am in a Devops position and I am being sent my first Python application to deploy to servers.

I want to note that our servers are locked down and..... More

Print this item

  Listbox search code partially works
Posted by: chesschaser - Mar-26-2020, 10:49 PM - Forum: GUI - Replies (9)

Hi everyone on the Python Forum!

I have some search code that partially works thanks to a helpful forum post from deanhystad!
I still have a few g..... More

Print this item

  Please help me speed up my script :(
Posted by: mikeak2001 - Mar-26-2020, 10:33 PM - Forum: Code Review - No Replies

Hi,

I recently asked for help in regards to CRC16-CCITT/FALSE checksums.
I had some great advice to try CRCengine.

https://python-forum.io/Thre..... More

Print this item

  pylint question
Posted by: dcollett - Mar-26-2020, 08:49 PM - Forum: General Coding Help - No Replies

Hi, everyone. Here's my short snippet of code:

[python]
""" Module docstring goes here """

class Robot():
""" Class docstring goes here ""..... More

Print this item

  Pass Arguments to Function
Posted by: phillyfa - Mar-26-2020, 07:21 PM - Forum: General Coding Help - Replies (2)

Hello,

The following function creates a connection string to a SQL Server instance. I have another program where all the values are hard-coded int..... More

Print this item

  unique (single) value in dict (or list)
Posted by: 3Pinter - Mar-26-2020, 07:10 PM - Forum: General Coding Help - Replies (5)

Given any random dictionary (or a list doesnt matter), how to ask the dictionary if there is an unique value (so which only occurs once).

{
"1": "..... More

Print this item

  String index out of range - help please
Posted by: DudleyDiccle - Mar-26-2020, 07:01 PM - Forum: General Coding Help - Replies (7)

I'm new to programming btw.
I'm trying to write a program that will take a tuple of a list of toys, a tuple of the base prices for those toys, and ca..... More

Print this item

  Stanza: A Python NLP Library for Many Human Languages, by the Stanford NLP Group
Posted by: buran - Mar-26-2020, 05:35 PM - Forum: News and Discussions - No Replies

A Python NLP Library for Many Human Languages, by the Stanford NLP Group

https://pypi.org/project/stanza/
https://stanfordnlp.github.io/stanza/mod..... More

Print this item

  Formatting Help!
Posted by: DudleyDiccle - Mar-26-2020, 05:03 PM - Forum: General Coding Help - Replies (2)

Hi, I am trying to format the following code so that the stars are all aligned in a column, starting at the same spot, and the same with the months. T..... More

Print this item

  pyMySQL How do I get the row id
Posted by: JayCee - Mar-26-2020, 04:06 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

Greetings from Brazil! I have a simple question: How do I get the row id of records? I need that so I can navigate through the ro..... More

Print this item

  Print date, Time and output to file
Posted by: tpolim008 - Mar-26-2020, 03:09 PM - Forum: General Coding Help - Replies (3)

Hello,
I am very green to python and currently wrote a code to look at a DB, look at the row for a date-time of the last backup. I'm now trying to fig..... More

Print this item

  Issue with def norm in class Vector
Posted by: DimosG - Mar-26-2020, 02:53 PM - Forum: General Coding Help - Replies (4)

Hi guys I am trying to calculate the norm(magnitude) of a Vector using class and when i run the code I get: [error]return math.sqrt(sum( i**2 for i in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 2 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... 10 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 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...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577343
  Tutorial Requ... 500666
  Web Scraping ... 441006
  Newbie with P... 385045
  New Users Int... 369536
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+ 12090
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Schirag Today
Jacobjoift Today
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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