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,310
» Latest member: QABOB
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 11
» Views: 288
Python compiler
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 1
» Views: 64
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 88
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 41
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,117
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 202
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 729
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,837
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 203
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 165

 
  [split] need help in optionMenu using tkinter
Posted by: Rakeshkrtiwari_07 - Aug-02-2018, 04:16 PM - Forum: GUI - No Replies

How I can use optionmenu and when some spexified list selection is made another function (other then the current) is called .

Print this item

  [PySimpleGUI] New GUI Package. Customize with ease
Posted by: PySimpleGUI - Aug-02-2018, 04:10 PM - Forum: GUI - Replies (38)

There's a new GUI on the scene!

You'll find PySimpleGUI on PyPI:
pip install --upgrade PySimpleGUI

The GitHub is
https://github.com/MikeTheWatchGuy..... More

Print this item

  json.dumps save some unicode chars as code, not char
Posted by: buran - Aug-02-2018, 03:56 PM - Forum: General Coding Help - Replies (1)

I use

with open('docs_new.json', 'w') as f:
    f.write(json.dumps(my_json, indent=2))
to write a json object to a file. Some chars ..... More

Print this item

  Completing Action when CheckBox is Checked
Posted by: Anysja - Aug-02-2018, 03:48 PM - Forum: GUI - Replies (2)

text1 = Checkbutton (root, text = "Text")
text1.place(x = 100, y = 290)

if text1.isChecked():
print("Hi")

This is the code I am trying..... More

Print this item

  Is the better way to save data on mysql?
Posted by: pymatt - Aug-02-2018, 01:26 PM - Forum: Code sharing - No Replies

Im trying to save the data scraped to mysql but i have this issues

no more support for MySQLdb, i have to use

[python]import pymysql
pymysql.install..... More

Print this item

  Let me understand
Posted by: jyotirmoy144 - Aug-02-2018, 11:07 AM - Forum: General Coding Help - Replies (4)

[python]

response = 'Y' or 'N'

answer = "Left"
if answer == "Left":
print "This is the Verbal Abuse Room, you heap of parrot droppings!"

..... More

Print this item

  png porblem in python3
Posted by: eufe - Aug-02-2018, 10:40 AM - Forum: GUI - Replies (6)

Hello:
Sorry for my bad english.
I am a beginner of python.
I have made an application in python3 in windows 10 with tkinter and it works perfectly..... More

Print this item

  Implementing tk.after
Posted by: zukochew - Aug-02-2018, 09:33 AM - Forum: GUI - Replies (5)

Hello all,
I have difficulty implement tk.after command into my code.
I heard tk.after does not freeze the program, so I intend to use it.

Here is..... More

Print this item

  Flask, When the associated foreign key is the same, it is a question of setting a uni
Posted by: passion044 - Aug-02-2018, 08:29 AM - Forum: Web Scraping & Web Development - No Replies

The flask, sqlalchemy is a question.

When business_idx is the same as foreign key,

In the same case, I would like to make the duplicate name uni..... More

Print this item

  min(list) ..?
Posted by: zuzulic - Aug-02-2018, 08:23 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I have a little question. Hopefully that somebody can help me :) :
If I have this list:
L=['13', '2', '3', '3', '5', '7']
min(L) return..... More

Print this item

  How to plot data to the same figure for every run?
Posted by: chry5ler - Aug-02-2018, 08:20 AM - Forum: Data Science - Replies (3)

How to plot data to the same figure for every run?

Hi

I wonder how it is possible to plot data to the same figure in python for every run..... More

Print this item

  Please let me understand
Posted by: jyotirmoy144 - Aug-02-2018, 07:00 AM - Forum: General Coding Help - Replies (3)

[python]def clinic():
print "You've just entered the clinic!"
print "Do you take the door on the left or the right?"
answer = raw_input..... More

Print this item

  Varclut in python
Posted by: Scott - Aug-02-2018, 05:47 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

We use SAS at work and there is a function in SAS that is called varclus. It uses PCA and treats the variables as dimensions and puts ..... More

Print this item

  Functions to make an image zoom in until a response is made
Posted by: sawilliams - Aug-02-2018, 05:17 AM - Forum: General Coding Help - Replies (1)

Hello,

I am inexperienced with python and coding in general. I am currently completing my PhD in cognitive neuroscience, and would like to program ..... More

Print this item

  Problem with interactive python prompt
Posted by: Groot_04 - Aug-02-2018, 04:34 AM - Forum: General Coding Help - Replies (4)

Hi, I am new to Python and just learning. After defining a function and adding a """multi-line comment""", there is no >>> showing the beginning of n..... More

Print this item

  how to terminate all the processes in C
Posted by: py2exe - Aug-02-2018, 04:31 AM - Forum: General Coding Help - No Replies

win 7 I have used C to write a project, and compile it to dll to be used in a big program writing with python.After finished using the DLL, although I..... More

Print this item

  Why Bing suddenly dropped index of website?
Posted by: thaopham - Aug-02-2018, 04:29 AM - Forum: Bar - Replies (1)

Why Bing suddenly dropped index of website? My website indexed in Bing, after some days it dropped index of my website, i dont why? please suggest som..... More

Print this item

  How does this code work?
Posted by: DarthDobber - Aug-02-2018, 12:33 AM - Forum: General Coding Help - Replies (1)

So I would consider myself just above a newbie. I know enough to get myself into trouble.

Anyways, I was looking into messing around with threading ..... More

