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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,855

Full Statistics

Online Users
There are currently 31 online users.
» 2 Member(s) | 26 Guest(s)
Bing, Google, Mojeek, buran, aminrony1999

Latest Threads
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
28 minutes ago
» Replies: 4
» Views: 113
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
3 hours ago
» Replies: 2
» Views: 102
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
3 hours ago
» Replies: 2
» Views: 95
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 138
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 337
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 59
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 94
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 326
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 181
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 291

 
  Global Variable issue
Posted by: AnOrdinaryFolk - Feb-06-2018, 07:06 PM - Forum: Homework - Replies (1)

Here i have a fairly simple code where i tried to create a function that checks if the password entered by the user is valid.
[python]def val():
..... More

Print this item

  Multiple python versions on MacOS
Posted by: boring_accountant - Feb-06-2018, 06:26 PM - Forum: Data Science - Replies (4)

Hello,

I am running both Python 2.7.10 and Python 3.5 on MacOS 10.12.6. This was previously not an issue as I mainly used the python 2.7 installati..... More

Print this item

  How to define two functions run simultaneously within a function?
Posted by: Alberto - Feb-06-2018, 05:35 PM - Forum: General Coding Help - Replies (4)

Dear Python Users,

I have the code below. The problem is that two functions are interdependent and should be run simultaneously (line - 8 and 11). Ho..... More

Print this item

  PyPI - Error when assigning roles
Posted by: marmadukeandbob - Feb-06-2018, 05:26 PM - Forum: General Coding Help - No Replies

I want to assign a role to another PyPI account for my module. When I click on the 'roles' link, a popup comes up in chrome asking for my username and..... More

Print this item

  tkinter how to use whitespace with grid
Posted by: kiyoshi7 - Feb-06-2018, 05:04 PM - Forum: GUI - Replies (9)

Hi, I'm trying to write a gui application using tkinter and matplotlib. I am having trouble with the layout. I'm leaving all the buttons in one frame ..... More

Print this item

  SQL varbinary data type retrieval in python
Posted by: ashtona - Feb-06-2018, 04:49 PM - Forum: General Coding Help - Replies (1)

I'm working on python scripts to store and retrieve some videos and images from an SQL database, I stored a jpg file on the server as a varbinary type..... More

Print this item

  Highlighting in IDLE
Posted by: Stumpy_L - Feb-06-2018, 04:32 PM - Forum: General Coding Help - Replies (9)

I'm new to Python and have just started using it but I have seen in tutorials where certain lines and key words within the code are highlighted with d..... More

Print this item

  An Error in Requests Module
Posted by: pratheep - Feb-06-2018, 04:19 PM - Forum: Web Scraping & Web Development - Replies (3)

I am getting an error in requests module while I try to run the program...

THIS IS MY INPUT
[python]import requests
from bs4 import BeautifulSoup..... More

Print this item

  Update records in table
Posted by: liee - Feb-06-2018, 03:52 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
I tried to fund a solution to this problem : I havte tables and would increment counter (reservedplaces) in my application:
Here is the code.
..... More

Print this item

  scientific numbers
Posted by: metalray - Feb-06-2018, 03:17 PM - Forum: Homework - Replies (1)

Dear Python Experts,
I got an array (called tpr) that has scientific numbers like 0.00000000e+00 9.37207123e-04 2.99906279e-03 3.28022493e-03
Is the..... More

Print this item

  ln2 value is _math.c (cpython)
Posted by: matanya_stroh - Feb-06-2018, 02:44 PM - Forum: General Coding Help - Replies (6)

Hi. I'm not so sure where to ask it, so I'm trying here.
m looking at the source code of ..... More

Print this item

  How to make interations untill a certain value of equation is reached?
Posted by: Alberto - Feb-06-2018, 02:11 PM - Forum: Data Science - Replies (3)

I need to construct a loop (simulation) that will iterate a certain number of times and display a value of warrant once the new firm value is close to..... More

Print this item

  Lottery System on my mobile website
Posted by: nooxm123 - Feb-06-2018, 10:03 AM - Forum: General Coding Help - Replies (1)

Hello Everyone, I have a problem in creating a lottery system for my mobile website (link removed). My website is about mobile specifications and pric..... More

Print this item

  for loop and if translate from R in Python
Posted by: Joey21 - Feb-06-2018, 09:53 AM - Forum: Homework - Replies (3)

Hi everyone,

i have a new work in data science.
My problem is that i always code in R and in python i have no good experience

1)
my code in..... More

Print this item

  Django-admin.exe
Posted by: HenryJ - Feb-06-2018, 07:41 AM - Forum: General Coding Help - Replies (1)

Hi guys,

I am using Win10 OS. I installed Django framework using cmd. After installation completed, I got the "Django-admin" in the folder python\Scr..... More

Print this item

  Looking for advice about "registry" implementation
Posted by: voltron - Feb-06-2018, 07:26 AM - Forum: General Coding Help - No Replies

I'm working on a plugin for one program and need to implement sort of "registry". In this registry I want to store objects, created by my plugin and a..... More

Print this item

  dictionary
Posted by: garikhgh0 - Feb-06-2018, 05:43 AM - Forum: General Coding Help - Replies (3)

Hello. I want to figure out if there are anther ways to create such kind of dictionary (user input):

