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,983
» Latest member: bimosora
» Forum threads: 38,734
» Forum posts: 175,571

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, Mojeek, Facebook

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: bimosora
32 minutes ago
» Replies: 0
» Views: 8
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 5
» Views: 152
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,033
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 445
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,079
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,142
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 815
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,099
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,544
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,133

 
  [split] Verify users plugin
Posted by: itsmeJAY - Jun-18-2019, 06:39 AM - Forum: Board - Replies (3)

New Plugin. Just for information. Maybe you like it.

https://community.mybb.com/mods.php?acti...w&pid=1270

Print this item

  Nested Subdirectory within current sub on shared network drive
Posted by: Agregware - Jun-18-2019, 02:46 AM - Forum: General Coding Help - Replies (1)

Would anyone happen to know how to create a sub directory within a current sub directory on a network drive? My folder is creating in the initial dire..... More

Print this item

  Creating class with getters and setters.
Posted by: amandacstr - Jun-18-2019, 02:36 AM - Forum: Homework - Replies (3)

HI!
I'm trying to create a class with getters and setters in python mode because there are too many attributes to pass as argument in __init__ method..... More

Print this item

  Converting str to binary
Posted by: ebolisa - Jun-17-2019, 10:15 PM - Forum: General Coding Help - Replies (1)

Hi,

How can I iterate trough a phrase and convert each word to binary and then sum them? Is there a library/module for the alphabet/characteres?
..... More

Print this item

  Printing lists
Posted by: acooper7 - Jun-17-2019, 09:17 PM - Forum: General Coding Help - Replies (1)

Hello,

I am somewhat new to Python, although I know the basics.

I am trying to print out a list, but when it prints it will only print the first..... More

Print this item

  Pyramids reduction
Posted by: Technoob - Jun-17-2019, 08:38 PM - Forum: Homework - Replies (3)

The problem is that I'm supposed to make a pyramid which reduces in size till reaching zero.

