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,920

Full Statistics

Online Users
There are currently 52 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Google, AOL, Facebook, Mojeek, perfringo

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

 
  Can I use a sublist as an argument in python?
Posted by: MartinBerlin - Aug-25-2018, 10:06 AM - Forum: General Coding Help - Replies (3)

I have a nested list:

city = [['house', 'street', 'park'], ['car', 'bike', 'train']]
Now I want to define a function what takes..... More

Print this item

  I'm a bit confused with these boolean operations on integers
Posted by: goelraghavg - Aug-25-2018, 07:05 AM - Forum: Homework - Replies (6)

Hi,

I was doing my python homework recently and I also have a an upcoming practical. In my workbook there are some questions in which an expression..... More

Print this item

  What is the difference between them in Python 3.7?
Posted by: cametan - Aug-25-2018, 06:14 AM - Forum: General Coding Help - Replies (8)

Hello.

I've just wondered if there were a difference between them.

[python]
class cls_a:
def func(arg):
print(arg)

class cls_b..... More

Print this item

  Outer loop not running
Posted by: ted_gress - Aug-25-2018, 05:08 AM - Forum: General Coding Help - Replies (2)

Hi

I'm working on something and it has a nested while loop. It seems like only the inner loop is running and only once;

Code:

[python]
def ..... More

Print this item

  cannot understand why program will not run
Posted by: FernandoE - Aug-24-2018, 09:54 PM - Forum: Homework - Replies (1)

[python]import locale
locale.setlocale(locale.LC_ALL, '')


order_total = 0.0 # accumulate total dollars
price = 3.5 # all cook..... More

Print this item

  [geoJSON] View + work with?
Posted by: Winfried - Aug-24-2018, 09:22 PM - Forum: General Coding Help - Replies (2)

Hello,

Turns out I now should work with a geoJSON file instead of GPX since the site I'm working with ignores colors set in GPX items through the "ex..... More

Print this item

  pip vs pip3
Posted by: Skaperen - Aug-24-2018, 09:11 PM - Forum: News and Discussions - Replies (16)

