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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,831

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 26 Guest(s)
Google, Mojeek, Bing, Facebook, Google Image, AOL, Apple

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
4 hours ago
» Replies: 6
» Views: 170
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
5 hours ago
» Replies: 0
» Views: 37
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 6
» Views: 100
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 346
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 106
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 235
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 371
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 141
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,641
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 243

 
  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

  Getting hacked off with spam
Posted by: Bass - Sep-20-2017, 02:33 PM - Forum: Board - Replies (9)

Hi,

I appreciate that the world is not perfect, but over the last few weeks, the level of spam appears to have risen.

Could the forum consider h..... More

Print this item

  creating new layer with scapy
Posted by: omerccohen - Sep-20-2017, 02:11 PM - Forum: General Coding Help - No Replies

hi i tried to create a new layer in scapy but when i send the packet to another computer and ask to print it ,y new layer got lost the class of the ne..... More

Print this item

  loops in python
Posted by: nuncio - Sep-20-2017, 12:00 PM - Forum: Data Science - Replies (2)

This seems to be rather simple, but I am not getting there.  I am trying to execute the math for Fourier transform.  Here is the code I wrote

[pyth..... More

Print this item

  Trouble in running tool
Posted by: rjahmed - Sep-20-2017, 10:33 AM - Forum: Web Scraping & Web Development - Replies (24)

hello friends i am new here , i need your help . i am having trouble while running this tool .
this tool required pip and beautifulsoup and i have i..... More

Print this item

  Finger Vein Authentication Package in Python
Posted by: SudiptaGhosh - Sep-20-2017, 08:46 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am trying to use Finger Vein Authentication in one of my project, for that I am planning to refer the below python package:
[b]"xbob.fin..... More

Print this item

  Sort without using sort
Posted by: qhnguyen - Sep-20-2017, 06:27 AM - Forum: Homework - Replies (4)

Text file:
425 300 1
50 10 15
6 9 3
2 12 6
70 69 71
1 2 3

My code:
#Project#1-Quyen Nguyen
file="Project1.txt"
infile=open(file)

count=..... More

Print this item

  Stereonet
Posted by: roudan - Sep-20-2017, 04:01 AM - Forum: General Coding Help - No Replies

Hi

Anyone here use stereonet? I know there is one python code . But I'd like plot pole projection on the lower hemisphere and different stresss val..... More

Print this item

  program to code: log results of a command
Posted by: Skaperen - Sep-20-2017, 03:37 AM - Forum: News and Discussions - No Replies

i have done this in bash with a lot of trickery.  i have been thinking about re-doing this in Python.

what i would like to see written in Python is..... More

Print this item

  Finding the .py file
Posted by: ichabod801 - Sep-20-2017, 02:04 AM - Forum: General Coding Help - Replies (9)

I'm doubly confused. I'm trying to find the location of the .py file being run. I found this code on Stack Overflow:

[python]
import os

loc = os.pat..... More

Print this item

  Machine Learning for Applications in Architecture
Posted by: JinLee - Sep-20-2017, 12:54 AM - Forum: Homework - No Replies

Hello all,

I am currently pursuing a thesis in architecture - I am a total beginner to programming and was wondering if I could get some direction.
..... More

Print this item

  Help with an exercise
Posted by: Cerobug - Sep-19-2017, 10:05 PM - Forum: Homework - Replies (8)

I am doing some code for a project at school and I cant for the life of me get it to do what I want it to. I want the sales number for any sales under..... More

Print this item

  Feasible career change
Posted by: mccarthyemmet - Sep-19-2017, 09:57 PM - Forum: News and Discussions - Replies (2)

Hi all.I'm a 43yr old gastro guy whos thinking of a career change.I have background in web/PHP, but its been a while. I've bought a Python book, and s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p jefsummers Homework
  Please guide me to comple... 5 hours ago pbkurd pbkurd General Codin...
  [solved] re.split issue 6 hours ago paul18fr deanhystad General Codin...
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578934
  Tutorial Requ... 510231
  Web Scraping ... 441958
  Newbie with P... 385970
  New Users Int... 376842
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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