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,308
» Latest member: NeoQuant
» Forum threads: 38,799
» Forum posts: 175,912

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 46 Guest(s)
Applebot, Bing, Google, Google Image, AOL

Latest Threads
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
25 minutes ago
» Replies: 0
» Views: 8
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 8
» Views: 209
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
9 hours ago
» Replies: 3
» Views: 11,102
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 183
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 706
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,822
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 174
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 151
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 244
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,226

 
  for-loop issue
Posted by: digysol - Oct-24-2018, 05:56 PM - Forum: General Coding Help - Replies (2)

I have a function with a for-loop containing a large (32) number of statements. But, the for-loop performs only 1 iteration. I double checked the code..... More

Print this item

  Community/Team Projects?
Posted by: WuchaDoin - Oct-24-2018, 05:06 PM - Forum: News and Discussions - Replies (3)

My learning curve is seeming to flat line, not because of lack of research, but from the constant effort of improving what's currently written, unders..... More

Print this item

  Python Flask Dependent Dropdown
Posted by: Anfaa - Oct-24-2018, 04:37 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I was wondering if one of you could possibly help me with a problem I'm having. The details are listed in the stack overflow link, please a..... More

Print this item

  New Crowdsourcing project 10,000 Lincoln letters discovered
Posted by: Larz60+ - Oct-24-2018, 04:17 PM - Forum: Bar - No Replies

There's a new Crowdsourcing project at the US Library of Congress to review and transcribe 10,000 new letters to president Lincoln.
If this interest ..... More

Print this item

  Full Screen Display
Posted by: daven2411 - Oct-24-2018, 04:08 PM - Forum: General Coding Help - Replies (1)

I am completely new to Python so I don't know where to start. My requirement seems pretty straight forward. I have a file on a SCO UNIX box which cont..... More

Print this item

  A CLI based Dice Roller.
Posted by: Ablazesphere - Oct-24-2018, 03:48 PM - Forum: Code sharing - Replies (10)

Please like if you liked my code. Tongue Tongue

[python]
import random
import time

choice = 'y' or 'n'
x = 0

