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,403
» Latest member: asonpitt1039
» Forum threads: 38,827
» Forum posts: 176,040

Full Statistics

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

Latest Threads
German Relative Clauses P...
Forum: General Coding Help
Last Post: asonpitt1039
2 hours ago
» Replies: 0
» Views: 18
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
5 hours ago
» Replies: 0
» Views: 25
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 190
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,755
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,669
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 184
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,197
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 229
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,640

 
  Fixing - MIME type ("text/x-python") that is not "text/event-stream"
Posted by: mostek_6502 - Sep-22-2017, 03:37 PM - Forum: Web Scraping & Web Development - Replies (4)

Dear Python Experts:

I am very new to web development, although I've been programming on some level for a few decades.
I started with the Python f..... More

Print this item

  search and replace first amount of strings instances with one thing and a second amou
Posted by: chickflick91 - Sep-22-2017, 02:15 PM - Forum: General Coding Help - Replies (7)

i have a code in python to search and replace what i need though is to replace the first say 10 instances of the number 1 with 2 and the second 10 ins..... More

Print this item

  Writing file
Posted by: kvivek266 - Sep-22-2017, 01:58 PM - Forum: General Coding Help - Replies (4)

hello everyone,
I am beginner and I am trying to write file but I am getting this type of error.
Traceback (most recent call last):
File "<pyshell#..... More

Print this item

  Python - Make Json objects to work concurrently through Threads?
Posted by: WeInThis - Sep-22-2017, 11:31 AM - Forum: General Coding Help - No Replies

What I was planning to do is to have a multiple JSON objects, for example:

