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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,558

Full Statistics

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

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

 
  Understanding if Statements in Python
Posted by: Kathleen - Mar-05-2019, 06:43 PM - Forum: General Coding Help - Replies (1)

Okay, I completely understand what a if statement in python is but, I missed a day of class and that was the day when my professor begin to teach pyth..... More

Print this item

  Writing to Excel file
Posted by: aa8888 - Mar-05-2019, 06:28 PM - Forum: General Coding Help - Replies (2)

I have written a simple program that captures keystroke data. I created two functions (on_Press and on_release), I want to write all captured keystrok..... More

Print this item

  Compiling python
Posted by: CommanderCody66 - Mar-05-2019, 05:51 PM - Forum: General Coding Help - Replies (7)

Hi!
The thing is, I want to make exe files, but I don't know how to compile these. Can someone help me?
I was try a lot of things, but none of than..... More

Print this item

  Where is the wrong indentation?
Posted by: CaptainCsaba - Mar-05-2019, 03:13 PM - Forum: General Coding Help - Replies (2)

Hi!

I have the following code. I don't know how PDFminer works so the first part is somebody else code which I modified a bit. It seems to work but..... More

Print this item

  The Empty List Blocks Recursion
Posted by: leoahum - Mar-05-2019, 03:13 PM - Forum: General Coding Help - Replies (6)

[python]List = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
step = 4