input_1 = input("P..... More

Print this item

  Different runtime programs
Posted by: mhvozdesky - Oct-24-2018, 02:48 PM - Forum: General Coding Help - Replies (1)

Hello!
Why does the speed of performance of functions differ depending on where they are launched?
If I run in the console - program runs faster than ..... More

Print this item

  Read from a file, get user input in a while loop
Posted by: lynden - Oct-24-2018, 11:59 AM - Forum: General Coding Help - Replies (8)

Below is the code i have created for a music quiz game, firstly i need to know how to print the first letter of each song, and fix the while statement..... More

Print this item

  Finding and indexing maximum value
Posted by: BlueBall - Oct-24-2018, 10:29 AM - Forum: General Coding Help - Replies (2)

I have a large grid, but let's say it is 4 cells wide and 3 cells high. Index of the first cell is 0 and it starts bottom left, finishes in the uppe..... More

Print this item

  VSCode can't select interpreter
Posted by: Larz60+ - Oct-24-2018, 09:07 AM - Forum: General Coding Help - Replies (8)

I've been fighting this for a week (or more) now, without success.
I am running a virtual environment, and the terminal shows proper python, etc.
ho..... More

Print this item

  convert words to nums and vica versa
Posted by: Nimtram - Oct-24-2018, 07:17 AM - Forum: Homework - Replies (5)

Hi everyone,

just started learning python3 at university. We got a homework and I do not litterally know where to start.
We are asked to make a pr..... More

Print this item

  How I can limit quantity of parallel executable tasks in asyncio?
Posted by: AlekseyPython - Oct-24-2018, 06:55 AM - Forum: General Coding Help - Replies (1)

Python 3.7.1

I will write program which connection to internet- resource for getting information. Scraping will take about 1 week, and I can create..... More

Print this item

  Numpy DOT vs Matmul
Posted by: shankar - Oct-24-2018, 06:32 AM - Forum: Data Science - No Replies

I used np.dot() and np.matmul() both are giving same results.Are they same for any dimensional arrays?

How broadcasting works for np.dot() with dif..... More

Print this item

  Getting Max retries exceeded with url
Posted by: rameshpuruganti - Oct-24-2018, 06:31 AM - Forum: Web Scraping & Web Development - Replies (1)

I am running automation script using selenium with python. Automation framework is built using python unittest framework. When i run the test case i a..... More

Print this item

  Scrape java script web site
Posted by: PythonHunger - Oct-24-2018, 05:01 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I just want scrap java script web site.
url : https://www.mcxindia.com/market-data/bhavcopy
Can anyone help me on this.

Thanks in advance

Print this item

  Python / Spyder portable for Windows
Posted by: codekodo - Oct-24-2018, 03:04 AM - Forum: News and Discussions - No Replies

Hi guys

For our students we needed an easy way to use Python and Spyder on Windows in a classroom. And something easy to launch. So, we developed a..... More

Print this item

  how to create qt plugins
Posted by: pyuser123 - Oct-24-2018, 02:14 AM - Forum: GUI - Replies (3)

dear forum members,

I am new to python GUI development. I'd like to make a simple application which I can extend by plugins.

How can I write a..... More

Print this item

  How to split a string containing function calls?
Posted by: Metalman488 - Oct-24-2018, 01:00 AM - Forum: General Coding Help - Replies (4)

So I am working on a program that takes function calls like:
add(2,2)
multiply(1,2)
add(add(2,2),6)
multiply(add(add(1,3),2),3)
add(add(2,2),add(..... More

Print this item

  Python Code Assistance
Posted by: bfpa40 - Oct-24-2018, 12:46 AM - Forum: General Coding Help - Replies (2)

How can I make the attached Python3 code report back for ONLY 5 sets of MegaMillions Numbers and have that be EMailed to me? It currently cheks for 12..... More

Print this item

  Dice roller with Tkinter GUI
Posted by: Yojul - Oct-23-2018, 11:37 PM - Forum: Code sharing - Replies (1)

GUI
[python]
from tkinter import *
import dice_roller

root = Tk()


class App:

def __init__(self, master):

self.title = Label(master..... More

Print this item

  Converting from HEX to ANSI
Posted by: Blackklegend - Oct-23-2018, 10:54 PM - Forum: General Coding Help - Replies (5)

[Image: sHuf4GL]

I am basically searching for a script to convert a Hex string to Windows(ANSI)

Print this item

  Do I always have to use triple quotes or \n for multi-line statements?
Posted by: DragonG - Oct-23-2018, 07:27 PM - Forum: General Coding Help - Replies (3)

Which multi-line statements do not require me to use triple quotes or \n? I am new to Python. Thanks for answering.

Print this item

  What are "__builtins__"?
Posted by: microphone_head - Oct-23-2018, 06:16 PM - Forum: Bar - Replies (5)

Hi all,

Does anyone have any useful links or can give any help on what "__builtins__" are? I did a "dir()" in my shell and noticed this. Does thi..... More

Print this item

  find hidden python files
Posted by: bobsmith76 - Oct-23-2018, 06:10 PM - Forum: General Coding Help - Replies (4)

I have a built-in operation which is eating up 74% of the run time in my code and I'm having a very difficult time tracking down its location. If look..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using dir() as an autocomplete feature?
Posted by: microphone_head - Oct-23-2018, 06:03 PM - Forum: Bar - Replies (3)

Hi all,

I have been toying with the idea of making a python IDE Think . I was wonder about how to implement an autocomplete feature and belie..... More

Print this item

  utf-8 error with pandas read_csv
Posted by: logues - Oct-23-2018, 05:25 PM - Forum: Data Science - No Replies

I'm trying to read in several large data files (~600-700k rows) as dataframes so I can clean and append them to create a large panel dataset. When I'm..... More

Print this item

  Odd pow Behavior
Posted by: ichabod801 - Oct-23-2018, 05:24 PM - Forum: News and Discussions - Replies (1)

I was doing some unit testing and came across something odd:

[python]
>>> -2 ** 4
-16
>>> pow(-2, 4)
16
>>> import operator
>>> operator.pow(..... More

Print this item

  Udp broadcast programming project
Posted by: oredri269 - Oct-23-2018, 05:09 PM - Forum: Networking - No Replies

hello,

i got a project to create a UDP broadcast programming -

create a system that sends a broadcast of a message alert to all the systems t..... More

Print this item

  Installing pip packages on Windows 10 tablet
Posted by: jazmad - Oct-23-2018, 04:52 PM - Forum: Data Science - Replies (5)

I have Python 3.7 installed on my Windows 10 PC and Windows tablet. On the PC, I am able to install pip packages using command prompt no problem. Howe..... More

Print this item

  How to compare timestamps in python
Posted by: asad - Oct-23-2018, 03:34 PM - Forum: General Coding Help - Replies (2)

I have just playing with python , I am stuck for the following problem :

file1 :
Patching tool version 12.1.0.2.0 Production on Fri Feb 23 01:10:2..... More

Print this item

  PyCharm Help
Posted by: benevolentbagelbites - Oct-23-2018, 01:06 PM - Forum: Homework - Replies (4)

I started to learn how to open files up in PyCharm; however, the file will 'open' using open(), but then nothing else in the program will execute. No..... More

Print this item

  CRUD performing but output not shown in table format in flask
Posted by: lunchcook - Oct-23-2018, 01:00 PM - Forum: Web Scraping & Web Development - Replies (2)

I am developing a basic crud operation type site. I am able to add the elements into DB by clicking submit in the form but the redirecting to the tabl..... More

Print this item

  Installing Homebrew on my mac; non computer-savvy person
Posted by: duongtn34 - Oct-23-2018, 08:34 AM - Forum: General Coding Help - Replies (1)

I am working through a book to learn python on version 2.7. I need to download homebrew as part of a project in the book. As required, from homebrew's..... More

Print this item

  exception during iteration loop
Posted by: Skaperen - Oct-23-2018, 06:54 AM - Forum: General Coding Help - Replies (6)

i open a file for reading and read it like:

i=open(ifn)
for line in i:
    ...
    ...
it reads over 352000 lines then gets a [u..... More

Print this item

  Create bitmap image for my exe
Posted by: atlass218 - Oct-23-2018, 06:12 AM - Forum: General Coding Help - Replies (5)

hi;
I am trying to create an executable application from a python file. for that, in the console of command prompt (windows 10 64 bits) I execute thi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Trading Risk management s... 25 minutes ago NeoQuant NeoQuant Code sharing
  No new line from print in... 4 hours ago Lou snippsat General Codin...
  Python Online Compiler 9 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 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...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
Most views
  The best Prog... 579487
  Tutorial Requ... 512762
  Web Scraping ... 442357
  Newbie with P... 386395
  New Users Int... 381689
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 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NeoQuant Today
Hosthubac Today
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today

User Panel Messages

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