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,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 27 Guest(s)
Bing, Google, Facebook, AOL, Mojeek, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
3 hours ago
» Replies: 0
» Views: 14
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 118
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,070
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,299
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 367
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 206

 
  Extract Httponly, Secure, domain and path from a cookie
Posted by: randeniyamohan - Jan-26-2020, 04:59 PM - Forum: General Coding Help - No Replies

I am trying to extract the Httponly, Secure, domain and path from the given cookie in python. How do I do that in python ???

Code:
[python]
targe..... More

Print this item

  Global Variable Not Updating
Posted by: joew - Jan-26-2020, 01:05 PM - Forum: General Coding Help - Replies (2)

Based on responses I got from previously posting a question about global variables, the following code should work. But it's not. Clearly, my understa..... More

Print this item

  Calculator Loop Help
Posted by: dock1926 - Jan-25-2020, 10:26 PM - Forum: Homework - Replies (3)

I am new to python and I'm having trouble with my calculator looping. I am trying to get this output below. I'm having trouble with getting the loop t..... More

Print this item

  adding menu system and states (part 9)
Posted by: metulburr - Jan-25-2020, 10:23 PM - Forum: Game Tutorials - No Replies

Back to part 8

This section focuses on taking t..... More

Print this item

  [gpxpy] "Error parsing XML: not well-formed (invalid token): line 1, column 1"
Posted by: Winfried - Jan-25-2020, 09:45 PM - Forum: General Coding Help - Replies (5)

Hello,

For some reason,the gpxpy library isn't happy parsing the following very basic GPX (XML) file:

[python]<?xml version="1.0" encoding="UTF-..... More

Print this item

  an extra step in a loop
Posted by: Skaperen - Jan-25-2020, 07:51 PM - Forum: General Coding Help - Replies (1)

i am iterating over something with a loop such as for x in thing: but there is sometimes a value in x which needs an extra step. on ..... More

Print this item

  how to make my function be a generator
Posted by: Skaperen - Jan-25-2020, 07:19 PM - Forum: General Coding Help - Replies (2)

it was my understanding that a function with a yield statement would be a generator. but, what if the function i want to be the generator is really c..... More

Print this item

  recursion as a generator
Posted by: Skaperen - Jan-25-2020, 07:06 PM - Forum: General Coding Help - Replies (1)

i have a function that calls itself recursively. i want to make it be a generator. how would that complicate things?

Print this item

  calling a method for a docstring
Posted by: Skaperen - Jan-25-2020, 06:59 PM - Forum: General Coding Help - Replies (8)

can i call a method on a docstring?
[python]
def myfunction(foo,bar):
"""this is
my docstring for
my function.""".replace('\n',' ')
retu..... More

Print this item

  How to create an environment for program downloaded from github
Posted by: StartedNewLife - Jan-25-2020, 05:24 PM - Forum: General Coding Help - Replies (3)

I downloaded a ZIP package from git hub.
Also downloaded anaconda.
According to the instructions, I should create an environment.
But I need to in..... More

Print this item

  os.kill
Posted by: elstolbo - Jan-25-2020, 04:37 PM - Forum: Homework - Replies (1)

hello programmers.
I will develop an application to serve as a network tester and one of the parts of this application will be tshark, which is used ..... More

Print this item

  Web Scraping and crawling
Posted by: venkataramakrishna - Jan-25-2020, 04:21 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Members,

I don't have any prior knowledge on Python. But i have a requirement to web scraping data from https://otexa.trade.gov/scripts/tqquanti..... More

Print this item

  Problem after changing Python directory
Posted by: Souila7 - Jan-25-2020, 03:46 PM - Forum: General Coding Help - Replies (1)

Hi Guys,

Well, I am still learning Python and I am following some tutorials to start. In the beginning, I installed Python in the default directory..... More

Print this item

  Is Python Installed?
Posted by: DaveMc - Jan-25-2020, 03:46 PM - Forum: General Coding Help - Replies (6)

Good morning,

I am new to the group and have a question I am hoping everyone can help with. I am working on a application and want to find out if t..... More

Print this item

  How to double quote filenames (spaces)?
Posted by: Winfried - Jan-25-2020, 02:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to build a command and pass it to an external application.

Filenames may have spaces in them, so I must double quote them, but I c..... More

Print this item

  XML modules
Posted by: bertilow - Jan-25-2020, 02:05 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm porting a web application from Perl to Python3 (using mod_wsgi and Flask). The application uses XML extensively.

I've found that I need to use ..... More

Print this item

  program a calculator
Posted by: manomarH - Jan-25-2020, 11:36 AM - Forum: General Coding Help - Replies (3)

hey guys if you have any suggestion to program a calculator without using class please tell my about

Print this item

  How to compute conditional unigram probabilities?
Posted by: jbond - Jan-25-2020, 11:34 AM - Forum: Homework - Replies (2)

Hello,

i have difficulties with my homework (Task 4).
I don't know how to do this.
I have already an attempt but I think it is wrong and I don't..... More