[python]base_size=input("base_size:" )
base_size=int(bas..... More

Print this item

  "Limit all lines to a maximum of 79 characters"
Posted by: Skaperen - Jun-17-2019, 06:49 PM - Forum: News and Discussions - Replies (16)

"Limit all lines to a maximum of 79 characters" --PEP8

more text even urges limiting the width to 72 characters.

this is one thing i definitely ..... More

Print this item

  gaussian quadrature
Posted by: mohammadrezamofidi - Jun-17-2019, 06:28 PM - Forum: General Coding Help - Replies (4)

Hello every body

I tried writing gauss-legendre quadrature formula (Attached) in python , but i am still unsuccessful. Would you please help me?
..... More

Print this item

  Problem with basics
Posted by: Wraith2102 - Jun-17-2019, 05:56 PM - Forum: General Coding Help - Replies (2)

[python]x=int(input('Enter x= ')
if x%2 == 0:
if x%3 == 0:
print('Divisible by 2 & 3')
elif
print('Divisible by 2 but not..... More

Print this item

  Python IDLE intellisense not working on MacPro ?
Posted by: Devarishi - Jun-17-2019, 04:56 PM - Forum: News and Discussions - Replies (7)

I am using Python IDLE 3.7 for Windows 7. When I launch the IDLE and use the dot sign (.) after a module or class its associated methods or functions ..... More

Print this item

  Module googletrans 2.4.0 Question
Posted by: hlhp - Jun-17-2019, 03:50 PM - Forum: General Coding Help - No Replies

How to use googletrans for translation.
According to googletrans 2.4.0
I got error even with the of..... More

Print this item

  Aligning data
Posted by: gat - Jun-17-2019, 03:37 PM - Forum: Data Science - Replies (8)

Hello. I'm so sorry in advance. I am super new to this. If this question isn't allowed, please discard. I have something as follows:
sample001a.com, ..... More

Print this item

  Aligning excel data
Posted by: gat - Jun-17-2019, 03:10 PM - Forum: Data Science - Replies (1)

Hello. I'm so sorry in advance. I am super new to this. If this question isn't allowed, please discard. I have something as follows:
sample001a.com, ..... More

Print this item

  Pyodbc error
Posted by: taxit - Jun-17-2019, 01:10 PM - Forum: General Coding Help - Replies (1)

Hello!!

I'm try to connect to a accdb Access database:

[python]
import pyodbc

conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb..... More

Print this item

  small newbie task to python
Posted by: intoxicated_dk - Jun-17-2019, 01:00 PM - Forum: Homework - Replies (2)

Hi,

I am just getting through startups, and got a minor task, just a simple else,if, vba look a like.
Task is
You have 5 states which have 5 thin..... More

Print this item

  Forcing input from pre-defined list.
Posted by: scotty501 - Jun-17-2019, 12:46 PM - Forum: General Coding Help - Replies (11)

Hello All,

I am stumbling into the world of programming, and have started by watching videos, and reading beginner instructions on Python. I have ..... More

Print this item

  Script running on a server
Posted by: M4573R - Jun-17-2019, 11:29 AM - Forum: General Coding Help - Replies (2)

I'm new to Python and I created a script running on Chrome webdriver.
How can I create the same script that I can keep it running on a cloud server 2..... More

Print this item

  How to iterate over some characters in a string and the others will stay as it is. ?
Posted by: sodmzs - Jun-17-2019, 07:29 AM - Forum: General Coding Help - Replies (9)

[python]
one = ["one","o","n","e"]
two = ["two","t","w","o"]
t = "one and two"
dict = dict(one = one, two = two)
words = ["one","and","two"]

f..... More

Print this item

  strip off just newlines
Posted by: Skaperen - Jun-17-2019, 06:06 AM - Forum: General Coding Help - Replies (11)

so i have a string that might have multiple newlines at the end, or maybe a carriage-return line-feed pair. but i want the string with all of them re..... More

Print this item

  How to merge a VCF files without loss of Contacts?
Posted by: jackson - Jun-17-2019, 05:54 AM - Forum: News and Discussions - Replies (1)

I want to merge VCF file for without losing data.

Print this item

  How to vstack matrixs in numpy with different numbers of columns
Posted by: hlhp - Jun-17-2019, 04:43 AM - Forum: General Coding Help - Replies (2)

I want to stack matrixs together with different numbers of columns

The way I can think of is:
1.Find out how many columns in a
2.Add empty column..... More

Print this item

  how to input a random entry with each button press?
Posted by: nadavrock - Jun-17-2019, 12:51 AM - Forum: GUI - Replies (1)

i have a tkinter gui wiht buttons. i have a button that enters random values inside a certain entry. i have a randint that a assigns that random value..... More

Print this item

  MCQ logic
Posted by: kferhat - Jun-16-2019, 08:33 PM - Forum: General Coding Help - No Replies

Hi all,

I am writing a code that read MCQ from a file like this :

N1. question 1
A. answer A
B. answer B
C. answer C
D. answer D

So I cre..... More

Print this item

  Method not regocnized
Posted by: Lass86 - Jun-16-2019, 07:01 PM - Forum: General Coding Help - Replies (3)

Hello Everyone,

I started learning Python not too long ago, but unfortunatley I ran into some trouble with using a String Method.

This is my cod..... More

Print this item

  command button automaticaly fired
Posted by: kferhat - Jun-16-2019, 05:45 PM - Forum: GUI - Replies (2)

Hi all,

I create a form and a button with no command.

I create a class that inherit the constructor and add

[python]self.launch_btn.configur..... More

Print this item

  A function that checks if the list is sorted
Posted by: pooyan89 - Jun-16-2019, 05:14 PM - Forum: Homework - Replies (16)

The task is :
[b]

Write a function called is_sorted that takes a list as a parameter and returns True if the list is sorted in ascending order and..... More

Print this item

  Random access binary files with mmap - drastically slows with big files
Posted by: danart - Jun-16-2019, 02:30 PM - Forum: General Coding Help - Replies (1)

I've posted a similar question to stackoverflow but unfortunately didn't get any answers there. Maybe this is a more python-specific issue and I'll ge..... More

Print this item

  Distance between 2 user defined geo-grids in km
Posted by: chandrakant98c - Jun-16-2019, 11:26 AM - Forum: Data Science - No Replies

[b]I am trying to solve a problem, but I am new to really complicated coding. Below is the problem summary and code I tried. I will be very thankful i..... More

Print this item

  Text window not properly sized
Posted by: smabubakkar - Jun-16-2019, 08:34 AM - Forum: GUI - Replies (1)

Hi I have created a python tool based on Tkinter GUI to compare two text files, i am facing a strange issue, which you might have already came across...... More

Print this item

  Arrange list of tuple using loop
Posted by: batchenr - Jun-16-2019, 08:05 AM - Forum: General Coding Help - Replies (7)

Hey,
i have this list of tuples, i need to arrange the output in json by order.
in nvm i have 3 list of tuple

[python]>>> nvm = [(10, ['cp5'], [..... More

Print this item

  Capturing inputs values from internal python script
Posted by: limors11 - Jun-16-2019, 05:35 AM - Forum: General Coding Help - Replies (11)

Hi there Rolleyes ,

I am using python 3.6 version. I have main python script which calls other python scripts, those internal scripts prompts f..... More

Print this item

  same context functions
Posted by: Skaperen - Jun-16-2019, 01:32 AM - Forum: News and Discussions - Replies (12)

is there a way to define or call a function such that it runs (or is defined to be in) the same context as the caller (e.g. uses the exact same local ..... More

Print this item

  custom 404 page
Posted by: metulburr - Jun-16-2019, 01:31 AM - Forum: Board - Replies (19)

I was thinking of something along the lines of this as a custom 404 page

   

Print this item

  at the end of a long loop
Posted by: Skaperen - Jun-16-2019, 12:05 AM - Forum: News and Discussions - Replies (3)

sometimes my loops are very long, even in Python. one frequent reason for this is a big case statement or the equivalent bunch of if or elif statemen..... More

Print this item

  [Maya] MASH Curve node in Python
Posted by: Tomatoprincess - Jun-15-2019, 10:19 PM - Forum: Homework - Replies (1)

Hi,

I am working on a book row generator. For that I want to let the customer place a curve and the books should be placed on that curve. Because I..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 32 minutes ago bimosora bimosora General Codin...
  Parse Markdown / get the ... 9 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577451
  Tutorial Requ... 501119
  Web Scraping ... 441079
  Newbie with P... 385154
  New Users Int... 369767
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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