[python] {
"Profiles": {
"profile_0": {
..... More

Print this item

  Failed to recieve scapy udp packet
Posted by: SkyAmryBoi - Sep-22-2017, 10:29 AM - Forum: Networking - Replies (1)

Hi,
I used scapy and wrote a udp test application to send udp packet between computer A to computer B. The reciever at computer B is able to recie..... More

Print this item

  BeautifulSoup and pagination.
Posted by: Mike Ru - Sep-22-2017, 08:43 AM - Forum: Web Scraping & Web Development - Replies (1)

I have a script that download MP3  on the site. I don't know how to pass other page to download other music after downloading of all music on the page..... More

Print this item

  I'm afraid it is a question of copyright
Posted by: sylas - Sep-22-2017, 06:52 AM - Forum: General Coding Help - Replies (18)

To Metulburr. Hi, On the terminal I tried first : pong$ python game.py....It runs well. Second I tried (always on the terminal): ping$ python game.py...... More

Print this item

  Python automation GET/POST/REQUEST
Posted by: Raki - Sep-22-2017, 04:14 AM - Forum: General Coding Help - Replies (1)

Hello All,

I have a Python web based project(UI is designed with Java and it is parsed to use by python) which can load a project as JSON, I can ru..... More

Print this item

  Interaction between different programming languages
Posted by: Krookroo - Sep-22-2017, 01:30 AM - Forum: News and Discussions - Replies (3)

Hello,

First, let me apologize for I don't have any code to show. This post is about getting pointers as to where to get the information I need.
..... More

Print this item

  list and tuple problems
Posted by: jascolby - Sep-21-2017, 11:16 PM - Forum: General Coding Help - Replies (1)

I am on my third day of trying to figure this out. Wall Not sure what else to do. Can someone point me in the right direction please?


This i..... More

Print this item

  Variables as labels vs fixed storage location
Posted by: cnoblejr - Sep-21-2017, 07:08 PM - Forum: General Coding Help - Replies (4)

Is this a nit? For example.

>>> y = 5
>>> id(y)
4297636480
>>> y = 7
>>> id(y)
4297636544
>>> x = 5
>>> id(x)
4297636480
>>>

Clearly..... More

Print this item

  Python IDLE crash on start on Mac
Posted by: Avery52 - Sep-21-2017, 02:33 PM - Forum: General Coding Help - Replies (1)

I can run idle3 from terminal and open a file from it perfectly.

However, if i try to open a .py file directly with it (via "Open with), it crash..... More

Print this item

  a Home language
Posted by: TDH - Sep-21-2017, 02:12 PM - Forum: Homework - Replies (4)

ok, I dont have a code for this
what I need to do is basiclly create a home language
which the input will be translated to from english
to home lan..... More

Print this item

  smbus contention handling
Posted by: PatM - Sep-21-2017, 01:21 PM - Forum: General Coding Help - Replies (1)

I have several threads needing to use the Raspberry Pi3 single I2C bus. The threads aren't called all that frequently, the fastest being one per secon..... More

Print this item

  getting AttributeError: '<win32com.gen_py.Microsoft Outlook 16.0 Object Library._Mail
Posted by: jainpratik163 - Sep-21-2017, 11:28 AM - Forum: General Coding Help - Replies (3)

i am trying to read outlook mail and getting below error while running the code

[error][quote]Traceback (most recent call last):
File "read_mai..... More

Print this item

  How to save a show run from a switch?
Posted by: raikone14 - Sep-21-2017, 10:45 AM - Forum: General Coding Help - Replies (2)

I created a code to Connect through a switch using telnet.
It is working, but now I am trying to see the running config and save in a file.
The code..... More

Print this item

  Vowels and Consonants detector
Posted by: OmarSinno - Sep-21-2017, 09:57 AM - Forum: General Coding Help - Replies (5)

Objective is: to print True when it's a vowel, and False when it's a consonant, WITHOUT using if conditions.

[python]vowels = ['o', 'i', 'y', 'e', ..... More

Print this item

  some errors on my terminal
Posted by: greed13 - Sep-21-2017, 07:00 AM - Forum: General Coding Help - Replies (1)

Hello,
i installed python 3.6 on my ubuntu via this guide[/[url=https://python-forum.io/thread-5164.html]..... More

Print this item

  Learning and Looping
Posted by: AnjyilLee - Sep-21-2017, 04:47 AM - Forum: Homework - Replies (6)

Posting this is both for figuring out my homework and to try learning the site's preferred way for me to format my questions. I've looked over the hel..... More

Print this item

  While loops
Posted by: ralfi - Sep-21-2017, 02:11 AM - Forum: General Coding Help - Replies (4)

List = ["1","2","3","5" ]
while True:
print("hello")
number = (int(input("give me a number? ")
if i % 2 = 0:
print(L)
F..... More

Print this item

  Get a table from a website
Posted by: amitsinha1 - Sep-21-2017, 01:50 AM - Forum: Web Scraping & Web Development - Replies (2)

I am a newbie to programming. I need help designing code to download the table of members of an etf from the website
https://www.ishares.com/us/produ..... More

Print this item

  GUI
Posted by: Pedroski55 - Sep-21-2017, 12:44 AM - Forum: GUI - Replies (6)

As a beginner at Python, I am very pleased and surprised to find that I can actually make it do something which is useful and time-saving for me.

I..... More

Print this item

  Psychopy- Python code error
Posted by: Iva09 - Sep-20-2017, 11:15 PM - Forum: Data Science - No Replies

Hi all, I am trying to create a visual stimuli in Psychopy which should contain two rectangles(red and green) flashing..... More

Print this item

  Can some one help me with Compount interest program in python
Posted by: soumya123 - Sep-20-2017, 11:11 PM - Forum: General Coding Help - Replies (3)

Can some one help me with Compount interest program in python ?

Here are my specs:

User will input amount of initial deposit.
They will also e..... More

Print this item

  tkinter themes
Posted by: metulburr - Sep-20-2017, 11:00 PM - Forum: Code sharing - Replies (3)

This isnt mine, i just thought it was nice to display the available themes

[python]import random
import tkinter
from tkinter import ttk
from tki..... More


Attached Files

Thumbnail(s)
   
Print this item

  UI framework?
Posted by: JP_ROMANO - Sep-20-2017, 10:37 PM - Forum: General Coding Help - Replies (12)

Hello,

I'm essentially being forced to use Python, despite VBA clearly being the right way to do this little project (and significantly easier), bu..... More

Print this item

  Displaying a long list with Rows and Columns
Posted by: ngr33n - Sep-20-2017, 10:33 PM - Forum: Homework - Replies (5)

Description:
"Find all the prime numbers between 1 and 4,027 and print them in a table which
"reads down", using as few rows as possible, and using a..... More

Print this item

  What framework to select for application
Posted by: RobertIonescu - Sep-20-2017, 10:00 PM - Forum: GUI - Replies (10)

i want to create an application using the python language which I really love. I already looked into some tutorials about different GUI designers for ..... More

Print this item

  [split] Board down this morning
Posted by: metulburr - Sep-20-2017, 08:26 PM - Forum: Board - Replies (14)

interesting how people do it differently

[quote='ichabod801' pid='25672' dateline='1505934248']
looking for info on why the board was down all mor..... More

Print this item

  Help
Posted by: ralfi - Sep-20-2017, 07:20 PM - Forum: General Coding Help - Replies (1)

who can figure out this

Using a “while loop” ask the user for a number and add it to a list if number is even and to a different list if number is ..... More

Print this item

  Is this right/ what should i change?
Posted by: ralfi - Sep-20-2017, 06:12 PM - Forum: Homework - Replies (6)

# 3. Using the following list and a “for” loop, display differences of all consecutive pairs of numbers in the list.

our_list = [1,2,5,6,3,77,9,0,3..... More

Print this item

  I need to answer this: For the following list, print each element in the list an it’s
Posted by: ralfi - Sep-20-2017, 05:23 PM - Forum: General Coding Help - Replies (1)

Heres the code I put

List = ['a','b',1,2,[1,2,3,4],'hello',(4,5,6),7,True,"False",2.3]
for i in List:
    print(i, type)
[output]..... More

Print this item

  Order of answering questions
Posted by: metulburr - Sep-20-2017, 05:10 PM - Forum: Web Scraping & Web Development - Replies (11)

Was wondering if any other admin/mod does this as well?

I usually go in an order of attempting to answer questions VS going down the line of "unrea..... More

Print this item

  little exercise
Posted by: haye - Sep-20-2017, 04:31 PM - Forum: General Coding Help - Replies (6)

hi, i got a list:

my_list = [1,4,8,17,18,24]
i want the output to be :

Output:
1 3 4 9 1 6
i would like t..... More

Print this item

  Print only works once
Posted by: CWatters - Sep-20-2017, 03:19 PM - Forum: General Coding Help - Replies (6)

I'm using the following code to read a tiny csv file into a Dictionary and then print part of it twice. The first print works but the second print see..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  German Relative Clauses P... 2 hours ago asonpitt1039 asonpitt1039 General Codin...
  LhanePulse 5 hours ago Stephenchers Stephenchers General Codin...
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
Most views
  The best Prog... 580502
  Tutorial Requ... 520343
  Web Scraping ... 442812
  Newbie with P... 387034
  New Users Int... 386917
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
asonpitt1039 Today
Stephenchers Yesterday
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01

User Panel Messages

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