Print this item

  Trying to subtract datetime, getting error: TypeError: unsupported operand type(s) fo
Posted by: kneesarethebees - Aug-01-2018, 10:28 PM - Forum: General Coding Help - Replies (1)

Hi there

From my understanding, you can use the

import datetime
module to subtract two different datetimes. But when I try to exec..... More

Print this item

  How does pathlib.Path.rename work?
Posted by: wavic - Aug-01-2018, 09:45 PM - Forum: General Coding Help - Replies (7)

I want to write a small script for a friend who has a bunch of images restored after deletion ( 50 gigs ) and I'm trying to use the pathlib module for..... More

Print this item

  Python to update XML SubElement
Posted by: emersonivo - Aug-01-2018, 08:48 PM - Forum: General Coding Help - Replies (3)

Hi all,

I am looking for this help everywhere in the past days without success and I hope someone here can share some knowledge.
In the XML data b..... More

Print this item

  unexpected character after line continuation character error
Posted by: newbie - Aug-01-2018, 08:13 PM - Forum: Homework - Replies (10)

hi
im learning python for about 5 minutes now and trying to run python from a windows terminal(giving the directory to the termminal so the terminal f..... More

Print this item

  Text File Reference and Compile
Posted by: rsbrock20 - Aug-01-2018, 03:54 PM - Forum: General Coding Help - Replies (2)

Hello, I am new to python and was wondering how I would reference a text file (on the left) and compile it into the specific arrangement that you see ..... More

Print this item

  Installing pygal under Ubuntu 18.04
Posted by: ybeco - Aug-01-2018, 02:20 PM - Forum: General Coding Help - Replies (25)

Hi

I discovered the pygal library thanks to your site:
https://python-forum.io/pages/interprete[url=https://python-forum.io/thread-11937.html]..... More

Print this item

  Compare Two Values in the Same Dict
Posted by: malonn - Aug-01-2018, 02:07 PM - Forum: General Coding Help - Replies (6)

Code:
[python]reg_key = 'SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\NetworkList\\Profiles'
if ctypes.windll.shell32.IsUserAnAdmin():
with..... More

Print this item

  Select in Multi Index Pandas
Posted by: diego_last - Aug-01-2018, 12:56 PM - Forum: Data Science - No Replies

Hi, I have a table qith this structure:

IdP IdC idE
1 1 1
1 1 4
1 1 4
1 1 5
2 3 2
2 3 1
2 3 2
2 3 2..... More

Print this item

  request.form[ Dynamic Value]. How to?
Posted by: KirkmanJ - Aug-01-2018, 12:14 PM - Forum: Web Scraping & Web Development - No Replies

Just a quick one.

If i had a dynamically created table which i plan to use to input more information to a FLASK SQLALCHEMY database.

And the selec..... More

Print this item

  Creating An Alert Tone through a python gui on chromium.
Posted by: Fluffyyyzzz - Aug-01-2018, 11:37 AM - Forum: GUI - Replies (1)

Good day,

I am busy working for a company that uses Raspberry Pi's with Raspbian. We are using Chromium and a Python Gui to view a dashboard. The ..... More

Print this item

  multiple instances
Posted by: kerzol81 - Aug-01-2018, 08:29 AM - Forum: General Coding Help - Replies (2)

Hello,

Could you please help me out a bit. Basically I'm doing a command line monitoring tool for my Axis cameras. I put a while loop in the init m..... More

Print this item

  Key Error in Python
Posted by: Nirmal - Aug-01-2018, 07:12 AM - Forum: General Coding Help - Replies (12)

The below script i have to compare Test-red vs Test-blue and find the difference. .Test-red and Test-blue are kept in "output.txt" . output.txt conten..... More

Print this item

  Using pandas, index error
Posted by: fyec - Aug-01-2018, 07:04 AM - Forum: Data Science - Replies (1)

I am trying to round numbers, if their decimal numbers end with (125, 375, 625, 875), I replace them with (25, 25, 75, 75). My code is:

[python]imp..... More

Print this item

  Oracle Error in Python
Posted by: amitjain78 - Aug-01-2018, 06:48 AM - Forum: General Coding Help - Replies (1)

Hi,
I am writing an oracle query in python(pycharm editor) and in that I am joining 2 tables with a single table.One via inner join and other using ..... More

Print this item

  csv file saving problem
Posted by: 7vinBB - Aug-01-2018, 05:55 AM - Forum: General Coding Help - Replies (1)

[python]import csv


def save_users_csv(new):
locals()
users_file = open(r'C:\Users\patri\PycharmProjects\air_traffic_control_system\user..... More

Print this item

  [python]Problem in creating menu[/python]
Posted by: yamoon - Aug-01-2018, 05:44 AM - Forum: GUI - Replies (10)

[python] I've saved the menu details in a dictionary, then I was trying to call it to create menu by using loop but its not working, can any body here..... More

Print this item

  How to detect semantic errors with numbers more complex than integers?
Posted by: RedSkeleton007 - Aug-01-2018, 03:36 AM - Forum: General Coding Help - Replies (1)

I've wrote a program that calculates a the average MPH speed of a race whose distance is measured in kilometers by default. My program runs, but I can..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou noisefloor General Codin...
  Python compiler 1 hour ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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...
Most views
  The best Prog... 579505
  Tutorial Requ... 512908
  Web Scraping ... 442372
  Newbie with P... 386398
  New Users Int... 381749
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday
ifdainstitute7 Yesterday

User Panel Messages

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