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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 36 Guest(s)
Bing, Google, Applebot, Mojeek, AOL, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
9 minutes ago
» Replies: 4
» Views: 102
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 4
» Views: 143
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 665
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 143
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 125
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 317
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 209

 
  2 forms of this tool grep command
Posted by: Lylyhannah - Jan-21-2019, 08:21 AM - Forum: General Coding Help - No Replies

this is a command i have needed a few times today, so i decided that maybe i should create it.

it is like a grep command, which reads a main file l..... More

Print this item

  pip install pygame choking on SDL dependency
Posted by: sneakyimp - Jan-21-2019, 01:40 AM - Forum: Game Development - Replies (20)

I'm working my way through a book to learn python. Nearly done. Penultimate chapter calls for an install of pygame to develop a simple game. Turns out..... More

Print this item

  SyntaxError - Integral
Posted by: michitrujillo - Jan-20-2019, 10:06 PM - Forum: General Coding Help - Replies (1)

Hello,
I am trying to solve an integral with the below code but I keep getting a Syntax error for my second def F; I would


[python]def f(x):
..... More

Print this item

  problem in replace string into file
Posted by: Saeid_Bibak - Jan-20-2019, 08:24 PM - Forum: General Coding Help - Replies (1)

hi
i have a template model,
and i want to open a file in python and replace any line of this file to one of template Models string that s name is "..... More

Print this item

  list
Posted by: josesalazmit - Jan-20-2019, 07:13 PM - Forum: Homework - Replies (3)

Hello (Please, follow my code below)
This is a portion of a code which use list and function and I took part of the code to best understand the conce..... More

Print this item

  How to insert JSON into MSSQL
Posted by: raysefo - Jan-20-2019, 06:41 PM - Forum: General Coding Help - Replies (2)

Hello guys,

I implemented a flask REST api. I want to insert JSON data into MSSQL 2016. I wonder if I can use OPENJSON in my python.I installed pyo..... More

Print this item

  NameError: name 'Paddle' is not defined
Posted by: meza1123 - Jan-20-2019, 06:37 PM - Forum: General Coding Help - Replies (2)

I keep getting this error message.

Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credi..... More

Print this item

  Python related simple shell scripting issue
Posted by: Larz60+ - Jan-20-2019, 06:09 PM - Forum: Web Scraping & Web Development - Replies (4)

I have a whole bunch of old projects that were created without virtual environment.
many of them use the same packages, so I thought I'd create a bas..... More

Print this item

  Selenium click on popup button???
Posted by: GuJu - Jan-20-2019, 05:02 PM - Forum: Web Scraping & Web Development - Replies (7)

Hi everyone!
I have been searching for this problem for a week but i couldnt find anything about it.
The problem is this. After i entered the instagr..... More

Print this item

  Showing text in QTableView
Posted by: sequence - Jan-20-2019, 05:00 PM - Forum: GUI - No Replies

I want to implement a simple view to which my program would then export data from a text file to show, which should look like this:

..... More

Print this item

  Weird scoping error
Posted by: Stef - Jan-20-2019, 04:00 PM - Forum: General Coding Help - Replies (3)

I bumped into this weird scoping error and I have no clue what's going on.

[python]
#module main

FIXED = 0 # banks spend a fixed ..... More

Print this item

  getting started
Posted by: b4iknew - Jan-20-2019, 02:27 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello and good morning all.
I want to make it clear, I am not a programmer by any streach of the imagination. I just started trying to learn py..... More

Print this item

  Assertion Error
Posted by: Mateoo - Jan-20-2019, 02:20 PM - Forum: General Coding Help - Replies (2)

Hello everyone,
I've got problem with assertion. It seems that it should work, but after running the program I receive AssertionError. Do you have a..... More

Print this item

  Attribute error print statement error
Posted by: jamshaid1997 - Jan-20-2019, 02:11 PM - Forum: General Coding Help - Replies (1)

[python]
#Imported modules used within the program
import pytsk3
import struct
import pyewf
import datetime
import hashlib
from Registry impor..... More

Print this item

  Sum of Numbers in a List
Posted by: MrGoat - Jan-20-2019, 01:12 PM - Forum: General Coding Help - Replies (8)

So this was the question description :
# Write a Python function to sum all the numbers in a list.
# Sample List : (8, 2, 3, 0, 7)
# Expected Out..... More

Print this item

  Get lyrics from songs playing in spotify - Need help making it better
Posted by: thorep - Jan-20-2019, 01:09 PM - Forum: Code sharing - Replies (1)

Check out this simple project. Im just starting out in python. Anything I can do better?
Maybe use flask to make it a webpage.
Or some code that lis..... More

Print this item

  Loops
Posted by: Programming_Noob - Jan-20-2019, 12:40 PM - Forum: General Coding Help - Replies (1)

[python]#Game
#Import module
import random

#Start randomgenerator
random.seed()

#Random values and calculation
a= random.randint(1,10)
b= r..... More

Print this item

  can anybody explain what such function doing
Posted by: cdbs - Jan-20-2019, 12:39 PM - Forum: Data Science - Replies (1)

Hello,
im trying to understand some piece of code written by guy with 10+ experience of coding,
he won Data science competition and put his code here:..... More