what is the difference between pip and pip3? i thought pip3 was to access the repository of packages for python3 (e.g. a python3-only system only nee..... More

Print this item

  Is comp.lang.python dead?
Posted by: Winfried - Aug-24-2018, 08:07 PM - Forum: Board - Replies (3)

Hello,

Out of curiosity, I checked https://groups.google.com/forum/#!forum/...ang.python, and it's pretty much all SPAM.

Is that newsgroup go..... More

Print this item

  Excel Rows to sentences
Posted by: spartak315 - Aug-24-2018, 07:48 PM - Forum: Data Science - No Replies

Hello I'm new to this forum, hopefully someone can provide some insight on what i'm trying to accomplish. Lets say i have an excel file with 5 rows an..... More

Print this item

  DataFrame index issue
Posted by: Astrikor - Aug-24-2018, 07:34 PM - Forum: Data Science - Replies (2)

I have a small 2D array which I am trying to save to csv such that when read will be identical to he original array.
I can remove headers, but not the..... More

Print this item

  Save Cookie header value in var
Posted by: DavidFernandez - Aug-24-2018, 07:30 PM - Forum: General Coding Help - No Replies

Hi,
I need to get the value of a cookie which is 'JSESSIONID_AV'
I should save the value of this cookie for re-use in the rest of my orders in my AP..... More

Print this item

  Python3 & os.walk
Posted by: while_e_coyote - Aug-24-2018, 07:10 PM - Forum: General Coding Help - Replies (2)

I am trying to write a script using Python 3 and
os.walk. The code is as follows:

[python]

import os

path = '/home/systemconttrol/data_logs'..... More

Print this item

  Frames above 2000 bytes not acknowledged by client/receiver
Posted by: lukasz139 - Aug-24-2018, 06:34 PM - Forum: Networking - No Replies

HI,
I working on adding a jumbo frame functionality to my application. My problem is that I receive no ACK for frames with payload above 2000 bytes. ..... More

Print this item

  inheritence overrides
Posted by: NobahdiAtoll - Aug-24-2018, 06:27 PM - Forum: General Coding Help - Replies (5)

I apologize if this is a repeated question, I've tried everything i can think of to find similar threads without success...

anway..


I have a class ..... More

Print this item

  Notebook accessing a specific tab using a button from a toplevel frame
Posted by: honestie - Aug-24-2018, 06:21 PM - Forum: GUI - Replies (8)

Hello, I really knew to python. I have made a notebook GUI with 7 tabs, with a button on tab 4 that opens up a new toplevel window. On the toplevel wi..... More

Print this item

  python code (embedded in Redshift) to return result of the query
Posted by: Mel - Aug-24-2018, 06:12 PM - Forum: General Coding Help - No Replies

Below is the code that I have as part of databricks job running against snowflake table. It generates an error email in case the SQL code fails, not e..... More

Print this item

  Error in a file and problem with ptpython
Posted by: sylas - Aug-24-2018, 05:10 PM - Forum: General Coding Help - Replies (7)

Hi all! First trouble: python works with version 3.7 while ptpython works with verion 3.6. How make them both work with 3.7 ?
Second trouble: I have..... More

Print this item

  How to store continous output into a text file?
Posted by: Saraswathy - Aug-24-2018, 12:16 PM - Forum: GUI - Replies (1)

I am new to the Python coding , so anyone please guide me. I want to store the output into a text file. From the below code, i am able to read the dat..... More

Print this item

  Unable to Obtain values from one Tkinter Program into another
Posted by: nilaybnrj - Aug-24-2018, 11:56 AM - Forum: GUI - Replies (1)

Hi Team

Here I am facing one issue. I am basically trying to create one basic automation app for desktop. In which one main window will be there wi..... More

Print this item

  Tkinter Roku Remote
Posted by: rootVIII - Aug-24-2018, 11:22 AM - Forum: Code sharing - Replies (5)

Here is a Roku Remote GUI programmed with tkinter and Python:

https://github.com/rootVIII/roku_remote

The only catch is that you have to enable..... More

Print this item

  save json value
Posted by: DavidFernandez - Aug-24-2018, 10:25 AM - Forum: General Coding Help - Replies (3)

Hello,
I have to search a value in a json and store it in a variable.

Its easy but the problem is that the json has a primary 'data' tag before th..... More

Print this item

  not working in windows 8.1
Posted by: nivedrs2003 - Aug-24-2018, 10:04 AM - Forum: General Coding Help - Replies (1)

in my pc [windows 8.1 x64] when i opening python it showing a message
[size=medium]the program can't start because
[b]api-ms-win-crt-runtime-|1-1-0...... More

Print this item

  Couple of questions about modules
Posted by: Winfried - Aug-24-2018, 07:27 AM - Forum: General Coding Help - Replies (6)

Hello,

A couple of newbie questions about modules:

1. What does this do? Why import the same module twice?
[python]
import gpxpy
import gpxpy..... More

Print this item

  How to comma seprate csv but not all cells
Posted by: Prince_Bhatia - Aug-24-2018, 06:18 AM - Forum: General Coding Help - Replies (1)

I am reading a csv file whose data structures looks like this    


i am trying to read it and convert it into comma separated list so..... More

Print this item

  Issue while importing variable from one file to other
Posted by: mamta_parida - Aug-24-2018, 05:23 AM - Forum: GUI - Replies (14)

I created a GUI using tkinter having nine different classes and all classes are in one one script file. I'm getting issue when trying to use one varia..... More

Print this item

  Worksheets doesn't get processed when files to be processed are more than 1
Posted by: begood321 - Aug-24-2018, 05:09 AM - Forum: General Coding Help - No Replies

Sad My issue is when ever I copy worksheets from 1 file to another it works, but not from 1 file to multiple files. To elaborate further, if files..... More

Print this item

  XML parsing and generating HTML page Python 3.6
Posted by: Madhuri - Aug-24-2018, 05:06 AM - Forum: Web Scraping & Web Development - Replies (2)

is it possible to parse the XML file and generate the html page in python 3.6
i want extract the data from XML and put it needed info into html page

Print this item

  Can the launcher show 2.7 notebook or terminal option?
Posted by: miner_tom - Aug-24-2018, 03:19 AM - Forum: General Coding Help - Replies (1)

[size=medium]I have jupyter notebook installed and python 3.6 is an option as shown in the launcher.
When I open the launcher, I see icons for openin..... More

Print this item

  More organization in tutorials?
Posted by: metulburr - Aug-23-2018, 11:45 PM - Forum: Board - Replies (6)

I was wondering what people would think of more sub-forums in tutorials to organize related threads together? For example basic things like string, fu..... More

Print this item

  Generate ctrl-A behaviour
Posted by: edgarfinchley - Aug-23-2018, 10:00 PM - Forum: GUI - Replies (3)

I have a listctrl. ctrl-a selects all items, ctrl-c copies them to the clipboard (in the usual way).
I want to add a single button to my wxpython gui..... More

Print this item

  Time complexity of dict vs attributes
Posted by: heras - Aug-23-2018, 08:12 PM - Forum: General Coding Help - Replies (6)

Hi,

I was going over some data. To store results I manually added empty list attributes to a class as needed. In order to make this dynamic I added..... More

Print this item

  Yield Keyword
Posted by: 6pathsMadara - Aug-23-2018, 05:43 PM - Forum: General Coding Help - Replies (6)

Below is the code I have done following a tutorial, it involves creating a generator that makes the Fibonacci sequence, and then prints it out for val..... More

Print this item

  Creating a SfePy mesh using Blender
Posted by: thinkinghurts - Aug-23-2018, 05:27 PM - Forum: Bar - No Replies

Does anyone know if it is possible to create a mesh in Blender that can be used with SfePy? I tried exporting the Blender mesh as an stl file to 3DSl..... More

Print this item

  [Python 3] - Extract specific data from a web page using lxml module
Posted by: Takeshio - Aug-23-2018, 05:20 PM - Forum: Web Scraping & Web Development - Replies (9)

Hi guys,

I am trying to write a Python 3 code (using lxml module) to extract some specific data from a webpage.

A sample of the HTML data presen..... More

Print this item

  Notebook is rendered as static html by github
Posted by: miner_tom - Aug-23-2018, 04:11 PM - Forum: General Coding Help - Replies (2)

[size=medium]I have been attempting to run a notebook file that was downloaded from github. The error that I get is "Notebook does not appear to be JS..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 4 hours ago Lou Pedroski55 General Codin...
  Python compiler 10 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 10 hours ago 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... 579499
  Tutorial Requ... 512863
  Web Scraping ... 442368
  Newbie with P... 386397
  New Users Int... 381738
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
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