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,968
» Latest member: seomelbourneaustralia
» Forum threads: 38,730
» Forum posts: 175,550

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 42 Guest(s)
Bing, Google

Latest Threads
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
2 hours ago
» Replies: 7
» Views: 2,769
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
3 hours ago
» Replies: 5
» Views: 287
looking for help
Forum: Bar
Last Post: PhamMaria
4 hours ago
» Replies: 1
» Views: 1,890
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 631
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,160
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,730
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 622
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,112
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,097
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,377

 
  How to return values from For Loop via return in a function
Posted by: AykutRobotics - Jan-01-2019, 06:16 PM - Forum: Data Science - Replies (14)

I wrote a function with a for loop for my tensorflow object_detection which shows me the detected images' name inside of my test_images when I press b..... More

Print this item

  Credit card number redacting script
Posted by: Drone4four - Jan-01-2019, 06:10 PM - Forum: General Coding Help - Replies (6)

Happy New Year Pythonistas!

I’m writing a Python shell script for fun. The purpose of the script is to ask the user for a fake credit card number (..... More

Print this item

  Animation
Posted by: dan789 - Jan-01-2019, 04:15 PM - Forum: General Coding Help - Replies (7)

Hello, I have 4 pictures I want to create an animation from, but not sure how to do it. I´m already using the only library tkinter, so it shouldn´t u..... More

Print this item

  Trying to connect to a server running on another machine
Posted by: PythonForever - Jan-01-2019, 04:05 PM - Forum: Networking - Replies (1)

I am trying to connect from another machine(a virtual machine on my MAIN MACHINE) to my server that is running on my main machine but it never ..... More

Print this item

  module to do DNS queries
Posted by: Skaperen - Jan-01-2019, 03:36 AM - Forum: News and Discussions - Replies (2)

i am looking for a module to do DNS queries. there seem to be many of them; more for Python2. where can i get a thorough description of each?

i n..... More

Print this item

  Beautiful soup won't find value even with CSS path copied.
Posted by: AdequatelyChilled - Jan-01-2019, 02:41 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi everyone,

I'm very new to Python, my first project is writing a program to report a figure from a matched betting site, using ATBS as a guide so f..... More

Print this item

  Advice on socrata SODA Consumer API
Posted by: Larz60+ - Jan-01-2019, 01:37 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm thinking about spending some time to learn socrata SODA Consumer API: https://dev.socrata.com/
, for getting open data. Before I spend lots of ho..... More

Print this item

  Use Variables Generated from Functions in different files to use on the main file
Posted by: AykutRobotics - Jan-01-2019, 01:04 AM - Forum: General Coding Help - Replies (3)

I have a question. I am new in python and this is my 1st time to use python forum. I made lots of research in internet but I couldn't find what I am l..... More

Print this item

  Looking for Playtesters
Posted by: ichabod801 - Jan-01-2019, 12:23 AM - Forum: Game Development - Replies (11)

I've been working on a suite of command-line interface (text) games called t_games. It's got 32 games at the moment, but it's designed to be modular s..... More

Print this item

  Help with try and open 6.txt file and print as perfect or not
Posted by: Pleiades - Dec-31-2018, 09:48 PM - Forum: General Coding Help - Replies (13)

[b][color=#C0392B][size=medium]This is the output I get in quotes with the below python code, however 6 is in the 6.txt file. How can I determine by p..... More

Print this item

  json.load() in Python 3
Posted by: jazmad - Dec-31-2018, 09:36 PM - Forum: General Coding Help - Replies (1)

Hi

I'm trying to adapt some code I've found online for use in my own function. I can get the code to run in Python 2 but would really like to get i..... More

Print this item

  python book bundle humble bundle/packt
Posted by: metulburr - Dec-31-2018, 09:30 PM - Forum: News and Discussions - No Replies

https://www.humblebundle.com/books/pytho...ut_index_1..... More

Print this item

  unindent does not match any outer indentation level , How can i fix it
Posted by: the_fire_pharaoh - Dec-31-2018, 07:27 PM - Forum: General Coding Help - Replies (2)

[python]player=False
while player==False :
cours=input('Que veut-tu travailler ? ')
if cours== 'valeur' :
print('Les valeurs son..... More

Print this item

  Incorrect code output (File not being created)
Posted by: Hass - Dec-31-2018, 07:23 PM - Forum: General Coding Help - Replies (4)

Hello,
As a newbie I wrote the following code.
[python]
temperatures = [10, -20, -289, 100]

def temp_convert(temperatures):
with open("temp..... More

Print this item

  temporary file names
Posted by: Skaperen - Dec-31-2018, 07:09 PM - Forum: General Coding Help - Replies (6)

Python does have functions to create temporary files that can be used for temporary storage. but what i am looking for it a function to create a file..... More

Print this item

  Difficult web page -- Selenium
Posted by: Larz60+ - Dec-31-2018, 05:18 PM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to scrape a web page that's giving me a bit of trouble.
There is no issue loading first and second pages, but then the
second page has a..... More

Print this item

  Count of unique items based on condition
Posted by: JP_ROMANO - Dec-31-2018, 04:32 PM - Forum: General Coding Help - Replies (3)

Hello all, trying to convert a VBA/Excel process to use python and am stuck, I think, on the syntax. Any help is appreciated!

I have a .csv file t..... More

Print this item

  Calculate and print the total cost
Posted by: isha_dx - Dec-31-2018, 04:03 PM - Forum: General Coding Help - Replies (7)

Please help, i'm stuck.


Write Python code to allow a user to enter the number of bus tickets required. The user is then asked to enter the price ..... More

Print this item

  user spamming just to get 5 posts to make attachments
Posted by: metulburr - Dec-31-2018, 03:30 PM - Forum: Web Scraping & Web Development - Replies (4)

this user
https://python-forum.io/User-franswa1

has made gibberish posts in attempts to try to get 5 posts to be able to use attachments. I also t..... More

Print this item

  How can I get values inside of function?
Posted by: Mysth - Dec-31-2018, 01:41 PM - Forum: General Coding Help - Replies (4)

I wrote these codes but there is a problem.

userid=(" ")
userpw=(" ")

def register():
a=input("Username: ")
b=input("Password: ")
..... More

Print this item

  change value of a global variable across all modules
Posted by: aster - Dec-31-2018, 12:21 PM - Forum: General Coding Help - Replies (5)

hello

I wrote a minimum working example showing what I am unable to achieve:

I have a variable in one.py called [icode]foo[/icode..... More

Print this item

  String being broken up into single characters
Posted by: ammorgan - Dec-31-2018, 04:56 AM - Forum: General Coding Help - Replies (1)

My program is here

When I run the program, I enter in a few colors, usually blue, green, yello..... More

Print this item

  Python Selenium getting table element
Posted by: trengan - Dec-31-2018, 12:26 AM - Forum: Web Scraping & Web Development - Replies (2)

I have a html table and I want to use Selenium/Python to grab a certain table data element that has the role of a gridcell (I am new to this). Below i..... More

Print this item

  Recursive Search and Find
Posted by: wfsteadman - Dec-30-2018, 09:43 PM - Forum: General Coding Help - Replies (2)

Folks,
I am not even sure how to ask the question so I don't really have code to post for what I have tried. I am trying to do some comparisons on..... More

Print this item

  Buttons not appearing, first time button making
Posted by: admiral_hawk - Dec-30-2018, 09:17 PM - Forum: GUI - Replies (5)

Hi, I have been watching python tutorials and finally got to GUI and have been trying to figure out buttons, I typed in the code as instructed however..... More

Print this item

  Load JSON Data Over Several Templates
Posted by: martin28 - Dec-30-2018, 07:36 PM - Forum: Homework - Replies (4)

Summary and Background of What I'm Doing:

I'm creating a Flask quiz app which presents a user with three different options are allows them t..... More

Print this item

  How Do I Increment My View Counter in Flask?
Posted by: martin28 - Dec-30-2018, 06:09 PM - Forum: Homework - Replies (1)

Summary and Background of What I'm Doing:

I'm creating an app which allows you to add and store recipes and I would like to be able to organ..... More

Print this item

  Database operation exception handling
Posted by: LostInCode - Dec-30-2018, 05:41 PM - Forum: General Coding Help - Replies (1)

Hi,
Do commit and rollback operations on a database need their own separate and specific try-exception blocks over and above any try-block used for a..... More

Print this item

  how to post images
Posted by: franswa1 - Dec-30-2018, 04:57 PM - Forum: Board - Replies (3)

İmage


how can i post an image on this thread.

Print this item

  Python GUI layout off between different OS
Posted by: shift838 - Dec-30-2018, 04:52 PM - Forum: GUI - Replies (5)

I am working on a program to call a GUI I designed in PyQt5 Designer.

The gui looks exactly as I designed it in Windows 10, but on Linux or Mac the..... More


Attached Files

Thumbnail(s)
           
Print this item

  Data manipulation code running but not functioning correctly
Posted by: homotextual - Dec-30-2018, 02:34 PM - Forum: General Coding Help - Replies (1)

Hello! I'm quite new to Python, but I'm learning to use it to manipulate some survey data for my PhD project. The data has been exported as one big .c..... More

Print this item

  Importing classes?
Posted by: frequency - Dec-30-2018, 02:21 PM - Forum: General Coding Help - Replies (11)

I have created 2 python programs. One is a GUI and the other is the fuctions that should be done when a button is pressed in the gui. I got it working..... More

Print this item

  Flask generating a file for download
Posted by: darktitan - Dec-30-2018, 02:02 PM - Forum: Web Scraping & Web Development - No Replies

Hi
Im new att flask. Im trying to port an desktop app i made to the web so im using flask to do it.
Well what im trying to do is to generate a file..... More

Print this item

  Simple pandas dataframe question
Posted by: popohoma - Dec-30-2018, 01:44 PM - Forum: Data Science - Replies (1)

Hi all,

I am new to pandas and have a real simple question for all of you but it will make my day to day presentation more intuitive.

I am try..... More

Print this item

  How to get specific output on interface?
Posted by: searching1 - Dec-30-2018, 12:34 PM - Forum: Networking - Replies (3)

Hi, I'm currently working on a project and I want to get specific output for the show interface on cisco device?

Ex.
lab-sw01#sh int f0/0 | i rate..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#)... 2 hours ago SpongeB0B tester_V General Codin...
  Comparing 2 100GB Drives/... 3 hours ago tester_V tester_V General Codin...
  looking for help 4 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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... 577274
  Tutorial Requ... 500346
  Web Scraping ... 440954
  Newbie with P... 384977
  New Users Int... 369316
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
seomelbourneaustralia Today
Jacobjoift Today
PhamMaria Today
zalexstolzeoz5360 Today
Edzed4431 Yesterday

User Panel Messages

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