Print this item

  Beginners book in Spanish
Posted by: MauserMan - Jan-25-2020, 11:29 AM - Forum: News and Discussions - Replies (1)

Hi all!

I'm looking for a good "Python for beginners" book in Spanish for my wife.
She has a little bit of programming experience from a bash prog..... More

Print this item

  From sqlite3 to sqlalchemy
Posted by: qrion - Jan-25-2020, 10:52 AM - Forum: Web Scraping & Web Development - No Replies

Hi
Just wondering if its possible to make this sqlite3 code to sqlalchemy?

[python]@app.route("/addToCart")
def addToCart():
if 'email' not ..... More

Print this item

  Can I connect python/django to nginx "after the fact"?
Posted by: david503 - Jan-25-2020, 10:43 AM - Forum: Networking - Replies (2)

This tutorial describes how to get python and django up and running:

https://www.digitalocean.com/community/t...go-and-set..... More

Print this item

  Import all items from all modules from package
Posted by: DD169 - Jan-25-2020, 06:22 AM - Forum: General Coding Help - Replies (3)

Hello,

File Structure:
DND:

  • testing.py
  • Weapons:
    • __init__.py
    • Simple_Melee.py
    • Simple_Ranged.py
      [..... More

Print this item

  Help!
Posted by: Karliux2002 - Jan-25-2020, 03:37 AM - Forum: Homework - Replies (6)

Please, can someone help me with this problem:

The Fibonacci sequence is a series of related numbers. Usually, the series begins with the numbers 0..... More

Print this item

  Please Help
Posted by: jackthechampion - Jan-25-2020, 02:32 AM - Forum: General Coding Help - Replies (2)

So im in introduction to programming and we use python and the assignment is
Create a program that prompts the user to enter a first name and a last..... More

Print this item

  forming a str one by one
Posted by: Skaperen - Jan-24-2020, 08:58 PM - Forum: General Coding Help - Replies (2)

some complicated code needs to form a str one character at a time, as it figures out each character, one at a time. these characters can be any Unico..... More

Print this item

  Importing acting weird
Posted by: IILawrenceII - Jan-24-2020, 07:43 PM - Forum: General Coding Help - Replies (3)

I'm trying to call functions from my "functions.py" module to my "mainTest.py" module.

Here is basically what I write:

from functions import fun..... More

Print this item

  my first attempt, please advise me of any thing
Posted by: danak - Jan-24-2020, 07:01 PM - Forum: Code Review - Replies (6)

My first bit of code, I've only just started to learn, I understand this is very basic but this is the best way I learn.

I'm not sure how this shou..... More

Print this item

  remove and reinstall base 1.0.4
Posted by: KipCarter - Jan-24-2020, 06:50 PM - Forum: General Coding Help - Replies (3)

I'm having issues with base 1.0.4, so I thought that I would remove it and reinstall it.

The only version of base I see is what I've found on Pypi...... More

Print this item

  Parsing JSON with backslashes
Posted by: bazcurtis - Jan-24-2020, 04:45 PM - Forum: General Coding Help - Replies (3)

I have a script where the users will need to edit some variables. I don't want them to mess the script up so decided I would make a config json file w..... More

Print this item

  python beginner HTTP Error 500
Posted by: leofcastro - Jan-24-2020, 04:37 PM - Forum: Web Scraping & Web Development - No Replies

Dear all, this is my first time sharing doubts in a forum. I would be very grateful if you could help me.

I have succeeded in scrapping the data of..... More

Print this item

  How to execute code WHILE a function runs
Posted by: t4keheart - Jan-24-2020, 03:25 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I have some code for a loading bar animation that I would like to run during execution of specific functions. I know some sort of while..... More

Print this item

  syntax error: can't assign to operator
Posted by: liam - Jan-24-2020, 02:25 PM - Forum: Homework - Replies (3)

Below is my code, the error was "syntax error: can't assign to operator" at line 6, " L**2 - (2*a**2*L) + (16*area**2)= 0 ". I need help in debugging ..... More

Print this item

  start and stop omxlayer playback
Posted by: dezmob - Jan-24-2020, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to find an elegant way to start / stop the playback of a video from a cluster of raspberry pi

To playback the video in sync I use..... More

Print this item

  "for loop" not indexing correctly?
Posted by: melblanc - Jan-24-2020, 01:03 PM - Forum: General Coding Help - Replies (4)

Wall
I am using a for loop with regular expressions to scrape a file
for ordered pairs of geographic co-ordinates. All seemed to be
working u..... More

Print this item

  Python module wifi not showing all wireless networks
Posted by: marozsas - Jan-24-2020, 12:03 PM - Forum: Networking - Replies (3)

The call to wifi.Cell.all is not returning all wireless networks as regular user but is does as root user !
I don't know if it is a bug or by design...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 3 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579259
  Tutorial Requ... 512108
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379612
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexferrina Yesterday
MattCarters 11-22
drakhsin 11-22
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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