d ={'Jane': [20, 1.7],
'Jack': [15, 1.8]..... More

Print this item

  differences between py2 and py3
Posted by: Skaperen - Feb-06-2018, 05:02 AM - Forum: News and Discussions - Replies (4)

this code, using new division in both Python2 and Python3, shows there are still differences.[python]from __future__ import division,print_function
e..... More

Print this item

  problem with refresh UI in tkinter app
Posted by: Philbot - Feb-06-2018, 02:55 AM - Forum: GUI - Replies (5)

Hi
I am not sure I am approaching this the best way but I require a 2 page UI one that the users can use to select buttons whos names are controlled b..... More

Print this item

  why is this try.....except statement not working?
Posted by: HenryJ - Feb-06-2018, 02:45 AM - Forum: General Coding Help - Replies (3)

Hi all,
I received an exception
[python]UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 34-34: Non-BMP character not supporte..... More

Print this item

  Need help with SQLite data input
Posted by: donmerch - Feb-06-2018, 02:26 AM - Forum: General Coding Help - Replies (4)

My code checks if an account number exists and if so just prints a statement saying so, else if not then it asks for a name and then stores the new ac..... More

Print this item

  Using python requests module and BS4 to login on an Wordpress based website
Posted by: apollo - Feb-06-2018, 12:38 AM - Forum: Web Scraping & Web Development - Replies (1)

dear community,

I'm trying to login to a Wordpress based website using python's request module and beautifulsoup4.
It seems like the code fails to ..... More

Print this item

  I just switched to Debian and already miss Corana :(
Posted by: league55 - Feb-06-2018, 12:30 AM - Forum: Bar - Replies (6)

I was never fooled by the marketing shtick of Microsoft reps calling Cortana "she," because, well, Cortana is a sexless AI and that's that. But I alre..... More

Print this item

  Network scripting
Posted by: bsoth - Feb-05-2018, 10:23 PM - Forum: General Coding Help - Replies (1)

Hi- Im trying to find a way to create a script that can go out to all of my Devices, log in and collect some output to a file that I can dump into exc..... More

Print this item

  ValueError-trying to split a line
Posted by: samu3l - Feb-05-2018, 09:48 PM - Forum: Homework - Replies (7)

Hi,

I'm trying to split a line to use some numbers somwhere else, but i dont understand what is causing this error. I'm still a newbie in python s..... More

Print this item

  geometry primitives
Posted by: Staglaitor - Feb-05-2018, 08:00 PM - Forum: Game Development - Replies (2)

hi
It is necessary for me to find module or something that let me program primitive geometry right on smtartphone
Dots, line, circle, rectangle, etc..... More

Print this item

  Writing a function that accepts two integer parameters (lines and cheers)
Posted by: taydeal20 - Feb-05-2018, 07:44 PM - Forum: Homework - Replies (1)

I have to create a function named "cheerleader" that produces the following output using parameters:

cheerleader(4, 3)
output Go Team Go Team ..... More

Print this item

  question on pandas datareader
Posted by: kit12_31 - Feb-05-2018, 07:35 PM - Forum: Data Science - Replies (3)

Hi guys,

ive started learning python for data analysis purpose.
so ive downloaded activestate (activepython 3.5.3 with a matplotlib/pandas... and ..... More

Print this item

  Problem with sending text file as an attachment using this Gmail OAuth script
Posted by: downloaderfan - Feb-05-2018, 05:51 PM - Forum: General Coding Help - Replies (6)

I'm using a script that sends an email via Gmail using OAuth, which I got from ..... More

Print this item

  Playing Card Sorting
Posted by: ness828 - Feb-05-2018, 05:48 PM - Forum: Homework - Replies (4)

Hello, I'm working on making a standard playing card sorter for one of my classes. I need help writing the code. I don't fully understand Python code ..... More

Print this item

  Paramiko output printing issue
Posted by: anna - Feb-05-2018, 05:39 PM - Forum: General Coding Help - Replies (3)

Here is my first ssh script, facing stdout printing issue
[python]import socket
socket.setdefaulttimeout(5)
import paramiko
import sys
import thr..... More

Print this item

  Crash Course Chapter 7
Posted by: Demini - Feb-05-2018, 05:05 PM - Forum: General Coding Help - Replies (3)

I attempting to complete python crash course. A concern is the understanding of the work. For instance in chapter 7,
parrot.py >>>message = i..... More

Print this item

  mysql connector/telnet issue (re: text game)
Posted by: rebubula76 - Feb-05-2018, 04:25 PM - Forum: Networking - Replies (1)

"Hi y'all, had a question about mysql connector and a text game I'm creating. I'm trying to make it so that a user will type something in (defined as..... More

Print this item

  How to extract specific information from json database?
Posted by: Alberto - Feb-05-2018, 03:57 PM - Forum: Data Science - Replies (13)

Dear Python Users,

I have a json database "data_df" [8194 rows x 6 columns]. The sample of the data is uploaded below.

[python]
nutrients \
..... More

Print this item

  Problem in a path finding algorithm (counter is not working)
Posted by: Kowalski - Feb-05-2018, 11:44 AM - Forum: General Coding Help - Replies (3)

Ok, so here´s the drill: I´m doing a problem that receives a matrix of size NxN (the problem called it a "mine", hence the variable name used) contain..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] Access keys and ... 28 minutes ago Winfried Winfried General Codin...
  Graph Interpolate Difficu... 3 hours ago Tuurbo46 Tuurbo46 General Codin...
  PermissionError: [Errno 1... 3 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579055
  Tutorial Requ... 511077
  Web Scraping ... 442051
  Newbie with P... 386101
  New Users Int... 378277
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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