Print this item

  increment variable in while loop
Posted by: Naito - Jan-20-2019, 12:20 PM - Forum: General Coding Help - Replies (3)

hello, i have a question please, why the while loop dosen't store the updated integer?
[output]guess the number: 4
better luck next time
the random nu..... More

Print this item

  Max of 3 numbers
Posted by: MrGoat - Jan-20-2019, 12:09 PM - Forum: General Coding Help - Replies (2)

Hi, so I am supposed to write a function to find the maximum of 3 numbers. Initially I wanted to write a function that takes in 3 values and analyzes ..... More

Print this item

  TypeError: __init__() missing 3 required positional arguments
Posted by: Pythonhelp82 - Jan-20-2019, 11:29 AM - Forum: Homework - Replies (6)

Hi Guys,

I am studying a mark scheme answer from a previous exam question and when following the mark scheme on Python , I am presented with an error..... More

Print this item

  Does anyone know how to scrape/find this data?
Posted by: randomguy - Jan-20-2019, 11:21 AM - Forum: General Coding Help - Replies (8)

No one seems to know how to do this. Maybe it's not possible.

I need to find out how quickly particular expired domains get registered after their ..... More

Print this item

  extracting data from a list in a file
Posted by: clarablanes - Jan-20-2019, 11:18 AM - Forum: General Coding Help - Replies (2)

good morning guys,

I am trying to extract the descriptor in bold in a list (the list is in a file):

This is the content of the file: training_se..... More

Print this item

  Help to understand output
Posted by: Pippi - Jan-20-2019, 08:59 AM - Forum: Homework - Replies (1)

Hi, I have loaded a lot of files under one variable. The output looks like this:

[python]
[Seq('KATIPSESP', ProteinAlphabet()), Seq('PSESPFAAA', Prot..... More

Print this item

  Index out of range error
Posted by: shikhajain07 - Jan-20-2019, 06:46 AM - Forum: General Coding Help - Replies (2)

Hi Everyone,
I am trying to create a sublist which uses a while loop to return a sublist of the input list. The sublist should contain the same value..... More

Print this item

  List of dictionaries
Posted by: bob_for_practice - Jan-20-2019, 06:22 AM - Forum: General Coding Help - Replies (2)

I've a:
input_list = [{'1':'a'},{'2':'b'},{'3':'c'},{'1':'d'},{'2':'e'},{'4':'f'},{'1':'g'},{'3':'h'}]

I need:
output_list = [{'1':..... More

Print this item

  KeyError when merging
Posted by: kbrummert - Jan-20-2019, 03:14 AM - Forum: General Coding Help - Replies (2)

I get a KeyError when merging two data frames, even though I have confirmed that both have dt as a name and both are of the same data type.

[python..... More

Print this item

  permuting a list of lists
Posted by: Skaperen - Jan-20-2019, 02:28 AM - Forum: General Coding Help - Replies (2)

suppose i have a list of lists, where each inner list begins with its name followed by a sequence of numbers. i want to have nested loops that go tho..... More

Print this item

  spyder - won't show results in console
Posted by: kbrummert - Jan-20-2019, 01:11 AM - Forum: General Coding Help - No Replies

In Spyder, when I click run file, all it does is output the runfile command. It doesn't show results on the console, but when I run selection, it does..... More

Print this item

  Brute force password breaker
Posted by: Truman - Jan-20-2019, 01:09 AM - Forum: Homework - Replies (7)

[i]create a list of word strings by reading this file. Then loop over each word in this list, passing it to the decrypt() method. If this method retur..... More

Print this item

  Executable not working (Anaconda, Win7 32 bit)
Posted by: Archangelos - Jan-20-2019, 12:47 AM - Forum: Web Scraping & Web Development - Replies (4)

I wrote a piece of code in Python using Anaconda 32 bit.
The code gets the log page from the web server of 17 satellite receivers.


The code in j..... More

Print this item

  I love the simplicity of Python but have a question
Posted by: Jeff_Waldrop - Jan-20-2019, 12:24 AM - Forum: General Coding Help - Replies (6)

Can Python code be compiled as an EXE say to run inside a Win Console window?

Jeff

Print this item

  Quick Help - Timers - Need Small Solution for Working Code
Posted by: EwH006 - Jan-19-2019, 10:17 PM - Forum: General Coding Help - Replies (5)

Good Evening,

I am looking to get some help as programming is not my game, I am into networking.

To explain intentions:

This code is being us..... More

Print this item

  Waiting in a text adventure
Posted by: StickyLizard - Jan-19-2019, 09:55 PM - Forum: General Coding Help - Replies (1)

I just started learning Python this week and after doing a few simple scripts, I've started work on a simple text adventure, I'm trying to create diff..... More

Print this item

  4-Bit Computer Simulation
Posted by: PKMindBlow - Jan-19-2019, 09:04 PM - Forum: Code sharing - Replies (2)

So...I've been working on this little 4 bit computer simulation. It's very simple, it uses just about 16 instructions in a version of assembly languag..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 9 minutes ago Lou snippsat General Codin...
  Python is not working on ... 7 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579457
  Tutorial Requ... 512608
  Web Scraping ... 442321
  Newbie with P... 386373
  New Users Int... 380659
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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