def ResetCR (l, stp):
K = []
if stp != 0:
for i in range(1,..... More

Print this item

  Deleting the first item in linked list
Posted by: dan789 - Mar-05-2019, 03:12 PM - Forum: General Coding Help - Replies (7)

Hello, this is what I have so far:

[python]class Linked_list:
def __init__(self, data, next=None):
self.data, self.next = data, next..... More

Print this item

  test pattern and add result in a table
Posted by: sam1975 - Mar-05-2019, 01:28 PM - Forum: General Coding Help - Replies (1)

Hello,

I need to make a script in order to parse files in a shared folder on windows, making tests of pattern and add results in a table.

In a f..... More

Print this item

  read a particular part from a file
Posted by: jhn - Mar-05-2019, 12:02 PM - Forum: General Coding Help - Replies (3)

Hello community.

I want to search in a text file for a Keyword to readout what is in the same line after the keyword.
Keyword and the contend i lo..... More

Print this item

  Senior Python Backend Developer @ Reef Technologies
Posted by: karolinareef - Mar-05-2019, 10:38 AM - Forum: Jobs - Replies (1)

We are looking for a remote Senior Python Backend Developer to join our team [Reef Technologies: fully remote python software house]
Salary (B2B): 3 ..... More

Print this item

  PYTHON - UNRAR : how can I build a thread to monitoring the downloading status
Posted by: Palerm0_24 - Mar-05-2019, 09:59 AM - Forum: General Coding Help - Replies (2)

Hello to all of you,

I am posting this discussion because I have a problem. Indeed, I'm new to python and I'd like to get help on Threading.
I am ..... More

Print this item

  Please help! Problem with my Point object
Posted by: itrema - Mar-05-2019, 09:20 AM - Forum: General Coding Help - Replies (2)

Hello everyone! I am having a problem with my code and after minutes of search, I landed here. I need your help.

Here is the problem: We want to cr..... More

Print this item

  Optimize unittest loading
Posted by: Nazz - Mar-05-2019, 09:04 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

I have a problem, let me describe it.

I've written a unittest (actually, an integration test) for the whole flow of my applicati..... More

Print this item

  Printing Easter date occurrences
Posted by: samsonite - Mar-05-2019, 08:22 AM - Forum: General Coding Help - Replies (8)

Hi all.
The following code computes the Easter dates in a given interval. My goal is to print out only the ones with a given string, i...... More

Print this item

  Python-Hive connectivity issue
Posted by: rekhagaonkar - Mar-05-2019, 07:01 AM - Forum: General Coding Help - No Replies

We have Virtual Private network in which we have Windows Server box, and Hadoop Distribution based on Hortonworks installed on several data nodes on R..... More

Print this item

  Open source... I'm not convinced
Posted by: bennylava - Mar-05-2019, 03:43 AM - Forum: Bar - Replies (12)

I guess this question is centered around Linux. I am wanting to switch to Linux as my main operating system from windows. And just leave windows on so..... More

Print this item

  What is the correct type hint when you want to accept Iterable but not Dictionary
Posted by: LadySvetlana - Mar-05-2019, 03:39 AM - Forum: General Coding Help - Replies (4)

How would I indicate, using a type hint, that the function only works with a List type data structure containing only [icode]int[/icode..... More

Print this item

  blank space + input()
Posted by: ClassicalSoul - Mar-05-2019, 02:15 AM - Forum: General Coding Help - Replies (6)

Hi, how do make it so that a blank space precedes an input() function, and even more specifically, how would I make it so that this applies [b]..... More

Print this item

  A small/simple class for running nslookup on a list of domain names
Posted by: rootVIII - Mar-05-2019, 12:44 AM - Forum: Code sharing - Replies (1)

might make it return more stuff in the future... here it is for now:

[python]

#! /usr/bin/python..... More

Print this item

  parsing xml
Posted by: josesalazmit - Mar-05-2019, 12:23 AM - Forum: General Coding Help - Replies (1)

Hello
I have try to create a code to parse a xml file and find a key word PCMU which has the value True, then I want to change the value for False
..... More

Print this item

  Inserting a python list into a dataframe column wise
Posted by: mahmoud899 - Mar-04-2019, 11:44 PM - Forum: General Coding Help - No Replies

I have the following python list,

[python]
test_list =
[ ['CVM', 20010618, 332.5],
['CVM', 20010619, 332.5],
['CVM', 20010620, 330.0],
['CVM'..... More

Print this item

  help please, checking the user input and outputting the result
Posted by: tomkovladko - Mar-04-2019, 11:09 PM - Forum: GUI - Replies (3)

hi, im trying to learn tkinter and i want to create a number guessing game where you can choose difficulty but i have problems with checking the user ..... More

Print this item

  Change Time Format in Python
Posted by: bluethundr - Mar-04-2019, 07:46 PM - Forum: General Coding Help - Replies (2)

Hey guys,

I'm trying to change the date format of when an AWS server was launched into something more readable for the user.

I'm getting this er..... More

Print this item

  Not Able To Delete First Node From Python Linked List
Posted by: ribena1980 - Mar-04-2019, 07:17 PM - Forum: General Coding Help - Replies (8)

I have a linked list in python that I am presently implementing. However the scenario of deleting the first node isnt working for me.

Deleting the ..... More

Print this item

  Decision statement problems
Posted by: erfanakbari1 - Mar-04-2019, 07:10 PM - Forum: Homework - Replies (2)

Hey guys , I'm trying to solve some exercises about digits and string and whole decision statement and I don't know actually how to check whether a in..... More

Print this item

  Change Text Color Output in Python
Posted by: bluethundr - Mar-04-2019, 06:59 PM - Forum: General Coding Help - Replies (2)

I'm trying to change the output text to green and the background to blue using this code:

[python] print("\033[1;32;44m*************************..... More

Print this item

  SQlite3 quickly increment INT value?
Posted by: jmair - Mar-04-2019, 06:30 PM - Forum: General Coding Help - Replies (1)

Is there a slick +=1 for INT values in an SQLite3 table?

For example, a table named 'users'
name, gamesplayed
a suedo code example ..... More

Print this item

  RuntimeError: No application found. Either work inside a view function or push an app
Posted by: pascale - Mar-04-2019, 05:51 PM - Forum: Data Science - Replies (2)

Hi all
Question "How do I call "index() in "action(changePin)" to make it all work or is index not needed?
I have some code and if I # these parts i..... More

Print this item

  What is Minsky talking about here?
Posted by: bennylava - Mar-04-2019, 05:44 PM - Forum: Bar - Replies (6)

In the video I link below, Marvin Minsky talks about programs that could write some of their own code. The part I'm referring to starts at 23:53 in th..... More

Print this item

  eval lambda function with restricted context
Posted by: Olivier - Mar-04-2019, 04:59 PM - Forum: General Coding Help - Replies (7)

Hello,

I would like to create a lambda function accessing Numpy functions, and only them. I can do the following:

[python]
import numpy
eval('exp(..... More

Print this item

  Two lines of code at the same time?
Posted by: OTO1012 - Mar-04-2019, 04:17 PM - Forum: General Coding Help - Replies (1)

I'm making a small game I want the player to press A quickly. I print this and was thinking of a timer going up and when 'A' is pressed the timer wil..... More

Print this item

  Invalid Syntax
Posted by: HekticEz - Mar-04-2019, 04:13 PM - Forum: General Coding Help - Replies (3)

I am currently learning how to code on my own before I start classes on coding and for some reason when I want to label certain things I get an invali..... More

Print this item

  List creation and return in Function
Posted by: leoahum - Mar-04-2019, 04:12 PM - Forum: General Coding Help - Replies (3)

[python]

def factors(x):
L = []
for i in range(1, x + 1):
if x % i == 0:
L.append(i)
return L


num = 84


..... More

Print this item

  How to manually define color bar scale in seaborn heatmap
Posted by: SriRajesh - Mar-04-2019, 02:13 PM - Forum: General Coding Help - Replies (3)

Hi,

I want to define color bar, how to define manually.
I use below example:

[python]import numpy as np; np.random.seed(0)
import seaborn as s..... More

Print this item

  MASQUERADE for Django 1.11
Posted by: Saurabh - Mar-04-2019, 11:05 AM - Forum: Web Scraping & Web Development - No Replies

I am upgrading my Python from 2 to 3 and Django from 1.8 to 1.11.

In the lastest Django release I am unable to use the masquerade feature.
The error ..... More

Print this item

  Problems with For Loops and Lists
Posted by: Sagramor72 - Mar-04-2019, 10:39 AM - Forum: General Coding Help - Replies (2)

Hello all,
I am beginner and I can't find the mistake in my code.

Starting with a list list_item = [0, 0, 0] I want modify every single element se..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 2 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 8 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 9 hours ago fosuwxb fosuwxb Code sharing
  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... 577315
  Tutorial Requ... 500574
  Web Scraping ... 440984
  Newbie with P... 385021
  New Users Int... 369484
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 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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