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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,558

Full Statistics

Online Users
There are currently 63 online users.
» 1 Member(s) | 53 Guest(s)
Bing, Google, Facebook Dev, AOL, Apple, Gribouillis

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
6 hours ago
» Replies: 2
» Views: 753
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 786
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
Yesterday, 04:45 PM
» Replies: 0
» Views: 99
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 499
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,878
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,278
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,845
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,266
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,201
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,513

 
  Type function does not work
Posted by: sunnyarora - Mar-15-2019, 10:18 AM - Forum: General Coding Help - Replies (2)

l=["Red", "Blue","Green","Orange","Violet"]

for c in l:
    print(c)

type(l)
In this code type function does not showing th..... More

Print this item

  Noob question about import files
Posted by: dxfrelince - Mar-15-2019, 10:15 AM - Forum: Homework - Replies (1)

Hi,

I've got a file consisting of dates, GD17, electric and heat. The teacher wants me to make a list and also that the date
has a string and eve..... More

Print this item

  Absolute newbie asking for help with blinking LEDs
Posted by: misterfrickel - Mar-15-2019, 08:50 AM - Forum: General Coding Help - No Replies

Hello Forum,
(edit: Added emphasis so this is actually a question instead of a ramble.)

to set the stage: I'm an absolute python newbie (Really, used..... More

Print this item

  Помощь по приватным ключам/Private key help
Posted by: vlrubl777 - Mar-15-2019, 08:48 AM - Forum: General Coding Help - Replies (5)

Есть в наличии 300-500 приват. получить адреса и проверить баланс? Посоветовали скрипт для Python2.7

[python]!/usr/bin/python
from pybitcoin import B..... More

Print this item

  HTTP response capturing issue
Posted by: anna - Mar-15-2019, 08:04 AM - Forum: General Coding Help - Replies (2)

Hi All,

below script to download DSLAM configuration, getting "error a bytes-like object is required, not 'str' "
tried with encoding, still getti..... More

Print this item

  forum says my post is spam
Posted by: samsonite - Mar-15-2019, 07:19 AM - Forum: Board - Replies (4)

Surely I'm not a spammer! The platform works badly, I believe
Please, administrators, let me know something about my privileges, also privately. Thx

Print this item

  pyahk autohotkey dll
Posted by: bsayles - Mar-15-2019, 02:59 AM - Forum: General Coding Help - No Replies

hey everybody,

I'm new to trying to write ahk in python and I'm trying to build my first script using autohotkey dll and the ahk module. When i try..... More

Print this item

  How to pass a variable to subprocess.check_call
Posted by: champweller - Mar-15-2019, 02:50 AM - Forum: General Coding Help - Replies (1)

Hey Fellow forum users!

I was hoping someone could help me understand how to simplify my code.

I am trying to write a simple script that runs a..... More

Print this item

  Oracle Merge using cx_oracle
Posted by: raulp2301 - Mar-15-2019, 12:56 AM - Forum: General Coding Help - No Replies

I am facing an issue with the below Merge statement

