Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 13,343
» Latest member: ironic100
» Forum threads: 25,763
» Forum posts: 118,800

Full Statistics

Online Users
There are currently 121 online users.
» 1 Member(s) | 120 Guest(s)
Luis123

Latest Threads
Changing Directory based ...
Forum: Homework
Last Post: paulmerton4pope
14 minutes ago
» Replies: 12
» Views: 185
Easy HTML Parser: Validat...
Forum: Web Scraping & Web Development
Last Post: runswithascript
24 minutes ago
» Replies: 6
» Views: 86
programmation of sr1
Forum: General Coding Help
Last Post: trazom
31 minutes ago
» Replies: 0
» Views: 20
POST request with form da...
Forum: Web Scraping & Web Development
Last Post: kashcode
47 minutes ago
» Replies: 1
» Views: 392
Assign 1 player to the co...
Forum: General Coding Help
Last Post: ironic100
50 minutes ago
» Replies: 0
» Views: 29
Scraping Data issues
Forum: Web Scraping & Web Development
Last Post: kashcode
52 minutes ago
» Replies: 1
» Views: 750
Scraping a dynamic data-t...
Forum: Web Scraping & Web Development
Last Post: kashcode
59 minutes ago
» Replies: 1
» Views: 298
Extract data from a table
Forum: Web Scraping & Web Development
Last Post: kashcode
1 hour ago
» Replies: 1
» Views: 90
dilemma with list compreh...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 1
» Views: 59
Error while checking for ...
Forum: General Coding Help
Last Post: onenessboy
2 hours ago
» Replies: 3
» Views: 80

 
  programmation of sr1
Posted by: trazom - 31 minutes ago - Forum: General Coding Help - No Replies

hi,

i'm learning Python for a few days and i don't understand this command , specially the usage of "/"

here is my code