[python]cur.execute(('MERGE INTO NETSUITE.NET_TRANSACTION_LINES_EV as Target '
'USI..... More

Print this item

  RecursionError: maximum recursion depth exceeded in comparison ?
Posted by: leoahum - Mar-14-2019, 10:11 PM - Forum: General Coding Help - Replies (11)

[python]def ChangeList (K = [0], itr = 0):
if itr < 10:
K.append(1)
itr += 1
ChangeList()

else:
return..... More

Print this item

  Issue starting Python on VSC (Nooby)
Posted by: Buggy - Mar-14-2019, 09:21 PM - Forum: General Coding Help - Replies (1)

Hi All,

I'm a beginner and so have been following tutorials to install Python and VSC. All good until i try to debug and open launch.json for the f..... More

Print this item

  How to install matplotlib?
Posted by: broccolee - Mar-14-2019, 09:16 PM - Forum: News and Discussions - Replies (3)

Hi,

I get the following error when I tried to install matplotlib:

/* -----------------------------------------------------------------------

..... More

Print this item

  Parsing an MBOX file
Posted by: Oliver - Mar-14-2019, 07:49 PM - Forum: General Coding Help - Replies (1)

I have a client who wants to be able to parse and extract the message portions from an mbox (email) file. The mbox I have as an example has huge secti..... More

Print this item

  how to loop url which automatically changes few parameters when go to next page?
Posted by: farhan275 - Mar-14-2019, 06:21 PM - Forum: News and Discussions - Replies (1)

I want to loop a url for scrape all products info from each pages but two parameters of this url automatically changes when it go to next page. This t..... More

Print this item

  code issue
Posted by: sandy - Mar-14-2019, 06:12 PM - Forum: General Coding Help - Replies (1)

Hi All
I am new to python coding.
please can one look into code. its not giving any results or throwing error. Any issue in code.

[python]locatio..... More

Print this item

  ValueError: could not broadcast input array from shape (75) into shape (25)
Posted by: route2sabya - Mar-14-2019, 01:13 PM - Forum: Data Science - No Replies

I am a Python beginner. I am trying to follow the tutorial posted ..... More

Print this item

  Dictionary adds an unexpected list
Posted by: erina - Mar-14-2019, 11:01 AM - Forum: General Coding Help - Replies (1)

Hello,
my expected output is :
data={'Switchboard1':[{'Light':[1,2,3,4],'Fan':[1,2,3,4]}]}
But when the code executes the underlined point it adds ..... More

Print this item

  Pyhton Newbie invites critique on Pump Calculator
Posted by: KevinBrown - Mar-14-2019, 10:38 AM - Forum: Code sharing - No Replies

A first learning script written in Python language by Kevin Brown following a program developed in Power Basic language many years ago. The script is..... More

Print this item

  labelling variables of df with map() in loop
Posted by: theinzawoo - Mar-14-2019, 04:21 AM - Forum: General Coding Help - Replies (2)

These are in panda df ,
agree={'1':'agree','0':"don't agree"}

list_agg=["anc_ir_fo_daily","anc_att_vac_neg", "anc_iodine","anc_danger_neg", "bf_fi..... More

Print this item

  Fish eye correction but weird after affect
Posted by: robie972003 - Mar-14-2019, 12:54 AM - Forum: Game Development - Replies (1)

When I finished my raycaster (pseudo 3d engine) I found out that when ever you look closely at a wall, it appears to be bent. Ex:
Straight wall:
..... More

Print this item

  i need help with this code
Posted by: klittle01 - Mar-13-2019, 11:25 PM - Forum: General Coding Help - Replies (4)

hi all can some one please help me write and understand this code as I am new and trying to learn I can do basic if statement but I cant seem to get t..... More

Print this item

  slicing and counting words in a string
Posted by: Rudy - Mar-13-2019, 10:59 PM - Forum: Homework - Replies (11)

Hello,
I'm working on an assignment that prompts the user for a string of words. It counts how many words and counts how many letters in each word...... More

Print this item

  How to modify Adaline Stochastic gradient descent
Posted by: vokoyo - Mar-13-2019, 09:08 PM - Forum: Homework - Replies (2)




Dear


May I know how to modify my own Python programming so that I will get the
same picture as refer to the attached file - Adalin..... More

Print this item

  Screen Hiding - visibility options IF statement
Posted by: jch360 - Mar-13-2019, 07:47 PM - Forum: GUI - No Replies

I am trying to get two text boxes on top of each other in a screen. I want just one visible at a time. So really all I need is a simple If statement..... More

Print this item

  python homework help ASAP
Posted by: gk34332 - Mar-13-2019, 07:23 PM - Forum: Homework - Replies (1)

For written problems or problems where you are asked to provide an explaination you can submit your answers in a separate text file or you can just in..... More

Print this item

  Positive to negative
Posted by: bernardoB - Mar-13-2019, 07:21 PM - Forum: General Coding Help - Replies (6)

Hello, i need to know how can i tranform a positive number in a negative number in Python.
With the inverse effect of "abs()".
If someone can help ..... More

Print this item

  nested dictionary
Posted by: Maxime - Mar-13-2019, 07:11 PM - Forum: Homework - Replies (3)

Hello.
I have a nested dictionary that I want to sort.

[python]
dictionary={'Hello': {'D1': 1, 'D3': 2},
'I': {'D1': 2, 'D2': 2, 'D..... More

Print this item

  page navigation & form filling
Posted by: rudolphyaber - Mar-13-2019, 06:31 PM - Forum: Web Scraping & Web Development - No Replies

OS: Windows 7, Python 3.6

I'm needing a command prompt script that will connect to a webpage and allow the user to log into the site using their user..... More

Print this item

  Redundant Iterations
Posted by: leoahum - Mar-13-2019, 06:29 PM - Forum: General Coding Help - Replies (3)

[python]OrgH = [73.35,111.37,92.70,70.73,67.71,77.84]
BtmGap = 32
MinRH = 12
Div = 7
tH = 400

sH = sum(OrgH)
q = Div - len(OrgH)

def Optm(S..... More

Print this item

  not resize a frame
Posted by: Scorpio - Mar-13-2019, 06:17 PM - Forum: GUI - Replies (2)

hi,

I define the size of a frame but when I add 4 buttons, it's automatically resized.

someone knows how I can fix it ?

thanks for your help

Print this item

  Help required over a confusion
Posted by: sunnyarora - Mar-13-2019, 05:25 PM - Forum: News and Discussions - Replies (7)

Hi, I just want to know that why we don't use == operator with while / for loop?


			

Print this item

  python code snippet
Posted by: chinna - Mar-13-2019, 04:40 PM - Forum: General Coding Help - Replies (4)

Hi,
Im new to Python and trying to understand some existing code.
Can some one please explain the below code snippet and its function.

[python] ..... More

Print this item

  Should a function ever be more permissive than its type hints?
Posted by: Shay - Mar-13-2019, 04:28 PM - Forum: General Coding Help - Replies (1)

Here is some (trimmed) code, written by Guido for the random module.

[python]
def randrange(start, stop=None, step=1):
"""Choose a ra..... More

Print this item

  find a hyperlink in Gmail body python 3(imap and selenium)
Posted by: taomihiranga - Mar-13-2019, 04:16 PM - Forum: Web Scraping & Web Development - Replies (1)

I am making a program to automatically read emails and click automatically a hyperlink in that email body.

A taxi company provides contracti..... More

Print this item

  Tiled map importing into PyGame
Posted by: nodding - Mar-13-2019, 03:47 PM - Forum: Game Development - Replies (4)

I am trying to create a 2D puzzle platformer, using Tiled as the map creation tool.

All I want to figure out is how to import a map made in Tiled, ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 6 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Integer Factorization Too... Yesterday, 16:45 fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 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
  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... 577330
  Tutorial Requ... 500619
  Web Scraping ... 440996
  Newbie with P... 385033
  New Users Int... 369502
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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