p = sr1(IP(dst="www...... More

Print this item

  Assign 1 player to the computer
Posted by: ironic100 - 50 minutes ago - Forum: General Coding Help - No Replies

Hi all,

Nice to be here :) I'm brand new to python so please be nice!

I have this 'last one loses' game to do. I cannot, for the life of ..... More

Print this item

  dilemma with list comprehension
Posted by: spalisetty06 - 2 hours ago - Forum: General Coding Help - Replies (1)

the output of list comprehension is always list That was my perception.
Now I encountered something like below and I am confused. It is not yielding ..... More

Print this item

  How to calculate tax with a variable input and if else
Posted by: afefDXCTN - 4 hours ago - Forum: Homework - Replies (5)

The following is a lab taken from the course on python, which is what I am having difficulty with:

[b]Estimated time 10-15 minutes Level of ..... More

Print this item

  Can argparse support undocumented options?
Posted by: pjfarley3 - 7 hours ago - Forum: General Coding Help - Replies (3)

Suppose I want to have options that I do not normally want to tell the user about in the help message, but which are parsed and processed by argparse ..... More

Print this item

  Assignment to make a multiple choice game
Posted by: blacklight - 8 hours ago - Forum: Homework - Replies (1)

Hi, so for school I had to make a multiple choice game. I was wondering if this program that ive created would be get a good mark. It is graded on the..... More

Print this item

  matplotlib for better waveform display
Posted by: jefflawr - 9 hours ago - Forum: General Coding Help - No Replies

Hi,
I'm trying to use matplotlib for audio waveforms to duplicate some of the features of Audacity. The two things I like are:
1. a moving line over..... More

Print this item

  How can i create a server for already existing client using Python?
Posted by: Chapanson - Yesterday, 09:43 PM - Forum: Networking - Replies (1)

I am really researching for 2 days now but i can't find any clear thing about that . Can Someone explain which modules i have to learn and which progr..... More

Print this item

  Can I include text using artist?
Posted by: tetrisbot - Yesterday, 08:13 PM - Forum: General Coding Help - No Replies

I am trying to update a plot as fast as possible. The quickest way I found so far is in..... More

Print this item

  How to split and combine embedded lines using less code
Posted by: pjfarley3 - Yesterday, 07:37 PM - Forum: General Coding Help - Replies (6)

Below is a test program to illustrate what I want to achieve. It is done using several for loops with intermediate variables.

Is there a way to co..... More

Print this item

  Easy HTML Parser: Validating trs by attributes several tags deep?
Posted by: runswithascript - Yesterday, 06:16 PM - Forum: Web Scraping & Web Development - Replies (6)

I have used Easy HTML Parser in a JSON to select the table I require the rows from with:

[python]"row": "find_once('table', ('class', 'forum_hdr_bo..... More

Print this item

  extract zip from .msg files and saving according to date stamp of email
Posted by: natjo - Yesterday, 06:11 PM - Forum: General Coding Help - Replies (3)

Hello,

I've been running into some issues with trying to run some code via Visual Studio. I'm new to python and visual studio, and I found an extr..... More

Print this item

  Most Compatible Text Editor to Handle Large Files?
Posted by: Robotguy - Yesterday, 05:49 PM - Forum: Data Science - Replies (1)

Hey Everyone,

I often deal with large text files; at minimum a few GBs, with >60 million rows (cols = 4).

I was wondering what is the most suita..... More

Print this item

  Error while checking for key in Dictionary
Posted by: onenessboy - Yesterday, 05:20 PM - Forum: General Coding Help - Replies (3)

Hi,

I am trying below code to get values from dict
My sample dictionary look like this


[python]{'value': [{'id': '/subscriptions/xxxxxxxxx/..... More

Print this item

  while loop question
Posted by: spalisetty06 - Yesterday, 03:37 PM - Forum: General Coding Help - Replies (2)

How is that it is looping even without decrement operator? possibly a stupid question, but it is a question for me.
[python]
l = [10, 20, 30, 40]
w..... More

Print this item

  concatenate a request to the endpoint of OSM-API?!
Posted by: apollo - Yesterday, 02:45 PM - Forum: Web Scraping & Web Development - No Replies

dear Community,


can i run this in a multiple form - such as a concatenated request - that gives back all the results for south america!?

i e..... More

Print this item

  convert array of numbers to byte array
Posted by: adetheheat - Yesterday, 01:38 PM - Forum: General Coding Help - Replies (3)

I have an array of numbers - some are 8 bits, some are 16 bit little endian. eg
1,120,340, 54238, 65132,
How do I convert them to one byte array ? ..... More

Print this item

  Multimode imports fine as script but not after compiling into exe
Posted by: chesschaser - Yesterday, 01:28 PM - Forum: General Coding Help - No Replies

Hi guys!

I have a program I have been working on for a few months now and it runs fine in Pycharm as a script. However, after I use auto_py_to_exe ..... More

Print this item

  remove elements method not working
Posted by: spalisetty06 - Yesterday, 12:40 PM - Forum: General Coding Help - Replies (4)

Hello,
I am trying to use remove() to remove elements from the list but it is not happening. Kindly help.

[python]
l = [10, 10, 10, 10, 20, 20, 3..... More

Print this item

  Wi-Fi Direct Python
Posted by: teodorisss - Yesterday, 12:03 PM - Forum: Networking - Replies (2)

Hello to everyone.

Is there a way/module in python for the communication among two devices through Wi-Fi.

I want the case at which there is not ..... More

Print this item

  Convert xml to dict and group data and sum totals
Posted by: kashcode - Yesterday, 10:44 AM - Forum: General Coding Help - Replies (3)

Hello,

I have xml file with data.
What I need to do. Group data by siteid and..... More

Print this item

  csv troubles
Posted by: DPaul - Yesterday, 10:15 AM - Forum: General Coding Help - Replies (4)

Hi,

I downloaded a csv database with names and dates etc..
I can read it partially, line per line, split on ',' and get the values i want;
Except th..... More

Print this item

  Maximas in grayscale image
Posted by: yliats - Yesterday, 09:01 AM - Forum: General Coding Help - Replies (2)

I have a grayscale image (2d matrix), and I want to extract N (defined integer) maximas (marked in red).

I don't want them to be clustered all toge..... More

Print this item

  How to create an app manager
Posted by: _ShevaKadu - Yesterday, 07:49 AM - Forum: General Coding Help - Replies (4)

Hello! Please help me!
I'm trying to create an application manager with Tkinter and I want the desktop['application#'] variables to open..... More

Print this item

  Which is best python package to create interactive page?
Posted by: Py_veeran - Yesterday, 06:57 AM - Forum: News and Discussions - Replies (2)

I have experience in python but not in web based projects. I am really confused to select which one . My requirements are,

I have created few utili..... More

Print this item

  Runs perfect in Python but fails to print last statement when converted to .exe. Help
Posted by: sunil422 - Yesterday, 06:08 AM - Forum: General Coding Help - Replies (3)

This code runs perfect in Python but fails to print last statement(printing calculation) when converted to .exe using pyinstaller. Please Help!

# D..... More

Print this item

  Get database used data space from pyodbc
Posted by: susja - Yesterday, 04:24 AM - Forum: General Coding Help - No Replies

I need to get 'used data space' of database. I decided to use sp_spaceused. I am using python 3 and pyodbc My code:
[python]
query = '''
CR..... More

Print this item

  trying to input a variable using random.choice
Posted by: python63 - Yesterday, 12:14 AM - Forum: General Coding Help - Replies (9)

I've been messing with mad libs, doing them different ways, shortening code, etc, and i switched from getting user input to letting the program pick t..... More

Print this item

  Not able to use boto library with compressed content in python3
Posted by: avinash2020 - Aug-12-2020, 10:52 PM - Forum: General Coding Help - Replies (1)

I am trying to use the boto library with python3 to upload the data to GCS buckets. My data is latin-1 encoded, but it fails with following exception ..... More

Print this item

  How to stay motivated?
Posted by: Jan_97 - Aug-12-2020, 10:19 PM - Forum: Bar - Replies (1)

So basically the question is in the title. How to stay motivated? Not asking only in terms of programming, asking this for basically anything in life...... More

Print this item

  Need help merging/embedding
Posted by: duckredbeard - Aug-12-2020, 09:39 PM - Forum: General Coding Help - Replies (10)

I cleaned up two scripts that I am trying to merge. You can see that there are common elements to this. The first script I got working was the "keg1.p..... More

Print this item

  How to print just sizes content with splits?
Posted by: fergar470 - Aug-12-2020, 07:30 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi! I´m trying to get just 36.5 | 37..5 ..... sizes and not h2 content. However I´m getting it because I´m doing something wrong. I tested a lot of wa..... More

Print this item

  Changing Directory based on user input
Posted by: paulmerton4pope - Aug-12-2020, 07:27 PM - Forum: Homework - Replies (12)

Hi there,

I'm trying to create a program whereby a user can resize images in their own, inputted directory. As you can see below, I am able to view..... More

Print this item

  Convert multiple decimal numbers in string to floats
Posted by: Katy8 - Aug-12-2020, 06:29 PM - Forum: Homework - Replies (2)

I'm going through the MIT Open Course Ware in my free time. Just want to begin learning, so this is not for a class or credit. Just need a nudge in th..... More

Print this item

  Merging sorted dataframes using Pandas
Posted by: Robotguy - Aug-12-2020, 06:01 PM - Forum: Data Science - Replies (1)

I have a large (Nx4, >10GB) array that I need to sort based on col.2.

I am reading my data in chunks and sorting using Pandas. But I am unable to c..... More

Print this item